How to identify busy Tomcat threads
- From: "Bill Barker" <wbarker (at) wilshire.com>
- Date: Wed, 2 Aug 2006 19:07:23 -0700
<Ramdas.Hegde (at) seagate.com> wrote in message
news:OFCBEBADD1.9E3BA0A8-ON882571BF.0004CA5F-882571BF.00052D3C (at) seagate.com...
>
> When i look at the Tomcat status page via the browser, if it tells me that
> all the threads are busy - but the details of each of the connections
> indicates that these connections are in "k" - keep alive stage. Is there
> a
> way to tell using this status page or any other method if these Tomcat
> threads are actually being kept busy for keepalive purpose and not by
> requests coming in from the Apache webserver. I doubt that all the Tomcat
> threads are busy doing useful work since on the Apache side the number of
> active connections as seen using the server-status page is less than half
> the number of Tomcat threads that are busy.
>
For the AJP/1.3 Connector, The "k" stage means that Tomcat is waiting for
the next request to be forwarded from Apache.
> Thanks
>
>
> ---------------------------------------------------------------------
> To start a new topic, e-mail: users (at) tomcat.apache.org
> To unsubscribe, e-mail: users-unsubscribe (at) tomcat.apache.org
> For additional commands, e-mail: users-help (at) tomcat.apache.org
>
>
---------------------------------------------------------------------
To start a new topic, e-mail: users (at) tomcat.apache.org
To unsubscribe, e-mail: users-unsubscribe (at) tomcat.apache.org
For additional commands, e-mail: users-help (at) tomcat.apache.org