[erlang-questions] clipping of max# of file descriptors by ertswhen kernel poll is enabled

Matthew Dempsky matthew@REDACTED
Mon Aug 25 20:24:59 CEST 2008


On Mon, Aug 25, 2008 at 11:12 AM, Joel Reymont <joelr1@REDACTED> wrote:
> I took a closer look at erts_poll.c. The current code does indeed use select
> as a fallback, but it should not clip descriptors if fallback is not used.

What should it do with file descriptors >=1024 later when it does
fallback to select(2)?

> You can only have 1024 descriptors with R12B3 on Mac OSX right now since
> FD_SETSIZE is 1024.

Fortunately, Linux and BSD support poll(2), and no one uses OS X in
server environments.



More information about the erlang-questions mailing list