Hello, While running two instance of embedded tomcat in our application the CPU usage gets 100%. We are using Tomcat 5.0.30 version. 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. -- View this message in context: http://old.nabble.com/Embbeded-tomcat-utilizing-more-CUP-Usage.-tp31402755p31402755.html Sent from the Tomcat - User mailing list archive at Nabble.com. --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org