I have problem on my instance that Java uses more than 100% CPU. Also, by writing "top" command, i saw 1400%-2200%. You can see that from picture. Also i added "top -H" command output.
I changed my instance type and increase CPU 8x times but never changed. I removed plugins but nothing changed. I set xmpp.pep.enabled false but nothing changed.
The Java only used by Openfire server and i tried many things. Also the configuration is below. When i restarted the instance or openfire server, it works fine. But after 5 min. it downs again.
Also there are only 1000 users in online session. There are 32 CPU and 60 GB Memory.
How can i decrease CPU usage? Thank you.
OPENFIRE_OPTS="-Xms256m -Xmx56096m -Xss256k -Xoss256k -XX:ThreadStackSize=256"
INSTALL4J_ADD_VM_PARAMS="-Djava.net.preferIPv4Stack=true -Xms256m -Xmx56096m -Xss256k -Xoss256k -XX:ThreadStackSize=256"
DAEMON_OPTS="-Xms256m -Xmx56096m -Xss256k -Xoss256k -XX:ThreadStackSize=256"