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" connectionTimeout="2000"/> 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. Thnaks, Rushikesh n828cl wrote: > >> From: Rushikesh.Pisal [mailto:rushikesh.pi...@gmail.com] >> 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 > > > 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: dev-unsubscr...@tomcat.apache.org > For additional commands, e-mail: dev-h...@tomcat.apache.org > > > -- View this message in context: http://old.nabble.com/Embbeded-tomcat-utilizing-more-CUP-Usage.-tp31394267p31396417.html Sent from the Tomcat - Dev mailing list archive at Nabble.com. --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org For additional commands, e-mail: dev-h...@tomcat.apache.org