tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From GOMEZ Henri <hgo...@slib.fr>
Subject RE: mod_jk causing httpd blowout??
Date Thu, 31 May 2001 14:35:00 GMT
Change :

JkLogLevel      warn 

by

JkLogLevel      error

Will help reduce log activity 

-
Henri Gomez                 ___[_]____
EMAIL : hgomez@slib.fr        (. .)                     
PGP KEY : 697ECEDD    ...oOOo..(_)..oOOo...
PGP Fingerprint : 9DF8 1EA8 ED53 2F39 DC9B 904A 364F 80E6 



>-----Original Message-----
>From: Marcus Dillury [mailto:marcus@socialchange.net.au]
>Sent: Thursday, May 31, 2001 7:35 AM
>To: tomcat-user@jakarta.apache.org
>Subject: mod_jk causing httpd blowout??
>
>
>Hello,
>
>We have a production machine, running RH 7 and  apache-1.3.14-3.
>We have recently upgraded the jsp server from Jrun 2.3 to
>tomcat-3.2.2-beta3.1.
>
>When we use the mod_jk/ajp13  connector in apache to talk to tomcat we
>experince huge load averages > 30, and http CPU uses > 40%.
>
>The set up is basically as follows:
>
>In httpd.conf
>
>##Load tomcat relevant modules. mod_jk config
>LoadModule  jk_module modules/mod_jk.so
>
>AddModule   mod_jk.c
>##
>## configure mod_jk
>JkWorkersFile   /var/tomcat/conf/workers.properties
>JkLogFile       /var/tomcat/logs/mod_jk.log
>JkLogLevel      warn
>JkMount         /servlet/*    ajp13
>
>and with virtual servers I have set:
><VirtualHost 192.168.1.19:80>
>...
>JkMount         /*.jsp  ajp13
>JkMount         /servlet/*    ajp13
>...
><DirectoryMatch /WEB-INF>
>AllowOverride None
>deny from all
></DirectoryMatch>
>...
></VirtualHost>
>
>
>some of our web-applications also call a postgres database located on
>another machine.
>
>How ever when we take out the mod_jk connector, and use a simple page
>redirect to port 8080 (tomcat stand-alone.) We do not have 
>this problem.
>load averages are typically less than 2 with this setup.
>Unfortunatly this configuration is a hack solution,
>and I would like to find out why mod_jk is causing such a 
>tremendous load
>on the system.
>Is it a bug with ajp13/ mod_jk or is it my configuration?
>I didn't have this problem with Jrun. As it stands tomcat isn't stable
>enough to use in a production environment.
>Please advise.
>
>Thanks in advance.
>
>--Marcus
>
>

Mime
View raw message