-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

塗,

On 5/27/2010 4:51 AM, 塗 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?

> 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
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.10 (MingW32)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iEYEARECAAYFAkv+hFoACgkQ9CaO5/Lv0PBFkgCgvqoksV7PgaqGFOI5wCgXwaIa
yKcAniKySqd3g8wd7paAoRBn0mWklSZY
=RfE/
-----END PGP SIGNATURE-----

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
For additional commands, e-mail: users-h...@tomcat.apache.org

Reply via email to