anyone can help me ? I have server openfire with 1500 active connection. My server have 64 GB memory. But after serveral days, all my user cannot login into openfire. If the user logout, then they cannot login anymore. And I must restart openfire server, so all my member can login into openfire again. How to solve this problem ?
Logs are in the installation directory (/openfire/logs/all.log). Having such amount of RAM it might be useful to switch to 64-bit version, though it is not yet officially available and i can’t seem to find a link to 4.1.5 version of deb. You can also give Java more memory by tuning custom parameters as described here http://download.igniterealtime.org/openfire/docs/latest/documentation/install-guide.html
I can’t find exact limit now, but i think it is around 1-2 GB for Xmx. So, try xms 512 and xmx 1024 first. Then try increasing both sizes a little bit (or just xmx) and see when your server stops working, then go back to working size. With so much RAM you should be using x64 version, but i can’t find even unofficial x64 build for Debian/Ubuntu.
I’m not sure if Openfire doesn’t have to be built with x64 JDK to work with x64 JRE. But you can try set it to something like 5 GB Xmx and see if that works.
I don’t think there are much difference if you have 100 users. When you want to have millions of users then various platform aspects can be important. I don’t know such low level stuff, but say open files limits, etc. There is probably not much difference between linux distros as they all use kernel and same system libs.