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 2013/03/05 15:41:52 UTC
[Bug 54640] New: Slow transaction on a balance member is holding
subsequent requests
https://issues.apache.org/bugzilla/show_bug.cgi?id=54640
Bug ID: 54640
Summary: Slow transaction on a balance member is holding
subsequent requests
Product: Apache httpd-2
Version: 2.2.24
Hardware: PC
OS: Linux
Status: NEW
Severity: normal
Priority: P2
Component: mod_proxy_balancer
Assignee: bugs@httpd.apache.org
Reporter: federico.mennite@lifeware.ch
Classification: Unclassified
I've configured a reverse proxy with two workers with lbmethod=bybusyness
Given that the back-end servers are supporting only one single connection
concurrently I've configured each member with max=1
Now in a first connection to the server, I send a request to a resource that is
going to take 20 seconds to respond.
Short after, with a second connection I send a request to a resource that is
going respond immediately. Everything looks fine.
I send immediately a third request to retrieve the fast resource but I
unexpectedly have to wait that the first request has finished before getting an
answer to the third.
I was expecting the 'bybusyness' algorithm to give priority to the non busy
balancer member but instead it seems that it is queuing the third request to
the one being busy.
Is this behavior expected, should I confgiure somnething differently or can
this be considered a bug?
Config snippet:
<Proxy balancer://session>
BalancerMember http://10.10.1.1:26240 connectiontimeout=10 max=1
BalancerMember http://10.10.1.1:26241 connectiontimeout=10 max=1
</Proxy>
<VirtualHost 10.1.1.1:80>
KeepAlive On
ServerName session.example.ch
ProxyPass / balancer://session/ lbmethod=bybusyness
</VirtualHost>
Tested on Apache vanilla 2.2.24, and Apache 2.2.16 distributed with Debian
Squeeze.
--
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