Oops, forgot to put erlang version: R13B02<br><br clear="all">-- <br>Mark<br>"Blessed is he who finds happiness in his own foolishness, for he will always be happy."<br>
<br><br><div class="gmail_quote">On Mon, Jan 11, 2010 at 11:56 AM, Mark Keisler <span dir="ltr"><<a href="mailto:mark@mitsein.net">mark@mitsein.net</a>></span> wrote:<br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
I'm running ejabberd 2.1.1 with erlang <br>At first, I could only get very few concurrent users connected. Now I have set ERL_MAX_PORTS=8192 and max open file ulimit to 16384 for my jabber user that runs ejabberd. I can only get 983 users connectedm then it starts throwing:<br>
I(<0.463.0>:ejabberd_listener:241) : (#Port<0.7155>) Failed TCP accept: emfile<br><br>I am using test users with internal authentication. Using lsof, I only see 1127 filehandles opened by the jabber user at the peak. Why am I getting emfile errors?<br>
<font color="#888888">
<br><br clear="all">-- <br>Mark<br>"Blessed is he who finds happiness in his own foolishness, for he will always be happy."<br>
</font></blockquote></div><br>