Re: node frequently goes down on another physical machine

2010-12-28 Thread Amit Nigam
Hi Willy, Thanks for your support, makes me believe I would solve this riddle. After updating to 1.4.10, sync-ing TC2 and LB1 times thru NTP, and using options tcp-smart-connect and tcp-smart-accept, I have seen significant improvments in server downtimes, retries and redispatches. But still I

subscribe

2010-12-28 Thread jordan
subscribe

Re: [FIX] http-pretend-keepalive and httpclose/tunnel mode

2010-12-28 Thread Willy Tarreau
On Tue, Dec 28, 2010 at 09:50:15PM +0100, Cyril Bonté wrote: > Le mardi 28 décembre 2010 21:35:09, Willy Tarreau a écrit : > > I also find it easier to understand that it will announce keep-alive to the > > server if we set WANT_KAL than if we set WANT_SCL. To me, it means > > "announce keep-alive

Re: [FIX] http-pretend-keepalive and httpclose/tunnel mode

2010-12-28 Thread Cyril Bonté
Le mardi 28 décembre 2010 21:35:09, Willy Tarreau a écrit : > I also find it easier to understand that it will announce keep-alive to the > server if we set WANT_KAL than if we set WANT_SCL. To me, it means > "announce keep-alive to the server, whatever you'll use with the client". > > If you agre

Re: [FIX] http-pretend-keepalive and httpclose/tunnel mode

2010-12-28 Thread Willy Tarreau
Hi Cyril, OK, now I understand better your logics on this one. Initially I didn't understand because I did not read the patch in its whole context, but given the remaining checks on the PR_O2_FAKE_KA later, I agree that your solution looks like the best one. I have tried it and I can confirm it do

PostgreSQL health check for haproxy 1.4

2010-12-28 Thread Rauf Kuliyev
Hello, I have written a small patch to enable a correct PostgreSQL health check in 1.4. You can grab it here: http://www.kuliyev.com/patch-haproxy It works similar to mysql-check with the very same parameters. E.g.: listen pgsql 127.0.0.1:5432 mode tcp option pgsql-check user pgsql serve

[FIX] http-pretend-keepalive and httpclose/tunnel mode

2010-12-28 Thread Cyril Bonté
Since haproxy 1.4.9, combining option httpclose and option http-pretend-keepalive can leave the connections opened until the backend keep-alive timeout is reached, providing bad performances. The same can occur when the proxy is in tunnel mode. This patch ensures that the server side connection is

Re: haproxy 1.4.10 with option http-pretent-keepalive is become very slow

2010-12-28 Thread Cyril Bonté
Le lundi 27 décembre 2010 20:25:08, Willy Tarreau a écrit : > I'm not very fond of performing a close in the tunnel mode. Same here, but as http-pretend-keepalive has an effect in tunnel mode since 1.4.9, I firstly tried to limit this side effect. But it's surely better to completely ignore http

Re: So now you're on LinkedIn: What's next?

2010-12-28 Thread John Marrett
I have changed "our" settings to disable these messages. -JohnF