Openfire (Wildfire) Stops Accepting New Connections

There’s an issue with Openfire (formerly known as Wildfire –the open source Jabber-based IM server) and large amounts of users. The Openfire server stops accepting new connections when approximately 1000+ concurrent users are logged in. This issue seems to be caused by a maximum open file limit per process being hit. I figured out the following solution after a half day or so of researching and testing. This applies to Fedora Core 7 Linux,but should work with any Linux-based OS capable of running Openfire.

To permanently increase the maximum open file limits:

vi /etc/security/limits.conf

Append the following lines to the end of the file:

* hard  nofile   64000root   hard  nofile   64000daemon  hard  nofile   64000

A reboot is required for these changes to take effect. I’m not sure of the issues this may cause with the OS,but so far I haven’t run into any.

Use at your own risk!

Blogged with the Flock Browser

Tags:,,,,,,,,,

No related posts.

Leave a Reply