tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Ken Gibson" <>
Subject tuning garbage collection
Date Wed, 05 Jul 2006 12:58:14 GMT
Good morning.

I'm hoping someone has experience configuring Tomcat 4 and GC.  We
recently upgraded our version of Tomcat from 3 to 4, and are now
experiencing periodic outages. Our problem comes when a Full GC runs.
What we've seen that a Full GC is run more and more frequently to the
point of running every few seconds.

My site serves ~3000 JSPs per minute during peak on Solaris 8 using Java
1.4.0_04-b04 and Tomcat 4.1.31. The server.xml startup commands are

"-server -verbose:gc -XX:+PrintGCTimeStamps -XX:+PrintGCDetails -Xms200m

We tried "-Xincgc" which worked fine for awhile yesterday until all of a
sudden all free memory on the box was used up presumably while GC ran.
Research indicates that using -XX:+UseParallelGC might be an option
except that it isn't supported in 1.4.0. Is upgrading Java to 1.4.2 our
best solution?

Any suggestions would be greatly appreciated.



To start a new topic, e-mail:
To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message