[jboss-user] [Performance Tuning] - Re: JBoss 5.1 - CPU high, App stops responding

Wolf-Dieter Fink do-not-reply at jboss.com
Thu Feb 24 23:09:23 EST 2011


Wolf-Dieter Fink [http://community.jboss.org/people/wdfink] created the discussion

"Re: JBoss 5.1 - CPU high, App stops responding"

To view the discussion, visit: http://community.jboss.org/message/589648#589648

--------------------------------------------------------------
It might be also possible that the GarbageCollector run into trouble (this happen to our app, also no gracefull JBoss shutdown possible).
Do you activate the GC logging for JBoss?
Add something like this to run.conf Java parameter:
'-verbose:gc -Xloggc:${LOGDIR}/gc_`date +%Y%m%d%H%M%S`.log -XX:+PrintGCDetails -XX:+PrintTenuringDistri
bution -XX:+PrintGCApplicationConcurrentTime -XX:+PrintGCApplicationStoppedTime -XX:+PrintGCTimeStamps'
here you will see that 'Application time' is only a few millis and 'Time where application stopped' are seconds ....  :( 

for additional info look to  http://java.sun.com/javase/technologies/hotspot/gc/gc_tuning_6.html http://java.sun.com/javase/technologies/hotspot/gc/gc_tuning_6.html

if not active you might use 'jstat -gc PID 1000 1000' and check whether gc is called very often.
For infos about jstat lokk here  http://java.sun.com/j2se/1.5.0/docs/tooldocs/share/jstat.html http://java.sun.com/j2se/1.5.0/docs/tooldocs/share/jstat.html

hope it helps
--------------------------------------------------------------

Reply to this message by going to Community
[http://community.jboss.org/message/589648#589648]

Start a new discussion in Performance Tuning at Community
[http://community.jboss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2078]

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/jboss-user/attachments/20110224/67fb3169/attachment.html 


More information about the jboss-user mailing list