Bug 106445 - mod_proxy_ajp very slow on FreeBSD 6.2-RC1 amd64
Summary: mod_proxy_ajp very slow on FreeBSD 6.2-RC1 amd64
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: Normal Affects Only Me
Assignee: freebsd-apache (Nobody)
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-12-07 13:30 UTC by niek
Modified: 2009-01-12 02:22 UTC (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description niek 2006-12-07 13:30:07 UTC
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.
Comment 1 Edwin Groothuis freebsd_committer freebsd_triage 2006-12-07 20:54:06 UTC
Responsible Changed
From-To: freebsd-ports-bugs->clement

Over to maintainer
Comment 2 Martin Wilke freebsd_committer freebsd_triage 2008-08-15 00:22:58 UTC
State Changed
From-To: open->feedback

Could you please test if this issue still exists with an fresh ports 
tree? Thanks for your report.
Comment 3 niek 2008-08-18 13:14:12 UTC
Thanks for the late reply. I will test again, but it will take a while
until I have a proper environment to do so.
Comment 4 Philip M. Gollucci freebsd_committer freebsd_triage 2008-12-27 20:27:58 UTC
Responsible Changed
From-To: clement->apache

apache team
Comment 5 Philip M. Gollucci freebsd_committer freebsd_triage 2009-01-12 02:22:05 UTC
State Changed
From-To: feedback->closed

Feedback timeout (> 7 months)