httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Germer, Carsten" <carsten.ger...@desy.de>
Subject [users@httpd] Set Balancermember to ERROR on timeout of answer
Date Wed, 10 Oct 2007 13:37:33 GMT
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@desy.de                                   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@httpd.apache.org
   "   from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org


Mime
View raw message