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

Hassan,

On 2/23/2010 2:19 PM, Hassan Schroeder wrote:
> On Tue, Feb 23, 2010 at 11:05 AM, Christopher Schultz
> <ch...@christopherschultz.net> wrote:
> 
>> Something like every hour or maybe every minute, you could make a
>> request to some trivial page like "/ping.jsp".
> 
> Which is exactly what a service monitor like Nagios does -- plus it
> lets you know if the proper response isn't received (no response,
> error page/wrong page size, etc.).
> 
> I would think every production system would have something like
> that in place as a matter of course.

I would think so. We have our own that reports heap usage, database
connection pool usage, and the patch level of the JVM. We can use it to
graph memory usage over long periods of time using whatever sampling
rate we choose, because it's all based upon when the request is made.
Every 5 minutes? No problem. Every 5 seconds? Just change the cron job. :)

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

iEYEARECAAYFAkuETK8ACgkQ9CaO5/Lv0PCdVwCfWqWqmEloAvZvjDCuGs8LdTzh
C0UAoKOxjXHGvi0QoOPQkhyvjl9uStn2
=Uxtn
-----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