I'm having the same issue as documented in:

http://www.nabble.com/httpd-JK-Tomcat-hung-connections-td10403182.html

For our situation, we haven't hit the "server reached MaxClients setting"
issue yet, but we easily could. 

We also have this same config running on a Windows cluster and that
environment seems to clean up after itself without any issue.

Does anyone see any obvious misconfigurations below?

Also, in a probably not related issue, when I look at the jkmanager page, I
see lots of garbage characters in the RR and CD columns, but only in certain
rows.

It looks something like:

!%���E��*��{ZQ�` l��=��j��8�U���4_~GT��V

When I installed mod_jk, I tried the binary as well as compiling the source
myself. Both options still showed the garbage characters.

Thanks,

Darin Pope

============================================

4 Apaches
12 Tomcats

CentOS 5.3 x86_64 on all boxes
SELinux disabled
iptables enabled

mod_jk = 1.2.28

JDK = 1.6.0_12

Tomcat = 6.0.18

server.xml:
<Connector port="8109" enableLookups="false" protocol="AJP/1.3"
maxThreads="380" connectionTimeout="600000" />

workers.properties:
worker.template-worker.type=ajp13
worker.template-worker.lbfactor=1
worker.template-worker.ping_timeout=1000
worker.template-worker.ping_mode=A
worker.template-worker.socket_timeout=300
worker.template-worker.socket_keepalive=1
worker.template-worker.connection_pool_timeout=600

<IfModule prefork.c>
StartServers       8
MinSpareServers    5
MaxSpareServers   20
ServerLimit      1024
MaxClients       1024
MaxRequestsPerChild  4000
</IfModule>

Server version: Apache/2.2.3
Server built:   Jan 21 2009 22:00:55
Server's Module Magic Number: 20051115:3
Server loaded:  APR 1.2.7, APR-Util 1.2.7
Compiled using: APR 1.2.7, APR-Util 1.2.7
Architecture:   64-bit
Server MPM:     Prefork
  threaded:     no
    forked:     yes (variable process count)
Server compiled with....
 -D APACHE_MPM_DIR="server/mpm/prefork"
 -D APR_HAS_SENDFILE
 -D APR_HAS_MMAP
 -D APR_HAVE_IPV6 (IPv4-mapped addresses enabled)
 -D APR_USE_SYSVSEM_SERIALIZE
 -D APR_USE_PTHREAD_SERIALIZE
 -D SINGLE_LISTEN_UNSERIALIZED_ACCEPT
 -D APR_HAS_OTHER_CHILD
 -D AP_HAVE_RELIABLE_PIPED_LOGS
 -D DYNAMIC_MODULE_LIMIT=128
 -D HTTPD_ROOT="/etc/httpd"
 -D SUEXEC_BIN="/usr/sbin/suexec"
 -D DEFAULT_PIDLOG="logs/httpd.pid"
 -D DEFAULT_SCOREBOARD="logs/apache_runtime_status"
 -D DEFAULT_LOCKFILE="logs/accept.lock"
 -D DEFAULT_ERRORLOG="logs/error_log"
 -D AP_TYPES_CONFIG_FILE="conf/mime.types"
 -D SERVER_CONFIG_FILE="conf/httpd.conf"
-- 
View this message in context: 
http://www.nabble.com/httpd-JK-Tomcat-hung-connections-%282009-edition%29-tp25834852p25834852.html
Sent from the Tomcat - User mailing list archive at Nabble.com.


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
For additional commands, e-mail: users-h...@tomcat.apache.org

Reply via email to