Quantcast
Channel: Ignite Realtime: Message List
Viewing all articles
Browse latest Browse all 11413

Re: How many connections can Openfire handle?

$
0
0

we tuning the limits.comf as this

 

*     - nofile   819200

*    -  nproc  409600

 

 

65535 is too less, it only can support 20k user.

change the openfire.sh as this

openfire_exec_command="exec $JAVACMD -server $OPENFIRE_OPTS -Xmx30000M -Djava.nio.channels.spi.SelectorProvider=sun.nio.ch.EPollSelectorProvider  -classpath \"$LOCALCLASSPATH\" -jar \"$OPENFIRE_LIB/startup.jar\""

 

Xmx as your memory, and use sun nio selector.

 

Most important the tsung client must be tunning.

change the sysctl.conf

net.ipv4.ip_local_port_range = 1024 65535

 

close the selinux and iptables

setenforce 0

service iptables stop

 

change the /etc/security/limits.conf

*     -           nofile          409600

*    -            nproc          102400

 

Also the network is important.If you use the Internet, you can consider the route and firewall problem.The homeuse route can only support 5000 user max.

We test the result from LAN.


Viewing all articles
Browse latest Browse all 11413

Trending Articles