Thanks Charles. 

I was using the Manager to confirm if my settings for the thread pool 
(particularily minSpareThreads) were working right - I'll have to confirm with 
jconsole.

We have a monitoring app that pings /manager/status?XML=true to get mem usage, 
thread activity/count/stats, etc., so it sounds like our stats for max threads 
might not reflect the true settings?

Thanks again


-----Original Message-----
From: Caldarale, Charles R [mailto:chuck.caldar...@unisys.com] 
Sent: Thursday, March 19, 2009 2:07 PM
To: Tomcat Users List
Subject: RE: Question on Executor and maxThreads reported by Manager

> From: Matt Brown [mailto:matt.br...@citrixonline.com]
> Subject: Question on Executor and maxThreads reported by Manager
> 
> When I check the server info in Tomcat Manager, the max thread count 
> for each connector is reported as 250 (the value of maxThreads in each 
> <Connector> element, which I expect to be ignored because 'executor' 
> is present) and not 200.

Just because it's reported doesn't mean it's not being ignored.  (Were there 
enough negatives in that sentence?)

> When using a shared thread pool, should I expect the Manager to report 
> the incorrect amount of max threads per connector, or is something 
> wrong with my configuration?

I don't see anything wrong with your config.  The manager is just reporting 
what's there, and is blissfully unaware that you're actually using an 
<Executor>, so the maxThreads setting is meaningless.

> Will the Manager report on the size/limits of the shared thread pool?

I don't think anyone has ever tried to update the manager webapp to do that 
(patches are welcome).

You can see the Executor and its threads with JConsole.

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


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
For additional commands, e-mail: users-h...@tomcat.apache.org

Reply via email to