Openfire 3.10.0 with high cpu memory usage

Hi, I found that Openfire will have high cpu memory usage after running several days. I have to restart service to fix it.

I set option to 8g mem via OPENFIRE_OPTS="-Xmx8192m" and JAVA_HOME=/usr/java/jdk1.8.0_45 now, hope it will be useful.

If 8g mem works, Is there any way to use multi process for java?

My users number up to 650.

OPENFIRE_OPTS="-Xmx3072m"

Here is top info:

PID USER PR NI VIRT RES SHR S %CPU %MEM TIME+ COMMAND

8090 daemon 20 0 3808m 1.7g 15m S 909.3 1.8 10447:11 java

warn.log:

2015.05.21 13:37:15 index.jsp - Failed to fetch RSS feed: javax.net.ssl.SSLHandshakeException: java.security.cert.CertificateException: root certificate not trusted of [vanity2.jiveon.com]

2015.05.21 13:37:16 index.jsp - Failed to fetch RSS feed: javax.net.ssl.SSLHandshakeException: java.security.cert.CertificateException: root certificate not trusted of [vanity2.jiveon.com]

2015.05.21 13:37:36 org.eclipse.jetty.servlet.ServletHandler - Error for /plugins/asterisk-im/phone-settings.jsp

java.lang.OutOfMemoryError: PermGen space

2015.05.21 13:37:52 org.eclipse.jetty.servlet.ServletHandler - Error for /plugin-admin.jsp

java.lang.OutOfMemoryError: PermGen space

2015.05.21 13:37:52 org.eclipse.jetty.servlet.ServletHandler - Error for /plugin-admin.jsp

java.lang.OutOfMemoryError: PermGen space

2015.05.21 13:37:53 index.jsp - Failed to fetch RSS feed: javax.net.ssl.SSLHandshakeException: java.security.cert.CertificateException: root certificate not trusted of [vanity2.jiveon.com]

2015.05.21 13:37:53 index.jsp - Failed to fetch RSS feed: javax.net.ssl.SSLHandshakeException: java.security.cert.CertificateException: root certificate not trusted of [vanity2.jiveon.com]

Openfire is very nice for eim. We used for years since 3.6.4, Thanks for all developers’ hard work!

Same issue… i have upgraded to 3.10 on windows and i have tried setting memory + ipv4 options for the VM but i am not sure they are being considered by OF

There is a massive thread about it (no solution so far) 100% CPU Usage