Tue Dec 4 16:43:01 CET 2001
Under most Unices this is also limited by SC_OPEN_MAX|NOFILE or
BSDI also restricts it to FD_SETSIZE.
Under Win32 there is a strange restriction (hardcoded) to 1024.
(WinNT/2K/XP is actually only restricted by available memory for fds).
Hack you sys.c to fix it.
> On Mon, 3 Dec 2001, Rick Pettit wrote:
> >I wonder if the entire node appears to the host OS as a single
> >process (perhaps one with many threads), in which case I would
> >expect this problem with most any concurrent server.
> This is correct. The Erlang runtime system appears to the host OS
> as a single process.
> If you're using the default limit on file descriptors (e.g. 64),
> that's usually not sufficient for most erlang applications.
> Try 'limit descriptors nnnn', or even 'unlimit descriptors'
> (assuming you're running on a sensible OS.)
> Ulf Wiger, Senior Specialist,
> / / / Architecture & Design of Carrier-Class Software
> / / / Strategic Product & System Management
> / / / Ericsson Telecom AB, ATM Multiservice Networks
Synapse Systems AB
Phone: +46 709 686 685
More information about the erlang-questions