boorad home

Erlang KPoll on the Mac

9 Jul 2009 – Atlanta

Joel Reymont writes in Facebook status:

Using Erlang on Mac OSX with kernel poll enabled (+K true)?
Can't go past 1024 fds?
OTP won't fix, so edit FD_SETSIZE in /usr/include/sys/select.h

More precisely,
change __DARWIN_FD_SETSIZE in /usr/include/sys/_structs.h
and recompile Erlang with --enable-kernel-poll among other things.

Just wanted to save this somewhere, and try out the quote blocks too :)

blog comments powered by Disqus
Fork me on GitHub