tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Christopher Schultz <ch...@christopherschultz.net>
Subject Re: 100% CPU Usage when stopping Tomcat after OOM condition
Date Thu, 05 May 2011 13:28:25 GMT
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Felix,

On 5/4/2011 1:07 AM, Felix Schumacher wrote:
> It could've been the garbage collector itself. Just yesterday I had 
> an oom on permgen, which lead to a major-gc loop. I could see the
> loop nicely as I had enabled logging of gc activity with
> -Xloggc:$CATALINA_BASE/logs/gc.log -XX:+PrintGCDetails 
> -XX:PrintGCTimeStamps

I don't recall any of the GC threads actually going anything in my
thread dump, but it's possible I just missed it. This situation is
trivially reproducable, so I'll check again next time it happens.

If the GC is going into a tight loop to try to free-up space, that seems
like a bug to me... the GC ought to detect that it's not accomplishing
anything and ... well, I guess throw another OOME.

- -chris
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.10 (MingW32)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iEYEARECAAYFAk3CpfkACgkQ9CaO5/Lv0PCKpQCeJOibvjER/FbeLvIVVEzcCTMj
EWIAni0egoiA4Q8CxZKzQ3DL0ePo2O5K
=Q5AF
-----END PGP SIGNATURE-----

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org


Mime
View raw message