Openfire Profile

Hi, today I did a pressure test. But the result dosen’t satisfy me

I google the profile of openfire, it say openfire can support 30,000 concurrent users. but in my test, when the count of users reach 2000, there are lots exceptions on the server.

So I hope I can get some help from you

Hey Nako,

Could you paste here the errors that you see in the log files? Otherwise we cannot figure out what is going on in your installation. BTW, the numbers I got in our load tests were about 250K concurrent connections in a single JVM when running in a 64 bit OS.


– Gato

hi all,

after serveral connections successful, i got lots of errors as below on Linux Server

5281978 [SocketAcceptor-0] WARN - Unexpected exception. Too many open files
at Method)
at org.apache.mina.transport.socket.nio.SocketAcceptor$Worker.processSessions(Sock
at org.apache.mina.transport.socket.nio.SocketAcceptor$ ava:225)
at java.util.concurrent.ThreadPoolExecutor$Worker.runTask( 885)
at java.util.concurrent.ThreadPoolExecutor$

“ Too many open files” means you reach the max limits of open files of your system.

You can alter this limits to 4096 or larger in /etc/security/limits.conf, add a line like:

    • nofile 4096

Check your hardware environment before doing the load testing. Below are the recommendations.

Hardware Recommendations

Concurrent Users


At least 384 MB of available RAM and one 1.5 GHz processor.
At least 768 MB of available RAM and one 3.0 GHz processor.
At least 1.5 GB of available RAM, two 3 GHz processors, and one connection manager on the same machine.
At least 2.0 GB of available RAM, two 3 GHz processors, and between 1 and 4 connection managers based on exact size, each on their own equivalent machine.