From Michal.Kwiatek@cern.ch Tue Nov 22 17:01:01 2005
Date: Tue, 22 Nov 2005 16:24:28 +0100
From: Michal Kwiatek <Michal.Kwiatek@cern.ch>
To: Maria Dimou <Maria.Dimou@cern.ch>
Subject: RE: advice on tomcat

Some ideas:

Step 1
- enable garbage collection logging using jvm option -Xloggc:file 
- enable incremental garbage collector using jvm option -Xincgc  

these are explained here:
http://java.sun.com/j2se/1.4.2/docs/tooldocs/linux/java.html

Set them in the same way as you set the -Xms and -Xmx parameteras

Step 2
- try a different jvm (different vendor) but the same version number,
you can get it here:
http://commerce.bea.com/products/weblogicjrockit/1.4.2/142_08.jsp

Step 3
- try monitoring your tomcat through JMX, as explained here (probably
not for your version of tomcat though):
http://tomcat.apache.org/tomcat-5.5-doc/monitoring.html

For Step 3, apparently you can run tomat 5.0 on jdk 1.5. Then, you'll be
able to set up JMX monitoring as explained for example here:
http://mc4j.org/confluence/display/MC4J/Tomcat. 

Michal.
