emfile error

Ulf Wiger <>
Tue Dec 4 10:38:11 CET 2001

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

More information about the erlang-questions mailing list