« Return to Thread: Current thread count monitoring

Re: Current thread count monitoring

by Amit Bhargava :: Rate this Message:

Reply to Author | View in Thread

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@...]
>> 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@...
> To unsubscribe, e-mail: users-unsubscribe@...
> For additional commands, e-mail: users-help@...
>
>  


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

 « Return to Thread: Current thread count monitoring