[ejabberd] Really bad performance with ejabberd cluster

Greg greg at easyflirt.com
Fri Oct 19 11:04:49 MSD 2007


I'm running a cluster of 2 ejabberd nodes, and reach a maximum of only 
4500 connected users.

node1 : Dell PE1850 bi xeon dual core @ 3.40GHz, with 4Go RAM.
node2 : Dell SC1425 bi xeon dual core @ 3.00GHz, with 3.6Go RAM.

OS: Debian Etch 4.0, ejabberd 1.1.3 patched with flash hack, TLS 
disabled, mysql native driver.
Command line to start ejabberd :

/usr/bin/erl -mnesia extra_db_nodes "['ejabberd at node2']" -pa 
/var/lib/ejabberd/ebin -s ejabberd -sname ejabberd -ejabberd config 
\"/etc/ejabberd/ejabberd.cfg\" log_path \"/dev/null\" -kernel inetrc 
\"/etc/ejabberd/inetrc\" -env ERL_MAX_PORTS 64000 +K true +P 256000 -smp 
+A 256

node1 reach 3500 connected users max.
node2 reach 2000 connected users max.
node1 have only connected users, no messages or really a few.
With 4500 users, both nodes use 250% CPU (of 400).

What's the hell ??!!!
I need to be able to reach at least 20000 users, benchmarks says that 
with only 1 node i will be able to connect 50000 users !


More information about the ejabberd mailing list