Hi All, We are doing some load testing on our setup and find that the cpu use age of tomcat reported by top on the two systems is not equal. Typically we see figures like ~400% to 800% cpu on one machine and ~50% on the other machine for the java process. We would expect that the two cpu values to be equal.
The jkstatus page on box one shows the following after a restart. Although before a restart the Max column was showing 250 for jcpres1 and 32 for jcpres2. Name Type Host Addr Act State D F M V Acc Err CE RE Wr Rd Busy Max Route RR Cd Rs jcpres1 ajp13 172.16.4.11:8009 172.16.4.11:8009 ACT OK 0 1 1 869 4276 2 4 0 939K 286M 1 11 jcpres1 0/0 jcpres2 ajp13 172.16.4.12:8009 172.16.4.12:8009 ACT OK 0 1 1 869 4277 2 1 0 943K 280M 2 9 jcpres2 0/0 and box 2 Name Type Host Addr Act State D F M V Acc Err CE RE Wr Rd Busy Max Route RR Cd Rs jcpres1 ajp13 172.16.4.11:8009 172.16.4.11:8009 ACT OK 0 1 1 484 3872 0 4 0 850K 256M 3 10 jcpres1 0/0 jcpres2 ajp13 172.16.4.12:8009 172.16.4.12:8009 ACT OK 0 1 1 483 3871 0 4 0 850K 260M 1 10 jcpres2 0/0 Our system setup. Both machines are running the the following software on RedHat 4ES Httpd 2.2.4 Mod JK 1.2.25 Tomcat 6.0.12 Java 1.6.0_01 Box 1. workers.properties # JK Status worker config worker.list=jkstatus worker.jkstatus.type=status # Presentaton Load Balancer Config worker.list=preslb worker.preslb.type=lb worker.preslb.balance_workers=jcpres1,jcpres2 worker.preslb.sticky_session=1 worker.jcpres1.port=8009 worker.jcpres1.host=172.16.4.11 worker.jcpres1.type=ajp13 worker.jcpres1.lbfactor=1 worker.jcpres1.fail_on_status=503,400,500,909 worker.jcpres2.port=8009 worker.jcpres2.host=172.16.4.12 worker.jcpres2.type=ajp13 worker.jcpres2.lbfactor=1 worker.jcpres2.fail_on_status=503,400,500,909 Box 2. workers.properties # JK Status worker config worker.list=jkstatus worker.jkstatus.type=status # Presentaton Load Balancer Config worker.list=preslb worker.preslb.type=lb worker.preslb.balance_workers=jcpres1,jcpres2 worker.preslb.sticky_session=1 worker.jcpres1.port=8009 worker.jcpres1.host=172.16.4.11 worker.jcpres1.type=ajp13 worker.jcpres1.lbfactor=1 worker.jcpres1.fail_on_status=503,400,500,909 worker.jcpres2.port=8009 worker.jcpres2.host=172.16.4.12 worker.jcpres2.type=ajp13 worker.jcpres2.lbfactor=1 worker.jcpres2.fail_on_status=503,400,500,909 --------------------------------------------------------------------- To start a new topic, e-mail: users@tomcat.apache.org To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]