You are viewing a plain text version of this content. The canonical link for it is here.
Posted to bugs@httpd.apache.org by bu...@apache.org on 2002/09/09 08:59:42 UTC

DO NOT REPLY [Bug 12426] New: - mod_proxy broken under high load ?

DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://nagoya.apache.org/bugzilla/show_bug.cgi?id=12426>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://nagoya.apache.org/bugzilla/show_bug.cgi?id=12426

mod_proxy broken under high load ?

           Summary: mod_proxy broken under high load ?
           Product: Apache httpd-2.0
           Version: HEAD
          Platform: Other
        OS/Version: Linux
            Status: NEW
          Severity: Normal
          Priority: Other
         Component: mod_proxy
        AssignedTo: bugs@httpd.apache.org
        ReportedBy: amund.elstad@ergo.no


Hello,

I compiled Apache2 from CVS on Friday 6th and did some reverse-proxy testing 
and now I am worried about mod_proxy's behaviour under high load when proxy-
keepalive is enabled (the default). mod_proxy links the downstream keepalive
connection to the upstream connection to avoid breaking any load balancing (and 
to simplify synchronization?).

Using a simple setup with one virtual host using another virtual host as a 
(proxy) backend, I ran:

	ab -c 1 -n 10000 http://localhost/manual/index.html.en

With worker on my Linux-box the result was almost 5000 failed requests. With 
proxy-keepalive turned off the test ran without any problems. The logged error 
(looks like I am running out of sockets):

[error] (11)Resource temporarily unavailable: proxy: HTTP: attempt to connect 
to 127.0.0.1:1080 (localhost) failed

It seems to be no limit to the number of keepalive connections mod_proxy will 
spawn, and that every connection remains open until the keepalive-timeout 
expires.

---------------------------------------------------------------------
To unsubscribe, e-mail: bugs-unsubscribe@httpd.apache.org
For additional commands, e-mail: bugs-help@httpd.apache.org