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

Max Lapshin max.lapshin@REDACTED
Wed Dec 14 17:18:30 CET 2011


On Tue, Dec 13, 2011 at 2:26 PM, Joel Reymont <joelr1@REDACTED> wrote:
> 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.

What for to restore old epmd, it it will not open more than 1024 fds?
It is erlang node, that opens many descriptors.



More information about the erlang-questions mailing list