I am being restricted to bring more than roughly 64000 (64,464 precisely) users online on an Ejabberd node. I am using xml script (Tsung) to bring the users online on the node.
I have raised the limit of descriptors already:
Eshell V5.10.4 (abort with ^G)
1> os:cmd("ulimit -n").
"1045000\n"
One weird observation is this (expect available port count as integer value here):
2> os:getenv("ERL_MAX_PORTS").
false
Besides, the "ERL_MAX_PORTS" in the ejabberdctl.cfg file is set to 704500.
ERL_MAX_PORTS=704500
I guess One Ejabberd node has some limit for maximum users to be online. This could be memory dependent on the machine or something.
Additonally, this is how the /etc/security/limits.conf looks:
#* soft core 0
#* hard rss 10000
#@student hard nproc 20
#@faculty soft nproc 20
#@faculty hard nproc 50
#ftp hard nproc 0
#@student - maxlogins 4
root soft nofile 1045000
root hard nofile 1045000
I can give a try by creating another Virtual host runing on the same Linux machine as:
hosts:
- "devlab"
- "devlab2"
But i am not sure how this would be any different.
Pointers would be appreciated.
Thanks!