powered by Jive Software

Openfire interface and spark clients running slow

Hello all, I’m experiencing an issue with the openfire interface and spark clients running very slow. This issue just popped up for me on 4.1.6. Now on 4.2.1 it’s still an issue. The interface is very sluggish, htop on the linux vm shows 100% cpu usage when navigating between pages, and then spark clients are slow and some can’t login with an “Unknown connection” error. Rebooting seems to temporarily fix the unknown connection issue but the slowness issue still remains. I was going to paste the logs but now just getting this when trying to get to the interface:

java.lang.OutOfMemoryError: GC overhead limit exceeded

i’ll have to wait til tonight to reboot the server.

Ubuntu 16 vm
openfire 4.1.6 and now 4.2.1
dns setup correctly
windows ca self signed cert
spark 2.8.3 clients

After a reboot to get the interface back up the java memory usage was around 87% utilized of 800MB. After a little research I adjusted the options at


I set:

DAEMON_OPTS="-Xms512m -Xmx2048m"

So java could have 2GB. After a service restart im at about 50% utlized of 1820MB and the interface is much more responsive.