ejabberd_listener:247) : (#Port<0.3947>) Failed TCP accept: enfile

 

=INFO REPORT==== 2010-12-22 14:41:35 ===

I(<0.504.0>:ejabberd_listener:247) : (#Port<0.3947>) Failed TCP accept: enfile

 

=INFO REPORT==== 2010-12-22 14:41:35 ===

I(<0.504.0>:ejabberd_listener:247) : (#Port<0.3947>) Failed TCP accept: enfile


在/etc/ejabberd/ejabberdctl.cfg 修改ERL_MAX_PORTS 即可

 

 

 

#.

#' ERL_MAX_PORTS: Maximum number of simultaneously open Erlang ports

#

# ejabberd consumes two or three ports for every connection, either

# from a client or from another Jabber server. So take this into

# account when setting this limit.

#

# Default: 32000

# Maximum: 268435456

#

ERL_MAX_PORTS=320000


你可能感兴趣的:(erlang)