I have a problem that makes me crazy and need your help. The setup is following: - processor 4 cores + HT (so linux says 8 cpus) - centos - glassfish 3 (newest version) - on glassfish only one application is running, http-listener1 which listens on port 8080 (admin listener is on, https off) - there is a connection pool
Everything works as it should for days, and then suddenly stops: - load goes to 400 - cpu usage of the java process goes to 800 - gf stops serving pages, or it serves extremely slow: - admin listener (port 4848) is running ok - I start profiler , everything seems to be working fine, but I can't find what's wrong
I don't have any more ideas where to look and how to solve the problem. It seems that issue appears when huge amount of users visit the site, but the problem is that gf never recovers even without any user.
Any ideas?
EDIT pasted JVM settings from comment:
JVM settings:
<jvm-options>-Xms10240m</jvm-options>
<jvm-options>-Xmx10240m</jvm-options>
<jvm-options>-XX:CMSIncrementalDutyCycle=10</jvm-options>
<jvm-options>-XX:CMSIncrementalDutyCycleMin=10</jvm-options>
<jvm-options>-XX:+CMSIncrementalMode</jvm-options>
<jvm-options>-XX:+CMSIncrementalPacing</jvm-options>
<jvm-options>-XX:+UseConcMarkSweepGC</jvm-options>
<jvm-options>-XX:MaxPermSize=512m</jvm-options>
<jvm-options>-XX:NewRatio=2</jvm-options>
<jvm-options>-XX:PermSize=512m</jvm-options>