How to tune settings for best availability

Hello everyone.

We’ve been using Openfire 4.0.0 for a long time, and suffering from some issues. (some users cannot login, or enter rooms unless we reboot the server once or twice, etc.)

I’ve installed Openfire 4.2.3 as a replacement and created exact same environment. (LDAP connection with AD, Users, Groups, Group Chats, Permissions etc.) I want to setup this new server with best practices. Like cache size settings, plugins, etc. Is there a guide for this purpose?

And is there any troubleshooting guide for us to diagnose what’s the issue with users cannot enter rooms etc.?

-We’ve got around 300 active sessions during the most active hours,
-Right now our clients are using Spark version 2.7.5.757 mostly, some 2.6.3 are present as well, 2.8.3 does not work well with Openfire 4.0.0 for some reason…
-We intend to use latest available Openfire 4.2.3 with most up-to-date Spark clients (2.8.3) to make sure we have the latest for all.
-We’re open to any recommendations for not having these kind of issues.

Thanks in advance.

These are open source projects of a very small community, so documentation is scarce. There is no docs on best cache settings. Usually defaults should do and then you can experiment with values maybe. Though i would first give JVM more RAM via vmoptions file.

This is strange that you had problems with Openfire 4.0.0 and Spark 2.8.3. There wasn’t any major change which could cause problems i think. But as you plan to go to latest versions anyway, no need to fixate on that. Just you should know that 2.8 branch has broken file transfer. If you rely on it, you should stay with 2.7.7.