tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Caldarale, Charles R" <Chuck.Caldar...@unisys.com>
Subject RE: How to limit tomcats thread consumption?
Date Mon, 04 Apr 2011 17:42:02 GMT
> From: Michael Jerger [mailto:jerger@jerger.org] 
> Subject: Re: How to limit tomcats thread consumption?

Do you actually need to be running httpd?  Is it doing anything useful?  (Serving just static
content isn't useful.)

> <Executor name="tomcatDevThreadPool" namePrefix="catalina-exec-" 
>         daemon="false" maxThreads="(3/40)" maxSpareThreads="5" 
> minSpareThreads="1"/>

Your maxThreads setting looks invalid, so it's probably defaulting to 200.  Bring it down
to a reasonable number, based on how many concurrent requests you expect.  (Make it even smaller
on your test Tomcat.)

Also, insure that the httpd AJP connection configuration matches your Tomcat <Connector>
or <Executor>; if it doesn't, one side or the other will be wasting threads.

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


Mime
View raw message