tomcat-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Rushikesh.Pisal" <>
Subject RE: Embbeded tomcat utilizing more CUP Usage.
Date Thu, 14 Apr 2011 12:12:25 GMT

Thanks for the reply..

I know Tomcat 5.X is bit old but it is very much danger for project to
replace at this point of time.
Secondly , We are using only one servlet in our application,it just take
request n do some processing and send response. So there are no looping
which can hock the CPU.

If we remove calling of embeded tomcat from our application then CPU usage
also get reduced from 50% to 20% so .

It is sure that when I strat TOMCAT it is taking more CPU Usage.
Is there any steps/configuration to reduce CPU usage?

I have found some ways in some website i.e. maxThreads="50"
minSpareThreads="5" maxSpareThreads="20" acceptCount="100"
since embeded tomcat does not use server.xml file and I am not able to find
programmitical way to do this.

Please share if you have any idea about how to tell embeded tomcat to use
less resource or some way to tune it.


n828cl wrote:
>> From: Rushikesh.Pisal [] 
>> Subject: Embbeded tomcat utilizing more CUP Usage.
>> We are using Tomcat 5.0.30 version. 
> Not supported.
>> Is there any way to make CPU Usage less while running embedded tomcat 
> Fix your app so it doesn't loop.
> Seriously, it is extremely unlikely that it's a Tomcat problem.  Take
> thread dumps and find out where in your code the threads are looping.
>  - Chuck
> 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:
> For additional commands, e-mail:

View this message in context:
Sent from the Tomcat - Dev mailing list archive at

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message