Has anyone else had CPU load increase dramatically when upgrading from Tomcat 3 to Tomcat 4?
We are trying to update our server farm to Tomcat 4.1.18. When we swap a single prototype server running 4.1.18 into the server pool, it performs badly. Specifically, in a 10-minute period at below-peak load, all servers served about 1700 page impressions. However, the existing Tomcat 3.3.1 servers had %CPU utilisation of 28-29%, while the prototype server has a load of 46%. This pattern of double the CPU is consistent throughout the day. At peak period, the prototype server starts to reject connections and we have to take it out of the pool The only thing that has changed is Tomcat itself. Configuration: Apache 1.3.26 -> AJP 1.3 -> Tomcat 4.1.18 -> two Velocity 1.2 and Turbine 2.1-based web-apps OS: Solaris 8 JVM: Java HotSpot(TM) Server VM (build 1.4.1_02-b06, mixed mode) JAVA_OPTS: -server -Xmx384mb -Xconcurrentio I have installed Tomcat 4.1.18, deleted the example apps (made no performance difference), convinced Tomcat to recognise our symlinks, configured a realm (otherwise it hides our application) and put together a very simple server.xml. server.xml: <Server port="8005" shutdown="SHUTDOWN" debug="0"> <Service name = "My-Tomcat"> <Engine name="MainEngine" defaultHost="localhost"> <Realm className="org.apache.catalina.realm.MemoryRealm" /> <Host name="localhost"> <Context path="/rm" docBase="webapps/rmsites" reloadable="false" debug="0" privileged="false"> </Context> <Context path="/house" docBase="webapps/house" reloadable="false" debug="0" privileged="false"> <!-- Symlinks to shared classes and jar libraries in rm context --> <Resources className="org.apache.naming.resources.FileDirContext" allowLinking="true" /> </Context> </Host> </Engine> <Connector className = "org.apache.ajp.tomcat4.Ajp13Connector" port = "7008" minProcessors = "5" maxProcessors = "20" enableLookups = "false" acceptCount = "10" debug = "0" connectionTimeout = "60000"/> </Service> </Server> I would appreciate any suggestions or help :o) Chris Agmen-Smith -- _______________________________________________ Sign-up for your own FREE Personalized E-mail at Mail.com http://www.mail.com/?sr=signup --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]