On 18/10/2011 20:40, Christopher Schultz wrote: > Dimitar, > > On 10/18/2011 2:15 PM, Dimitar Georgievski wrote: >> We have a Tomcat 5.5.25 server connected to Apache 2.2.9 over >> mod_ajp_proxy. Monitoring of the servers shows that AJP proxy >> connections are not reused but closed and reopened. Frequent >> closing of TCP connections leaves many connections in TIME_WAIT >> state and this is something we would prefer to avoid if possible.
You could update both Tomcat and HTTPD to more recent versions. p > AJP is intended to maintain persistent connections. Something must be > going wrong or your configuration must be forcing such behavior. > >> My understanding of the *reuse* flag in AJP13_END_RESPONSE >> structure is that this flag is hard coded and cannot be controlled >> by configuration settings. I couldn't find any in Tomcat AJP >> connector configuration that could do that. > >> Since Tomcat is sending the response, is there any way to control >> the reuse of AJP TCP connection through Tomcat configuration? I >> hope I don't have to resort to editing and recompilation of the >> mod_ajp_proxy module :-) > > Can you post your AJP <Connector> settings from conf/server.xml as > well as your mod_proxy_ajp configuration as well? > > -chris > > --------------------------------------------------------------------- > To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org > For additional commands, e-mail: users-h...@tomcat.apache.org >
signature.asc
Description: OpenPGP digital signature