[erlang-questions] About Environment variable ERL_MAX_PORTS

Bengt Kleberg <>
Thu May 19 08:50:37 CEST 2011


If I may assume that you mean network connections the manual
(http://erlang.org/doc/efficiency_guide/advanced.html#id67006) says:

"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."

So you need at least 500k ports and that the OS allows you to use 500k
for sockets.


On Thu, 2011-05-19 at 07:07 +0200, yaohui wrote:
> It meas the maximum number of simultaneously open Erlang ports , but
> what's Erlang ports?
> If i want a 500k concurrent connections,  this variable has to be set
> to 500k?

More information about the erlang-questions mailing list