Hi, Am Mittwoch, 14. Oktober 2009 schrieb Christopher Schultz: > > Although those threads say "runnable", they're really blocked at the OS > level waiting to receive data from the mod_jk connector. These threads > are actually idle, waiting for requests from httpd to come through the > pipe. > > You can probably confirm this by checking with 'top' to see that Tomcat > isn't using any CPU time, because it's just waiting.
exactly. That's what I meant with "waiting for input from the Apache servers". Thanks for confirming this. > Is it feasible to remove httpd from the equation? Tomcat 5.5 can easily > compete with httpd for static file delivery if that's all your using it > for. Not really. We're relying on mod_jk for load-balancing with sticky sessions, and for SSL termination. Getting rid of the Apaches would be a major PITA. > If you could post your httpd configuration for your worker/prefork stuff > AND your mod_jk configuration, it might be helpful. ===workers.properties=== worker.list=lb,jkstatus worker.jkstatus.type=status worker.lb.type=lb worker.lb.balance_workers=xx01E1, xx02E1, [...] worker.xx01E1.port=31011 worker.xx01E1.host=appsrv01 worker.xx01E1.type=ajp13 worker.xx01E1.lbfactor=5 worker.xx01E1.activation=A worker.xx01E1.domain=d01 worker.xx01E1.connect_timeout=15000 worker.xx01E1.prepost_timeout=15000 [...more workers with identical config except "host" and "domain"...] ===/workers.properties=== ===httpd.conf=== <IfModule mod_jk.c> JkWorkersFile /...path.../conf/workers.properties JkShmFile /...path.../logs/apache_2_2/jk-shm.file JkLogFile /...path.../logs/apache_2_2/jk.log JkLogLevel info # JkLogLevel Fatal # JkLogLevel info # JkLogLevel trace # JkLogLevel debug </IfModule> # Manager config: <Location /jkmanager/> JkMount jkstatus Order deny,allow Deny from all Allow from 10.207.69 10.64 192.168.7 </Location> # Virtual Host config: JkMount /app/* lb JkMount jkstatus ===/httpd.conf=== Thanks, Peter -- Peter Conrad Tivano Software GmbH Bahnhofstr. 18 63263 Neu-Isenburg Tel: 06102 / 8099070 Fax: 06102 / 8099071 HRB 11680, AG Offenbach/Main Geschäftsführer: Martin Apel --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org