[erlang-questions] fd is larger than the largest allowed fd=1023

Joel Reymont joelr1@REDACTED
Tue Dec 13 12:26:28 CET 2011


Yes, do switch, you'll get higher performance overall.

Alternatively, look up a long related thread a few weeks ago and hack around the limit:

1) Save old epmd.

2) Modify __DARWIN_FD_SETSIZE in /usr/include/sys/_structs.h and make it, say, 16384.

3) Recompile Erlang.

4) Restore old epmd since it can't handle more than 1024 fds.


---
Hardcore embedded Linux development
http://www.linkedin.com/in/joelreymont
Debugging, firmware and device drivers




On Tuesday, December 13, 2011 at 11:22 AM, Max Lapshin wrote:

> It is Mac OS X 10.6 Snow Leopard.
> 
> Should I just switch to Linux?
> _______________________________________________
> erlang-questions mailing list
> erlang-questions@REDACTED (mailto:erlang-questions@REDACTED)
> http://erlang.org/mailman/listinfo/erlang-questions






More information about the erlang-questions mailing list