Navigation

 

Archives

May 2008
S M T W T F S
« Apr   Jul »
 123
45678910
11121314151617
18192021222324
25262728293031

Recent Comments

Local Weather

Related Posts

Stats

Meta

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          64000
root             hard    nofile          64000
daemon           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: , , , , , , , , ,

Spread the word: These icons link to social bookmarking sites where readers can share and discover new web pages.
  • Digg
  • del.icio.us
  • NewsVine
  • Technorati
  • StumbleUpon
  • YahooMyWeb
  • Reddit

Comments

Comment from tk999
Time: July 28, 2008, 4:35 pm

Question, what is the maximum connections do you have after the patch?

I want to get some estimated number to figure out how many openfire server do I need.

Thanks

Comment from zach
Time: July 29, 2008, 6:37 am

I am unsure of the maximum number of connections as we haven’t run into a problem since… However, theoretically its about 64,000.

This limit is on the OS side though…There may be some limit on the openfire side.

Good luck!

Zach

Write a comment





Subscribe without commenting.