tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Ken Gibson" <ken.gib...@fxfn.com>
Subject RE: tuning garbage collection
Date Wed, 05 Jul 2006 13:24:25 GMT
Tomcat 5 and the latest JVM would be great; however, I can only make the
case for further upgrades when I've exhausted all the possibilities with
the versions we're on.

Thanks


Ken


-----Original Message-----
From: Mark Hagger [mailto:mark.hagger@m-spatial.com] 
Sent: Wednesday, July 05, 2006 8:05 AM
To: Tomcat Users List
Subject: Re: tuning garbage collection

Frankly I'd suggest moving to the latest JDK 5.0 release, 1.4.0 is a
pretty old and creaking version of the JVM really.  GC has undergone
huge changes in Sun's JVM from 1.4.0 to their current 1.5.0_06 release.

I also do wonder why you upgraded from tomcat 3 to tomcat 4.  Whats
wrong with tomcat 5?

Mark


On Wed, 2006-07-05 at 07:58 -0500, Ken Gibson wrote:
> 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
> -Xmx400m"
> 
> 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.
> 
> Thanks
> 
> 
> Ken
> 
> ---------------------------------------------------------------------
> To start a new topic, e-mail: users@tomcat.apache.org
> To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
> For additional commands, e-mail: users-help@tomcat.apache.org
> 
> 
>
________________________________________________________________________
> This email has been scanned for all known viruses by the MessageLabs
SkyScan service.


________________________________________________________________________
This email has been scanned for all known viruses by the MessageLabs
SkyScan service.

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


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


Mime
View raw message