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

Niek Dekker niekdekker at
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:

I hope someone here can help me finding the problem.

Below is an excerpt of my httpd.conf:

LoadModule proxy_module libexec/apache22/
LoadModule proxy_ajp_module libexec/apache22/

<IfModule proxy_module>
   ProxyRequests Off

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


More information about the freebsd-apache mailing list