tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Mark Deneen" <mden...@gmail.com>
Subject Re: Tomcat becomes non-response for ~30 seconds
Date Wed, 28 Nov 2007 18:39:20 GMT
If the CPU is maxed out, the thread dump will provide lightweight
process numbers.  Using a tool like "prstat -L" on Solaris, you can
figure out which lightweight process (thread) it is, and at least
confirm that it is the GC thread.  the output from prstat is indexed
at 1, but the stack dump is indexed at 0, so you need to either add
one to the stack dump lwp id, or subtract one from the prstat output.

I'm sure there is an equivalent command for prstat in other operating
systems, but I do not know what it is.

Mark

On Nov 28, 2007 12:04 PM, Christopher Schultz
<chris@christopherschultz.net> wrote:
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
>
> Jared,
>
> jnedzel wrote:
> > We're having an intermittent problem with Tomcat becoming non-responsive for
> > a while (between 30 seconds and several minutes) and then recovering without
> > any intervention.  There are no error messages in the Tomcat logs.
>
> Here's a silly question: what does a thread-dump during those pauses
> look like?
>
> - -chris
>
> -----BEGIN PGP SIGNATURE-----
> Version: GnuPG v1.4.7 (MingW32)
> Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
>
> iD8DBQFHTZ+49CaO5/Lv0PARArxDAKCVsJw7mtwHxZZxEZBYIgOUZ4yobwCZAVjK
> SKXAqTz7BBCMxXs6j2tDPWA=
> =1UjQ
> -----END PGP SIGNATURE-----
>
>
> ---------------------------------------------------------------------
> 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