users@glassfish.java.net

Re: 100% CPU usage

From: Satyajit Tripathi <Satyajit.Tripathi_at_Sun.COM>
Date: Tue, 07 Sep 2010 13:50:17 +0530

Hi Garcia,

The issue needs controlled investigation and detailed analysis. However,
here is just a suggestion if you are on Solaris 10 platform.

You may use DTrace toolkit (customizable) to debug and locate the cause
of the problem. If you need quick and simplified reference to DTrace,
please see
http://blogs.sun.com/stripathi/resource/Preso/SolarisDTrace_Simplified.pdf.
Specific DTrace probes are available for Hotspot JVM.

Please check the JVM options and other tuning schemes to influence the
current behavior of GC.

Thanks & regards
--Satya


On 09/07/10 13:44, glassfish_at_javadesktop.org wrote:
> Hello.
>
> I'm having some problems with my Glassfish 3.0.1 Final installation. I've deployed a single WAR application with a few libraries. Application works fine, but after a few hours or days, Glassfish eats 100% CPU.
>
> I've checked with VisualVM with Glassfish extensions to check the cause, and the most I can figure out is that GC is firing every second, and it's strangely enough because there is free memory.
>
> I know it isn't too much info, but maybe someone can point out something to try to rule out the cause, because all is working fine until something makes the GC go crazy, even when is no usage of the application.
>
> Thanks a lot in advance!
> [Message sent by forum member 'egarcia_sms']
>
> http://forums.java.net/jive/thread.jspa?messageID=482013
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe_at_glassfish.dev.java.net
> For additional commands, e-mail: users-help_at_glassfish.dev.java.net
>
>


-- 
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
SATYAJIT TRIPATHI
ISV Engineering APAC
Sun Microsystems India Private Limited
Bangalore 560025
DID : +91 80 66937865
Mobile: +91 9886019892
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~