[erlang-patches] [erlang-bugs] Lift limitation to FD_SETSIZE file descriptors on Mac OS X in erl_poll
Pedram Nimreezi
mc@REDACTED
Sun May 12 19:29:05 CEST 2013
Yay now erlang respects ulimit's on crapples...
Nicely done!
On Sun, May 12, 2013 at 11:36 AM, Anthony Ramine <n.oxyde@REDACTED> wrote:
> Hello,
>
> I've written a patch that makes erl_poll uses _DARWIN_UNLIMITED_SELECT on
> Mac OS X. This constant makes select() work with more than FD_SETSIZE file
> descriptors, all that is needed is to manually manage the fd_set values.
>
> I've run port_SUITE.iter_max_ports test case and got a maximum of 2422
> ports instead of 502 before.
>
> Cc'ing Joel Reymont and Max Lapshin because I know they both encountered
> that problem.
>
> git fetch https://github.com/nox/otp.git darwin-unlimited-select
>
>
> https://github.com/nox/otp/compare/erlang:maint...darwin-unlimited-select
>
> https://github.com/nox/otp/compare/erlang:maint...darwin-unlimited-select.patch
>
> Regards,
>
> --
> Anthony Ramine
>
> _______________________________________________
> erlang-bugs mailing list
> erlang-bugs@REDACTED
> http://erlang.org/mailman/listinfo/erlang-bugs
>
--
/* Sincerely
--------------------------------------------------------------
Pedram Nimreezi - Chief Technology Officer */
// The hardest part of design … is keeping features out. - Donald Norman
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://erlang.org/pipermail/erlang-patches/attachments/20130512/eb17ef0d/attachment.htm>
More information about the erlang-patches
mailing list