ports/106445: mod_proxy_ajp very slow on FreeBSD 6.2-RC1 amd64

Niek Dekker niek at bigfoot.com
Thu Dec 7 13:30:11 UTC 2006


>Number:         106445
>Category:       ports
>Synopsis:       mod_proxy_ajp very slow on FreeBSD 6.2-RC1 amd64
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Thu Dec 07 13:30:07 GMT 2006
>Closed-Date:
>Last-Modified:
>Originator:     Niek Dekker
>Release:        6.2-RC1 amd64
>Organization:
Bureau Digitekst
>Environment:
FreeBSD digitekst.com 6.2-RC1 FreeBSD 6.2-RC1 #0: Mon Nov 20 14:05:41 CET 2006     root at server1.digitekst.com:/usr/obj/usr/src/sys/SMP amd64
Hardware: HP Proliant DL360G4P, 4Gb, SMP. HTT disabled in BIOS and in OS. 

>Description:
I upgraded a 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.

Please Note: The ajp proxy worked well on 6.2 beta2 with the exact same hw/sw configuration.

After the upgrade to 6.2 RC1, 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.

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
   <IfModule proxy_ajp_module>
        <Location /[mylocation]/>
        ProxyPass ajp://localhost:8009/
        SSLrequireSSL
        </Location>
</IfModule>
</IfModule>

I have recompiled APache2.2.3 and Tomcat 5.5.20


I have 
- queried the current PR database
- sent messages to freebsd-questions, freebsd-stable, freebsd-ports and freebsd-apache mailing lists, but received no reply.
>How-To-Repeat:
Install FreeBSD6.2-RC1 amd64 (on an HP Proliant DL360G4P with HTT disabled to repeat in exactly same environment), Tomcat-5.5.20 from ports, Apache-2.2.3 from ports with mod_proxy and mod_proxy_ajp enabled, set up an ajp proxy to Tomcat in httpd.conf, and try to connect to Tomcat via the proxy.


>Fix:

>Release-Note:
>Audit-Trail:
>Unformatted:



More information about the freebsd-ports-bugs mailing list