httpd-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Ruediger Pluem <>
Subject Re: setting request timeout in mod_proxy/mod_proxy_balancer
Date Mon, 22 Jan 2007 20:52:51 GMT

On 01/22/2007 08:29 PM, Lucas Brasilino wrote:
> Hi All:
> As I point out in:

Based on your configuration from above, the following should work:

ProxyRequests Off
<Proxy balancer://webcluster>
        BalancerMember http://server:9080 loadfactor=1 timeout=5
        BalancerMember http://localhost:9080 loadfactor=1 timeout=5
        ProxySet lbmethod=byrequests
ProxyPass /loadbalancer balancer://webcluster/
ProxyPassReverse /loadbalancer balancer://webcluster/
ProxyHTMLLogVerbose On
LogLevel Debug

Should set the timeout to 5 seconds. Take into account that this also means that the connection
will be closed if your backend takes more than 5 seconds to generate a response or if there
pauses by the backend during sending the response that last more than 5 seconds.



View raw message