Max number of open file descriptors is too low

Bengt Kleberg bengt.kleberg@REDACTED
Tue Sep 27 16:06:17 CEST 2005


On 2005-09-27 15:46, Joel Reymont wrote:
> Folks,
> 
> Erlang hardcodes the maximum number of open file descriptors and I  
> think the default number is too low. At least on Windows it is.

...deleted
> 
> Would the Erlang/OTP consider upping the number of descriptors on  
> Windows to something like 1024*8 or 1024*10?

greetings,

have you tried this:

(http://www.erlang.se/doc/doc-5.4.8/doc/efficiency_guide/part_frame.html)

Open files, and sockets
     The maximum number of simultaneously open files and sockets depend 
on the maximum number of Erlang ports available, and operating system 
specific settings and limits.

Open ports
     The maximum number of simultaneously open Erlang ports is by 
default 1024. This limit can be raised up to at most 268435456 at 
startup (see environment variable ERL_MAX_PORTS in erlang(3)) The 
maximum limit of 268435456 open ports will at least on a 32-bit 
architecture be impossible to reach due to memory shortage.


bengt




More information about the erlang-questions mailing list