Max number of open file descriptors is too low

Jani Hakala <>
Tue Sep 27 17:56:31 CEST 2005


Joel Reymont <> writes:

> This won't work on Unix. Assuming that MAX_FILES() will return
> ERL_MAX_PORTS, it will be reset back to FD_SETSIZE. 
>
Only if USE_SELECT is defined i.e. poll() is not used?

> I had this problem on the Mac and had to edit header files.
>
If I remember correctly poll() is somehow broken on MacOS(?) so you
faced the limitation related to select().

Jani Hakala



More information about the erlang-questions mailing list