Re: [erlang-bugs] Lift limitation to FD_SETSIZE file descriptors on Mac OS X in erl_poll
Pedram Nimreezi <[email protected]>
| Newsgroups | gmane.comp.lang.erlang.patches,gmane.comp.lang.erlang.bugs |
|---|---|
| Message-ID | <CAAaFgHsT3mXx9kQiR6xXt9HWLrckYsjqx2WvLT-z9NusSeMQVg@mail.gmail.com> |
Yay now erlang respects ulimit's on crapples... Nicely done! On Sun, May 12, 2013 at 11:36 AM, Anthony Ramine <[email protected]> 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 > [email protected] > http://erlang.org/mailman/listinfo/erlang-bugs > -- /* Sincerely -------------------------------------------------------------- Pedram Nimreezi - Chief Technology Officer */ // The hardest part of design … is keeping features out. - Donald Norman _______________________________________________ erlang-patches mailing list [email protected] http://erlang.org/mailman/listinfo/erlang-patches