tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Amit Bhargava <amit.bharg...@heraldlogic.com>
Subject Re: Current thread count monitoring
Date Thu, 15 May 2008 08:33:59 GMT
Hi Chuck,

Thank you for the clarifications. I guess I'll experiment with perfmon 
to see what I can dig up...

Regards,
Amit



Caldarale, Charles R wrote:
>> From: Amit Bhargava [mailto:amit.bhargava@heraldlogic.com] 
>> Subject: Re: Current thread count monitoring
>>
>> My understanding is that 'maxThreads' determines how many 
>> threads will be created by the Connector to deal with 
>> requests.
>>     
>
> That's the maximum number of threads for the <Connector>; if there are
> fewer active requests than that, there will be fewer threads in the
> pool.
>
>   
>> After this, 'acceptCount' determines the number of threads 
>> which will be allowed to wait in queue.
>>     
>
> No, it's the number of *requests* that wait in the queue, until one or
> more threads become available to process them.
>
>   
>> So is the current queue length that I am looking for  
>> CurrentThreadCount - maxThreads?
>>     
>
> No.  I don't believe there's a means of determining the number of
> requests in the queue since the waiting requests are sitting in the
> TCP/IP stack, not in Tomcat (I think - I haven't looked at that area of
> the code, and it may vary depending on the connector class).
>
>  - Chuck
>
>
> THIS COMMUNICATION MAY CONTAIN CONFIDENTIAL AND/OR OTHERWISE PROPRIETARY
> MATERIAL and is thus for use only by the intended recipient. If you
> received this in error, please contact the sender and delete the e-mail
> and its attachments from all computers.
>
> ---------------------------------------------------------------------
> To start a new topic, e-mail: users@tomcat.apache.org
> To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
> For additional commands, e-mail: users-help@tomcat.apache.org
>
>   


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


Mime
View raw message