On 27/05/2010 15:40, Christopher Schultz wrote: > W, > > On 5/27/2010 4:51 AM, W wrote: >> there is a problem with my webapp. > >> web operating environment: >> tomcat5.5.27 + Apache/2.2.3 + jdk1.5.0_13 + Linux_x86_64 > >> [below] is my manual configurations for tomcat JVM: >> CATALINA_OPTS="-Xms1024M -Xmx1024M >> -Dorg.apache.jasper.compiler.Parser.STRICT_QUOTE_ESCAPING=false" > > Are you using a 64-bit or 32-bit JVM? > >> When my webapp is started, I use the jvm's own tools(jstat) to trace the >> garbage collections. > > Ok. > >> the Utilization rate of the PC capacity is always 100%. is it normal? > > What is "PC" (sorry, the jstat man page sucks)? What is the command you > used to produce your jstat output?
I had to look it up too. http://java.sun.com/javase/6/docs/technotes/tools/share/jstat.html p >> Firstly the 1 Full GC is occurrenced within 1 hour, >> 5 hours later that took place within 1 hour 100 Full GC. >> is it normal? > > Can you clarify this last statement? When did the first full GC take > place? When did the second? When did the third? Are you saying that you > get one full GC in one hour, then 5 hours for the second, then 100 full > GCs all close together? > > That suggests to me that your webapp is allocating memory and never > releasing it. This could be due to many reasons such as a memory leak > (which ought to be fixed) or caching (which may be working as designed). > > Is your webapp performing well? GC activity doesn't necessarily mean > that anything is wrong. > > -chris --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org
signature.asc
Description: OpenPGP digital signature