tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Dave Gardner" <dgard...@dtbusiness.com>
Subject mod_jk seems to fail if not in debug mode
Date Tue, 13 Feb 2007 16:06:56 GMT
mod_jk seems to fail if not in debug mode

I've set up my Apache/Tomcat servers and it seems to be working. However, in my httpd.conf
if I use "JkLogLevel info" I get the following messages in my mod_jk.log file:

[Tue Feb 13 08:08:45 2007] [24399:46784] [info]  ajp_process_callback::jk_ajp_common.c (1433):
Writing to client aborted or client network problems

[Tue Feb 13 08:08:45 2007] [24399:46784] [info]  ajp_service::jk_ajp_common.c (1832): (tomcat72)
request failed, because of client write error without recovery in send loop attempt=0

[Tue Feb 13 08:08:45 2007] [24399:46784] [info]  service::jk_lb_worker.c (979): unrecoverable
error 200, request failed. Client failed in the middle of request, we can't recover to another
instance.

[Tue Feb 13 08:08:45 2007] [24399:46784] [info]  jk_handler::mod_jk.c (2135): Aborting connection
for worker=tomcats

These repeat, not for every request but it cycles through all four Tomcat workers about every
10-20 minutes or so. Users also are getting page cannot be displayed, timeouts, etc.

If I change it to "JkLogLevel debug" I get tons of information but no errors. Users tend to
run a little slow (probably because of all the logging taking place), but it seems to work.

Any help here would be appreciated.

I am running:

Linux RedHat Fedora 4.2
Apache 2.0.54-10
Apache Tomcat 5.5.12
Tomcat Connectors (mod_jk) 1.2.20

2 physical servers, each with dual procesors
Each server runs 2 instances of Tomcat, each with it's own AJP1.3 connector
Apache HTTPD runs on one server running virtual hosts.
Each host routes to mod_jk using a "JkMount  /* tomcats" directive
My workers.properties file looks like this:

# workers.properties start
ps=/
worker.list=tomcat61, tomcat62, tomcat71, tomcat72, tomcats, jkstatus
# DTBS6 Tomcat 1
worker.tomcat61.port=8009
worker.tomcat61.host=192.168.6.41
worker.tomcat61.type=ajp13
worker.tomcat61.lbfactor=100
# DTBS6 Tomcat 2
worker.tomcat62.port=8010
worker.tomcat62.host=192.168.6.41
worker.tomcat62.type=ajp13
worker.tomcat62.lbfactor=100
# DTBS7 Tomcat 1
worker.tomcat71.port=8009
worker.tomcat71.host=192.168.6.42
worker.tomcat71.type=ajp13
worker.tomcat71.lbfactor=100
# DTBS7 Tomcat 2
worker.tomcat72.port=8010
worker.tomcat72.host=192.168.6.42
worker.tomcat72.type=ajp13
worker.tomcat72.lbfactor=100
# Load Balancer worker
worker.tomcats.type=lb
worker.tomcats.balance_workers=tomcat61, tomcat71, tomcat62, tomcat72
# Status Worker
worker.jkstatus.type=status
# workers.properties end


---------------------------------------------------------------------
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org


Mime
View raw message