tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Christopher Schultz <ch...@christopherschultz.net>
Subject Re: Tomcat 100% CPU usage after moving from Java 5 to 6
Date Mon, 01 Feb 2010 17:59:55 GMT
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Jesse,

On 2/1/2010 5:22 AM, Jesse Klaasse wrote:
> 
> In the meantime, the environment has been much more stable than it was before
> the move to Java 6 and the new JVM options. However, a few minutes ago,
> Tomcat became completely unresponsive, while the CPU usage was very low
> (~3%). This was on our external server, with these options:
> 
> -Djavax.sql.DataSource.Factory=org.apache.commons.dbcp.BasicDataSourceFactory
> -Dcom.sun.management.jmxremote -XX:MaxPermSize=512m
> -Xloggc:D:\logs\gc\tomcat-gc.log -XX:+PrintGCDetails -XX:+UseConcMarkSweepGC
> -XX:+CMSClassUnloadingEnabled -XX:+DisableExplicitGC -XX:NewSize=3072m
> -XX:+UseCompressedOops -Xms7168m -Xmx7168m
> 
> The gc log is showing a lot of activity during the unresponsiveness (the gc
> log is attached to this message). Do you guys see any clues? Thanks in
> advance!

Can you give us a timestamp for when the trouble started? Reading GC
output is pretty tedious.

Also, what happens if you remove all your *GC* options (other than
logging) from your JAVA_OPTS?

Is this reproducible?

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

iEYEARECAAYFAktnFpsACgkQ9CaO5/Lv0PCLVgCdHzgBFn2cWkBhYpRgIbHHX1jV
GqsAnjYuakiGzdELRgMEmzNGxKu8fIR+
=sPnf
-----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