<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=Content-Type content="text/html; charset=iso-8859-1">
<META content="MSHTML 6.00.6001.18183" name=GENERATOR></HEAD>
<BODY>
<DIV><FONT face=Arial size=2>hello,</FONT></DIV>
<DIV> </DIV>
<DIV><FONT face=Arial size=2>we are loadtesting ejabberd with an external python
script,<BR>ulimit -n is set to 128000 and erlang config looks like
this:</FONT></DIV>
<DIV> </DIV>
<DIV><FONT face=Arial size=2># define default
configuration<BR>POLL=false<BR>SMP=auto<BR>ERL_MAX_PORTS=128000<BR>ERL_PROCESSES=1000000<BR>PROCESSES=1000000<BR>ERL_MAX_ETS_TABLES=6000</FONT></DIV>
<DIV> </DIV>
<DIV><FONT face=Arial><FONT size=2>making users connect from the website and
"attaching" theis<BR>sessions (using bosh) generally means a bit more logins
as<BR>usual, but ejabberd crashes on us with approximately 4000 users<BR>with
th<SPAN class=916514514-28042009>e attached</SPAN> error<SPAN
class=916514514-28042009>.</SPAN></FONT></FONT></DIV>
<DIV><FONT face=Arial><FONT size=2><SPAN
class=916514514-28042009></SPAN></FONT></FONT> </DIV>
<DIV><FONT face=Arial><FONT size=2><SPAN class=916514514-28042009>the
python-script itself is as basic as it gets, it basically
returns</SPAN></FONT></FONT></DIV>
<DIV><FONT face=Arial><FONT size=2><SPAN class=916514514-28042009>"true" all the
time.</SPAN></FONT></FONT></DIV>
<DIV><FONT face=Arial><FONT size=2><SPAN
class=916514514-28042009></SPAN></FONT></FONT> </DIV>
<DIV><FONT face=Arial><FONT size=2><SPAN class=916514514-28042009>is this a
problem of my script? of ejabberd? of python? of the
OS?</SPAN></FONT></FONT></DIV>
<DIV><FONT face=Arial><FONT size=2><SPAN class=916514514-28042009>of
memory?</SPAN></FONT></FONT></DIV>
<DIV><FONT face=Arial><FONT size=2><SPAN
class=916514514-28042009></SPAN></FONT></FONT> </DIV>
<DIV><FONT face=Arial><FONT size=2><SPAN class=916514514-28042009>help or hints
are greatly appreciated!</SPAN></FONT></FONT></DIV>
<DIV><FONT face=Arial><FONT size=2><SPAN
class=916514514-28042009></SPAN></FONT></FONT> </DIV>
<DIV><FONT face=Arial><FONT size=2><SPAN class=916514514-28042009>thanks in
advance,</SPAN></FONT></FONT></DIV>
<DIV><FONT face=Arial><FONT size=2><SPAN
class=916514514-28042009>stephan</SPAN></FONT></FONT></DIV>
<DIV><FONT face=Arial><FONT size=2><SPAN
class=916514514-28042009></SPAN></FONT></FONT> </DIV>
<DIV><FONT face=Arial><FONT size=2><SPAN
class=916514514-28042009>PS:</SPAN></FONT></FONT></DIV>
<DIV><FONT face=Arial size=2>=ERROR REPORT==== 2009-04-28 16:35:30 ===<BR>**
State machine <0.23581.72> terminating<BR>** Last event in was
{xmlstreamelement,<BR>
{xmlelement,"auth",<BR>
[{"xmlns","urn:ietf:params:xml:ns:xmpp-sasl"},<BR>
{"mechanism","PLAIN"}],<BR>
[{xmlcdata,<BR>
<<"MTA1ODQ1NEBqYXZhMS5nbncuZGUAMTA1ODQ1NABmb28=">>}]}}<BR>** When
State == wait_for_feature_request<BR>** Data
==
{state,<BR>
{socket_state,ejabberd_http_bind,<BR>
{http_bind,<0.23579.72>,{{191,43,230,84},38973}},<BR>
<0.23580.72>},<BR>
ejabberd_socket,#Ref<0.0.45.203711>,"229602760",<BR>
{sasl_state,"jabber","host.com",[],<BR>
#Fun<ejabberd_c2s.1.107979706>,<BR>
#Fun<ejabberd_c2s.2.69542819>,undefined,undefined},<BR>
c2s,c2s_shaper,false,false,false,false,[],false,<BR>
undefined,[],"host.com",[],undefined,<BR>
{0,nil},<BR>
{0,nil},<BR>
{0,nil},<BR>
{0,nil},<BR>
{dict,0,16,16,8,80,48,<BR>
{[],[],[],[],[],[],[],[],[],[],[],[],[],[],[],[]},<BR>
{{[],[],[],[],[],[],[],[],[],[],[],[],[],[],[],[]}}},<BR>
undefined,undefined,undefined,false,<BR>
{userlist,none,[]},<BR>
unknown,unknown,<BR>
{{191,43,230,84},38973},<BR>
[]}<BR>** Reason for termination =<BR>**
{badarg,[{extauth,call_port,2},<BR>
{ejabberd_auth_external,check_password,3},<BR>
{ejabberd_auth,'-check_password_with_authmodule/3-fun-0-',4},<BR>
{lists,dropwhile,2},<BR>
{ejabberd_auth,check_password_with_authmodule,3},<BR>
{cyrsasl_plain,mech_step,2},<BR>
{cyrsasl,server_step,2},<BR>
{ejabberd_c2s,wait_for_feature_request,2}]}</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV></BODY></HTML>