Set Balancermember to ERROR on timeout of answer

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi there everyone,

I have a problem with LoadBalancing (Apache 2.2.3 on Redhat, Kernel
2.6.9-42.02.02).

Balancer config:
<Proxy balancer://testcluster>
  BalancerMember http://test1.desy.de:8080 smax=5 max=20 ttl=60 retry=60
timeout=3
  BalancerMember http://test1.desy.de:8010 smax=5 max=20 ttl=60 retry=60
timeout=3
  ProxySet lbmethod=byrequests timeout=20 maxattempts=1 nofailover=On
stickysession=SessId
</Proxy>

Everything works like a charm. One exception, though:
The Backend-DB-Apps on 8080 and 8010 sometimes need very long time to
finish delivering a page due to the nature of the applications.

Can I configure the Balancer any way that if waiting for a complete
answer (from opening of http-protokoll to complete page delivered) takes
longer then 10 seconds that it sets the Member to ERROR for new
requests?
The idea is to give one Member time to answer an existing complex
requests without sending additional requests to that Member.

Thanks in Advance /Carsten

------------------------------------------------------------------------
Carsten Germer         Deutsches Elektronen Synchrotron (Web-Office, IT)
phone:  +49-40-8998-1661                                    Notkestr. 85
web: http://wof.desy.de                                    22607 Hamburg
e-mail: carsten.germer@xxxxxxx                                   Germany
------------------------------------------------------------------------

---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@xxxxxxxxxxxxxxxx
   "   from the digest: users-digest-unsubscribe@xxxxxxxxxxxxxxxx
For additional commands, e-mail: users-help@xxxxxxxxxxxxxxxx



[Index of Archives]     [Open SSH Users]     [Linux ACPI]     [Linux Kernel]     [Linux Laptop]     [Kernel Newbies]     [Security]     [Netfilter]     [Bugtraq]     [Squid]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Video 4 Linux]     [Device Mapper]

  Powered by Linux