[erlang-questions] clipping of max# of file descriptors by erts when kernel poll is enabled
Sat Aug 23 02:19:24 CEST 2008
On Fri, Aug 22, 2008 at 5:14 PM, Matthew Dempsky <matthew@REDACTED> wrote:
> Erlang doesn't use poll(2) on OS X, because it's broken for devices
> (e.g., it never reports readability on /dev/null; see erts/configure's
> test for "checking for working poll()").
To be more explicit, because poll(2) is broken, Erlang supports
select(2) for fallback if kernel poll is disabled at run-time, so it
can't support more than FD_SETSIZE files.
More information about the erlang-questions