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

Joel Reymont <>
Mon Aug 25 19:56:25 CEST 2008


Rickard,

Where is this in the code?

I'm willing to bet that the fallback consists of using the _nkp (non- 
kernel poll) version of the polling function and that version will be  
compiled w/o ERTS_POLL_USE_KERNEL_POLL by definition.

Is that not so?

On Aug 25, 2008, at 6:51 PM, Rickard Green S wrote:

> Well, you are wrong. Current implementation will fallback on  
> select() at runtime if kqueue cannot handle the filedescriptor.
>
> The current behavior is a necessity not a bug. Introducing your  
> suggested change will introduce a serious bug.

--
wagerlabs.com








More information about the erlang-questions mailing list