-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Hide,
On 3/19/2011 10:38 PM, Hide wrote: > How to detect down of tomcat. Note that the responses you've been getting are only testing for the Tomcat process still running in some way. There are probably a lot of scenarios where you consider Tomcat "down" yet it is still running. Some that come to mind: 1. Database connection pool has been exhausted so no work can complete 2. Request processors are all tied up waiting on some lock 3. A connector has failed and is no longer accepting connections These are all situations where a Tomcat restart may be in order but the "check the process list" technique will fail to detect them. We have a "status" page that checks the health of our server and we use wget in a script to check the data that comes back. Something like that will be more reliable than just checking the OS's process table. - -chris -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.10 (MingW32) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/ iEYEARECAAYFAk2I5moACgkQ9CaO5/Lv0PDcQwCgiz/M0xmGzGQ7Dluo5dWpOCRn V3cAniMel30HEFkSCltZx73hPQtYDp6S =D5IC -----END PGP SIGNATURE----- --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org