tomcat-users mailing list archives

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

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
</Proxy>
        ProxyPass // balancer://myclusterclear/
stickysession=JSESSIONID|jsessionid


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 ?

Thanks 

David





---------------------------------------------------------------------
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