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

Pid,

On 11/11/2010 3:40 AM, Pid wrote:
> You could set CATALINA_PID and check that the process ID* contained in
> the file is active.

That is one way of doing things, but Tomcat might not be "healthy" even
though the process is running. For instance, I can imagine the following
scenarios where the process would be running, but not considered "healthy":

1. Database connection pool is exhausted - possibly permanently
2. Request processing thread pool is exhausted - possibly permanently
3. JVM has experienced an OOME and parts of Tomcat may be unstable

That last one is very difficult to detect. ;)

In these cases, a Tomcat bounce might be the best action to take.

- -chris
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.10 (MingW32)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iEYEARECAAYFAkzcJUMACgkQ9CaO5/Lv0PBwwgCgky9a2BYJuKrPLUMMSLp9vSZ/
0bMAni/grbihuKLgPMG070pKJdBL5/Te
=3jNj
-----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