tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Sean Laurent <s...@studyblue.com>
Subject Tomcat JMX Monitoring - Busy Threads?
Date Thu, 03 Mar 2011 21:29:52 GMT
I'm trying to monitor Tomcat 6.0.29 using JMX. Specifically, I want to
monitor the number of active threads servicing requests so I can get
an alert if it approaches the maximum. While I have JMX monitoring
working in general, I can't seem to get the number of threads.
Everything I have read suggests looking at:

Catalina:type=ThreadPool,name=http-8080

And examining the currentThreadsBusy attribute. Unfortunately, I only
ever seem to get -1 as a value. I've tried it on five different Tomcat
instances and I always get -1.

Is there something I'm missing? Should I be looking at a different value?

-Sean

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


Mime
View raw message