Problem connecting to over 200 users

I’m having a lot of trouble when you have more than 150 users connected, the other usaurios not connect and the messages are too slow and often is connected to the User can not send more messages, I’m using the configuration:

Centos 5.6 64Bits

Memory 5 GB

java version “1.6.0_25”

Java™ SE Runtime Environment (build 1.6.0_25-b06)

Java HotSpot™ 64-Bit Server VM (build 20.0-b11, mixed mode)

Openfire 3.6.4-1

[root@apps ~]# cat /etc/sysconfig/openfire

Set this to the path where openfire lives.

If this is not set the script will look for /usr/local/openfire, then



If there is a different user you would like to run openfire as,

change the following line.


If you wish to change the location of the openfire pid file,

change the following line.


If you wish to explictly specific the location of the log directory,

you can set it here. Note that this applies to the logs generated outside

openfire itself. If you want to change the location of openfire’s own

logs, see the system property ‘’. If this is not set,

it will default to $OPENFIRE_HOME/logs.


If you wish to set any specific options to pass to the JVM, you can

set them with the following variable.

OPENFIRE_OPTS="-Xms512m -Xmx3072m -XX:MaxPermSize=256m"

INSTALL4J_ADD_VM_PARAMS=" -Xms512m -Xmx3072m -XX:MaxPermSize=256m"

If you wish to override the auto-detected JAVA_HOME variable, uncomment

and change the following line.


Anyone have any suggestions to improve the amount of connections and also the performance of openfire ?