Re: Just a simple thought on health checks after a soft reload of HAProxy....

2014-02-23 Thread Malcolm Turnbull
Neil, Yes, peers are great for passing stick tables to the new HAProxy instance and any current connections bound to the old process will be fine. However any new connections will hit the new HAProxy process and if the backend server is down but haproxy hasn't health checked it yet then the user

Re: Fix for rare EADDRNOTAVAIL error

2014-02-23 Thread Vincent Bernat
❦ 23 février 2014 12:25 CET, Willy Tarreau  : >> I suppose this is in combination with SO_REUSEADDR (otherwise, bind() >> would fail). It's good to know: >> >> tcpESTAB 0 0 192.168.116.1:3754474.125.132.104:80 >> >> tcpESTAB 0 0 192.168.116.

Re: Fix for rare EADDRNOTAVAIL error

2014-02-23 Thread Willy Tarreau
On Sun, Feb 23, 2014 at 12:09:11PM +0100, Vincent Bernat wrote: > ??? 23 février 2014 10:31 CET, Willy Tarreau  : > > >> > It depends if you have some servers in common or not. The system will > >> > always allow multiple outgoing connections to share the same local > >> > source ip:port as long

Re: Fix for rare EADDRNOTAVAIL error

2014-02-23 Thread Vincent Bernat
❦ 23 février 2014 10:31 CET, Willy Tarreau  : >> > It depends if you have some servers in common or not. The system will >> > always allow multiple outgoing connections to share the same local >> > source ip:port as long as they don't go to the same destination ip:ports >> > since a connection is

Re: Just a simple thought on health checks after a soft reload of HAProxy....

2014-02-23 Thread Neil
Hello Regarding restarts, rather that cold starts, if you configure peers the state from before the restart should be kept. The new process haproxy creates is automatically a peer to the existing process and gets the state as was. Neil On 23 Feb 2014 03:46, "Patrick Hemmer" wrote: > > > > -

Backend marked DOWN, not being re-health-checked

2014-02-23 Thread pechspilz
Hello, I've been reading the manual back and forth but I haven't found out in what situations (except for maintenance mode) HAproxy stops L4 health-checking a backend. I'm using option persist for a particular backend and I'm not using option redispatch. Once the backend server goes down lon

Re: Fix for rare EADDRNOTAVAIL error

2014-02-23 Thread Willy Tarreau
Hi Vincent, On Sun, Feb 23, 2014 at 10:25:18AM +0100, Vincent Bernat wrote: > ??? 22 février 2014 14:55 CET, Willy Tarreau  : > > > It depends if you have some servers in common or not. The system will > > always allow multiple outgoing connections to share the same local > > source ip:port as l

Re: Fix for rare EADDRNOTAVAIL error

2014-02-23 Thread Vincent Bernat
❦ 22 février 2014 14:55 CET, Willy Tarreau  : > It depends if you have some servers in common or not. The system will > always allow multiple outgoing connections to share the same local > source ip:port as long as they don't go to the same destination ip:ports > since a connection is defined by