Help requested for Apache 2.2.3 with mod_proxy_ajp on FreeBSD 6.2_RC1 amd64

Niek Dekker niekdekker at gmail.com
Tue Nov 21 02:04:36 PST 2006


mod_proxy_ajp gives me a headache on FreeBSD 6.2_RC1 amd64.

Yesterday I upgraded a test server from FreeBSD 6.2_beta2 amd64 to
6.2_rc1 amd64.
I am using apache 2.2.3 with mod_proxy and mod_proxy_ajp to connect to
Tomcat 5.5.20.

This ajp configuration used to work well, but after the upgrade, connections
via the ajp proxy are extremely slow. It seems as if something is timing
out, as it takes several minutes until apache returns data. Connecting
directly to Tomcat Coyote ports works well. There is nothing in the
httpd error logs or the tomcat logs, nor in the system message log
indicating what is going wrong.

When using mod_jk, all works fine.

I have found a bug report in ASF Bugzilla that may be related:
http://issues.apache.org/bugzilla/show_bug.cgi?id=36495

I hope someone here can help me finding the problem.

Below is an excerpt of my httpd.conf:

LoadModule proxy_module libexec/apache22/mod_proxy.so
LoadModule proxy_ajp_module libexec/apache22/mod_proxy_ajp.so

<IfModule proxy_module>
   ProxyRequests Off

   <Proxy *>
   Order Deny,Allow
   Deny from all
   Allow from [my ip]
   </Proxy>
   <IfModule proxy_ajp_module>
        <Location /[mylocation]/>
        ProxyPass ajp://localhost:8009/
        SSLrequireSSL
        </Location>
</IfModule>
</IfModule>


Niek


More information about the freebsd-apache mailing list