Re: Detecting Flapping Service
Hi Jonathan, The "rise" directive did the trick for me. Thanks for your help. Amit On Aug 15, 2012, at 2:24 AM, Jonathan Matthews wrote: > On 14 August 2012 23:26, Amit More wrote: >> Hi, >> >> I have a Ubuntu Server 10.04 (64-bit) running HAProxy 1.4.21 in TCP mode and >> I was wondering if HAProxy is capable of detecting and removing a flapping >> service from the pool. If not, is there any workaround that'll take care of >> flapping services? Any help would be appreciated. > > Have you looked at the "rise" (and "fall") server parameters? > > Jonathan > -- > Jonathan Matthews > Oxford, London, UK > http://www.jpluscplusm.com/contact.html >
Detecting Flapping Service
Hi, I have a Ubuntu Server 10.04 (64-bit) running HAProxy 1.4.21 in TCP mode and I was wondering if HAProxy is capable of detecting and removing a flapping service from the pool. If not, is there any workaround that'll take care of flapping services? Any help would be appreciated. Thanks, Amit
Client Stickiness with Roundrobin Algorithm
Hello All, I have set up HAProxy (version 1.3.22 on Ubuntu Server 10.04 64-bit) with "source" as the load balancing algorithm and it works fine. I was wondering if i could configure HAProxy to use "roundrobin" with client timeout. What i mean is that the client should be timed out after some inactivity time and the client's request after the timeout should be served by the next available server. I have tried "roundrobin" with "timeout client 5m" but the client was timed out before the 5m timer expired. If i have understood the "timeout client" directive of the haproxy.cfg file correctly, then why is the client request routed to a different server before the timer (timeout client) expires? If I've got that totally wrong, can somebody please explain to me how to achieve stickiness with roundrobin (or leastconn) algorithm? Appreciate your time and help. Thanks, Amit