Max number of open file descriptors is too low

Jani Hakala jahakala@REDACTED
Tue Sep 27 17:56:31 CEST 2005


Joel Reymont <joelr1@REDACTED> 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