httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Federico Mennite <federico.menn...@lifeware.ch>
Subject [users@httpd] Slow transaction on a balance member is holding subsequent requests
Date Fri, 01 Mar 2013 15:30:58 GMT
Hi,
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.lifeware.ch
   ProxyPass            /                balancer://session/ 
lbmethod=bybusyness
</VirtualHost>

Apache version 2.2.16, distributed with Debian Squeeze.

Thanks for your help!

Regards,
Federico




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


Mime
View raw message