Max number of open file descriptors is too low
Wed Sep 28 15:03:13 CEST 2005
Joel Reymont <> writes:
> I do see this code for Windows so ERL_MAX_PORTS would work there. I'm
> on Mac OSX, though, and I do not want to run Windows :-(
That is correct. ERL_MAX_PORTS does work on Windows.
> The whole thing is sad although I do understand the issues. I noticed
> that my server starts misbehaving at about 2,200 connections. No more
> connections are accepted roughly at that point. Could have something
> to do with select() and the number of open sockets.
Sad, but not surprising. APIs and operating system were designed when
64 file descriptors would be enough for any application and 256 file descriptors
were considered much more than anyone would need.
Björn Gustavsson, Erlang/OTP, Ericsson AB
More information about the erlang-questions