-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

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.

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
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.10 (MingW32)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iEYEARECAAYFAk6d1iEACgkQ9CaO5/Lv0PCnGgCcCmrD69wV7EAdj3qMbuMC3pZz
jmQAn3X6C9buUoCS7SwCDHIR6HzJqGVY
=HWpj
-----END PGP SIGNATURE-----

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

Reply via email to