-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA256 Vikram,
On 8/14/13 9:42 PM, Vikram Jain wrote: > I am working on Tomcat monitoring solution for a project and when > it comes to monitoring 'Thread usage', I am wondering whether I > should be comparing 'currentThreadCount' or 'currentThreadBusy' > attribute against 'maxThread' to generate an alert. Is > currentThreadBusy the actual represntation of the activeThread > count ? If currentThreadCount increases when there is an increase > in need of request processing threads and once the requests are > processed, whether the currentThreadCount drops ? I would go for "currentThreadBusy" because your thread count could == maxThread which just means that all potential threads have been allocated -- not that they are all busy at the same time. > Please assist. If you find it relevant, please also update the docs > to the benefit of other users :) There are some existing notes about using JMX for monitoring here: http://wiki.apache.org/tomcat/FAQ/Monitoring Feel free to add your own commentary if it can be helpful. - -chris -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.14 (Darwin) Comment: GPGTools - http://gpgtools.org Comment: Using GnuPG with Thunderbird - http://www.enigmail.net/ iQIcBAEBCAAGBQJSDUszAAoJEBzwKT+lPKRYf3AP/2t6EAnw836R/2D6zbngkELk dVlzJXhK0qixwzwc/ZOJX1CZGbLDecMgmxG12p5n5WEEzqppkXdDe+rc+HPb1zPc CIEr6qVGH3ydbG/O6qn+opEOKf8DQuPlu/MM43uC7pUQm7O4/Ehegg+1ubBEhRHg y1PhJC2IPQM9esz/fUzqXf5nL5Y7uUE/2TfvKCP5zhu3EUPm1K5WVXI2/CnhcmXP +KXmjtlrGUA7OA5ERcW9TSGJQD343EigN92nA4zRn5UrfOL18P2VK1fEC+zbmr3u tS0WxAKylh/uLgbuAUediB2z+UxzwpYhtZC+NNu+r/cbToLw39cNHS6CAKOZw4f3 ChPUAdDkp3qs0AJDzihNtxtGQcWTwjcHBQBvzhD2X0EUQPU+qWmP6OopEpMRyYEk RYeulZ1IAgs7Z9I4SgSnsuH5n7GWLXOU4cStnGSyehljm3420n986Y4H1kIEgEXs hxV5TzqE2fjbCZXDfqMZaLzCxk2ORqiHEPBxALZ1rIuDADi5xNo/q6ZnlvD/HMQ5 gEujDWvCI2vSn4LughMQKy1fU2DoGXeJSTdaFwmMdANAOoG8fJa5RrZwrT3hoLNX hz/2yiB/pOSQxZDFDV/by8tFhA+LXZop1E5FacEnQVlzuSPacdKU5tCAp32pEYgG LwbRej65xANHvGOkte82 =hyJ3 -----END PGP SIGNATURE----- --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org