tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From David Cassidy <>
Subject mod_proxy_ajp & TIME_WAIT
Date Thu, 15 Nov 2007 09:03:51 GMT

I'm using mod_proxy in apache 2.2.6 with the ajp connector in tomcat.

apache config
<Proxy balancer://myclusterclear>
        BalancerMember ajp://localhost:8009 route=server1 min=0
smax=1000 max=1000  keepalive=On
        ProxyPass // balancer://myclusterclear/

Tomcat config (Using the native apr libs)

    <Executor name="tomcatThreadPool" namePrefix="catalina-exec-"
maxThreads="150" minSpareThreads="4"/>

    <Connector executor="tomcatThreadPool" port="8009" secure="false"
protocol="AJP/1.3" enableLookups="false" proxyPort="80"
redirectPort="443" maxKeepAliveRequests="2000" tcpNoDelay="true"
keepAliveTimeout="10000" connectionTimeout="600000"/>

After running a few hits with ab to give it some load
there are a very large number of connections between apache and tomcat
in a TIME_WAIT status.

Is this a common happening ? Is there something that can be configured
to prevent this from appearing ?



To start a new topic, e-mail:
To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message