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 2008/07/21 11:57:54 UTC

DO NOT REPLY [Bug 45445] New: Connection Timeout vs. Request Timeout in reverse balanced proxies

https://issues.apache.org/bugzilla/show_bug.cgi?id=45445

           Summary: Connection Timeout vs. Request Timeout in reverse
                    balanced proxies
           Product: Apache httpd-2
           Version: 2.2.6
          Platform: PC
        OS/Version: Linux
            Status: NEW
          Severity: regression
          Priority: P2
         Component: mod_proxy_balancer
        AssignedTo: bugs@httpd.apache.org
        ReportedBy: federico.mennite@lifeware.ch


Up to the release of apache 2.2.4 the 'timeout' parameter of the BalancerMember
directive would affect only the connection timeout to the backend servers. This
allowed to set reasonably small timeout values(let's say 1 or 2 seconds) in a
scenario where the balancer and the backends would sit in the same LAN.
Starting from apache 2.2.6, it seems that the timeout value also affects the
backend request completion timeout.

Unfortunately some of our backend requests may take up to 10s to complete.
Increasing the timeout value to 15 seconds causes an annoying 'stall' behavior
when one of the backend servers becomes completely unreachable (e.g: power
failure).

I think it definitively makes sense to have both timeouts configurable
separately.


-- 
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.

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


DO NOT REPLY [Bug 45445] Connection Timeout vs. Request Timeout in reverse balanced proxies

Posted by bu...@apache.org.
https://issues.apache.org/bugzilla/show_bug.cgi?id=45445


michael.haas@brz.gv.at changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |michael.haas@brz.gv.at




-- 
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.

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


DO NOT REPLY [Bug 45445] Connection Timeout vs. Request Timeout in reverse balanced proxies

Posted by bu...@apache.org.
https://issues.apache.org/bugzilla/show_bug.cgi?id=45445





--- Comment #3 from Federico Mennite <fe...@lifeware.ch>  2008-08-19 05:09:34 PST ---
I successfully tested the changes from trunk on 2.2.9 in my environment.
Nice!


-- 
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.

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


DO NOT REPLY [Bug 45445] Connection Timeout vs. Request Timeout in reverse balanced proxies

Posted by bu...@apache.org.
https://issues.apache.org/bugzilla/show_bug.cgi?id=45445


rahul <ra...@sun.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Keywords|PatchAvailable              |FixedInTrunk




-- 
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.

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


DO NOT REPLY [Bug 45445] Connection Timeout vs. Request Timeout in reverse balanced proxies

Posted by bu...@apache.org.
https://issues.apache.org/bugzilla/show_bug.cgi?id=45445

--- Comment #5 from michael.haas@brz.gv.at 2009-10-28 14:17:57 UTC ---
*** Bug 44882 has been marked as a duplicate of this bug. ***

-- 
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.

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


DO NOT REPLY [Bug 45445] Connection Timeout vs. Request Timeout in reverse balanced proxies

Posted by bu...@apache.org.
https://issues.apache.org/bugzilla/show_bug.cgi?id=45445


Ruediger Pluem <rp...@apache.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|                            |FIXED




--- Comment #4 from Ruediger Pluem <rp...@apache.org>  2008-10-15 12:58:11 PST ---
Backported to 2.2.10


-- 
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.

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


DO NOT REPLY [Bug 45445] Connection Timeout vs. Request Timeout in reverse balanced proxies

Posted by bu...@apache.org.
https://issues.apache.org/bugzilla/show_bug.cgi?id=45445





--- Comment #2 from Ruediger Pluem <rp...@apache.org>  2008-08-09 13:57:22 PST ---
Committed a slightly modified version of the patch as r684341
(http://svn.apache.org/viewvc?rev=684341&view=rev) to trunk. It introduces a
'connectiontimeout' that sets the timeout for the connect call with 'timeout'
being the default.


-- 
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.

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


DO NOT REPLY [Bug 45445] Connection Timeout vs. Request Timeout in reverse balanced proxies

Posted by bu...@apache.org.
https://issues.apache.org/bugzilla/show_bug.cgi?id=45445





--- Comment #1 from rahul <ra...@sun.com>  2008-07-25 08:28:02 PST ---
Created an attachment (id=22318)
 --> (https://issues.apache.org/bugzilla/attachment.cgi?id=22318)
Allow request timeout to be set separate from connection timeout for proxies

This is used thus

ProxySet timeout=30 requesttimeout=5

the connection timeout is set to 30, and the timeout for socket io is set to 5


-- 
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.

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


DO NOT REPLY [Bug 45445] Connection Timeout vs. Request Timeout in reverse balanced proxies

Posted by bu...@apache.org.
https://issues.apache.org/bugzilla/show_bug.cgi?id=45445


rahul <ra...@sun.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Keywords|                            |PatchAvailable




-- 
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.

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