tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Christopher Schultz <ch...@christopherschultz.net>
Subject Re: Can we have number of RequestDispatcher (busy) logged in log files !
Date Fri, 06 Nov 2015 21:52:52 GMT
Utkarsh,

On 11/6/15 12:47 PM, Utkarsh Dave wrote:
> Hello,
> In tomcat 7
> I wanted to know if there is a way we can log the number of request
> dispatcher threads used/busy/blocked, in log files. Or is there a mechanism
> that logs the number of request threads so that user can be warned about
> the request dispatcher threads if too many are being in busy state due to
> too many sessions or BLOCKED situations.
> Situation like this may result in DoS situation and tomcat becomes
> unresponsive.

This is a perfect use case for monitoring using JMX:

http://wiki.apache.org/tomcat/FAQ/Monitoring

http://events.linuxfoundation.org/sites/events/files/slides/Monitoring%20Apache%20Tomcat%20with%20JMX.pdf

-chris

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


Mime
View raw message