Folks, I have some queries related to the performance tuning of Tomcat V6. I did search some search on the internet and found very little with regards to tuning. My application setup is as follows.
2 Apache web servers. 4 Tomcat application servers 2 database servers. We did many rounds of load/performance testing with 50 Virtual users, to find bottlenecks with the application, major problem found was CPU utilization. 1. We did load testing with 1 apache and 1 tomcat, the CPU was arnd 70% 2. We did load testing with 2 apache and 2 tomcat, the CPU was arnd 70% 3.We did load testing with 2 apache and 3 tomcat, the CPU was arnd 70% 4.We did load testing with 2 apache and 4 tomcat, the CPU was arnd 70% Each tomcat has a heap size of min/max = 2 GB. JAVA_OPTS="$JAVA_OPTS "-Xms2048m" "-Xmx2048m" "-XX:MaxPermSize=128m" "-XX:PermSize=128m" "-XX:NewRatio=3" "-XX:NewSize=256m" "-XX:MaxNewSize=256m" "-XX:SurvivorRatio=6" "-XX:+UseConcMarkSweepGC" "-XX:+PrintGCDetails" "-XX:+PrintGCTimeStamps" "-XX:+DisableExplicitGC" "-Xloggc:logs/gc.log" "-Denv=beesptesxapp14" "-Denvironment=etestqa" "-Dorg.xml.sax.driver=org.apache.xerces.parsers.SAXParser" "-Djavax.xml.parsers.SAXParserFactory=org.apache.xerces.jaxp.SAXParserFactoryImpl" "-Dinstance=homepage_beesptesxapp14" "-javaagent:/opt/shared/applications/homepage/lib/aspectjweaver-1.5.3.jar We did take thread dumps while performing the test, and found nothing related to application bottlenecks. Can I get some pointers on anything to be tuned in the tomcat to reduce the cpu utilization. Thanks. -- Regards&Thanks, Vasanth Kumar Ravi