Zack
asked on
How to monitor the number of connections/threads being utilized on Tomcat 6.0
Heyas,
How would I go about monitoring and logging the number of 'acceptCount' and 'maxThreads' on a Tomcat 6.0 service running on Windows Server 2008 R2?
https://tomcat.apache.org/tomcat-6.0-doc/manager-howto.html
http://tomcat.apache.org/tomcat-6.0-doc/monitoring.html
Read through these but couldn't find anything definitive something that comes close is: https://tomcat.apache.org/tomcat-6.0-doc/manager-howto.html#Server_Status
http://community.jaspersoft.com/wiki/how-connect-jconsole-tomcat-running-service
This tool can monitor the 'maxthreads' now I am just looking for 'acceptCount'
Any assistance is appreciated.
Thank you.
How would I go about monitoring and logging the number of 'acceptCount' and 'maxThreads' on a Tomcat 6.0 service running on Windows Server 2008 R2?
https://tomcat.apache.org/tomcat-6.0-doc/manager-howto.html
http://tomcat.apache.org/tomcat-6.0-doc/monitoring.html
Read through these but couldn't find anything definitive something that comes close is: https://tomcat.apache.org/tomcat-6.0-doc/manager-howto.html#Server_Status
http://community.jaspersoft.com/wiki/how-connect-jconsole-tomcat-running-service
This tool can monitor the 'maxthreads' now I am just looking for 'acceptCount'
Any assistance is appreciated.
Thank you.
ASKER
Hi CEHJ,
What I mean by monitoring is how do I determine the current value of acceptcount at any given time.
Thank you.
What I mean by monitoring is how do I determine the current value of acceptcount at any given time.
Thank you.
If you mean how many connections are waiting, then you might be able to turn up logging to see the queue length. What is your goal?
ASKER
Hi CEHJ,
My goal is to determine Tomcat is hitting it's maximum amount of allowed 'acceptCount' and 'maxThreads' at any one time.
Thank you.
My goal is to determine Tomcat is hitting it's maximum amount of allowed 'acceptCount' and 'maxThreads' at any one time.
Thank you.
I would look into the logging of the internal classes involved in those queues then
ASKER
Hi CEHJ,
I don't the Java source code for the application, any other suggestions?
Thank you.
I don't the Java source code for the application, any other suggestions?
Thank you.
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
Thank you for your assistance.
Not sure what you mean by 'monitoring'. acceptCount is an absolute number