I has website with chat, it uses http-poll. Two ejabberd joined into cluster. I got trouble: cluster can't server more than ~600 users -- when this limit is reached, every ejabberd allocates more than 3.5 Gb RAM and load average reaches 4.
Now ejabberd starts with this options:
-env ERL_MAX_PORTS=5000 -env ERL_MAX_ETS_TABLES=200000 +P 2500000 -shared +K true -mnesia auto_repair true
Can I tune something else?
Every ejabberd runs in OpenVZ VE. Can it be cause my trouble?