httpd-bugs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
Subject [Bug 57259] New: mod_proxy_ajp + apache 2.4 on windows not using TCP connection pool
Date Tue, 25 Nov 2014 14:39:33 GMT

            Bug ID: 57259
           Summary: mod_proxy_ajp + apache 2.4 on windows not using TCP
                    connection pool
           Product: Apache httpd-2
           Version: 2.4.10
          Hardware: PC
            Status: NEW
          Severity: normal
          Priority: P2
         Component: mod_proxy_ajp

1. Extract from apachelounge or apachehaus
2. Extract tomcat (ie.
3. Configure httpd:
   - enable mod_proxy
   - enable mod_proxy_ajp
   - configure connection to tomcat:
     ProxyPass / ajp://
     ProxyPassReverse / ajp:// 
4. Start tomcat.
5. Start httpd.
6. Open http://localhost/ by browser.
7. Observe number of TCP connections using: netstat -an when refreshing the

Each new connection from httpd to tomcat creates new TCP connection (ie.> All of them have TIME_WAIT status and are
destroyed by OS after 4 minutes (default value of TcpTimedWaitDelay on
windows). In extreme, number of TCP connection will exceed windows limit (by
default it's ~14K). I confirmed that by sending lots of request to apache one
by one.

I have check the same scenario using apache 2.2 on windows, and apache 2.4 on
linux. It works it different way. Httpd creates few
connections to tomcat and reuse them. They have ESTABLISHED status.

Occurs on Windows 7 64bit, Windows Server 2008 R2 64bit.

You are receiving this mail because:
You are the assignee for the bug.

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message