ejabberd - Comments for "tsung &amp;amp; error_* descriptions" https://www.ejabberd.im/node/2808 en I suppose it helps... https://www.ejabberd.im/node/2808#comment-51711 <p>To make sure the ulimit on the user running the benchmark under erlang is also set high enough to process the run.<br /> At this point I have tsung running well enough to get a vague benchmark however I'm not able to reliably gauge the max number of concurrent sessions (with activity) vs connection per second using TLS e.g 1000 concurrent users at 58cps is fine (barely any load) however higher then that and ejabberd (appears) to have a serious memory leak before needing to be manually killed.<br /> I've tried jabsimul but without TLS support it's not providing the info I need to gauge the load (especially if there's something in ejabberd that bleeds under a high cps w/ tls).</p> Wed, 30 Jan 2008 15:22:37 +0000 tlaramie comment 51711 at https://www.ejabberd.im Try without = https://www.ejabberd.im/node/2808#comment-51685 <p>I didn't use Tsung, but I ran some tests using Jabsimul.</p> <div class="quote-msg"> <div class="quote-author"><em>tlaramie</em> wrote:</div> <p>Portion of ejabberd startup script</p> <blockquote><p> start)<br /> su $USER -c "$ERL +K true \<br /> -smp \<br /> -pa /opt/ejabberd/var/lib/ejabberd/ebin \<br /> -env ERL_MAX_PORTS=50000 \<br /> -env ERL_MAX_ETS_TABLES 40000 +P 100000 \<br /> -name ejabberd@`hostname` \<br /> -s ejabberd \<br /> -detached \<br /> ..... </p></blockquote> </div> <p>This looks a little strange: -env ERL_MAX_PORTS=50000<br /> I thought the correct way is: -env ERL_MAX_PORTS 50000</p> <p>BTW, the start script in ejabberd's SVN says:</p> <pre>ERL_MAX_PORTS=32000 export ERL_MAX_PORTS erl ...</pre><p>And the Erlang runtime system will read the environment variable.</p> Sat, 26 Jan 2008 01:21:47 +0000 mfoss comment 51685 at https://www.ejabberd.im