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-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org