AW: SYN dropping at reload time

2016-08-10 Thread Richert, Tim
DRAIN/MAINT the other instance What do you think? Tim -Ursprüngliche Nachricht- Von: Willy Tarreau [mailto:w...@1wt.eu] Gesendet: Dienstag, 9. August 2016 19:38 An: Aleksandar Lazic Cc: Lukas Tribus; haproxy@formilux.org Betreff: Re: SYN dropping at reload time On Tue, Aug 09, 201

Re: SYN dropping at reload time

2016-08-10 Thread Aleksandar Lazic
Dear Willy. Am 09-08-2016 19:37, schrieb Willy Tarreau: On Tue, Aug 09, 2016 at 05:06:15PM +0200, Aleksandar Lazic wrote: [snnipp] Yes that's true. that's a different concept. Note that it's not a matter of process but of socket. In SO_REUSEPORT mode we have multiple sockets for a same ip

Re: SYN dropping at reload time

2016-08-09 Thread Willy Tarreau
On Tue, Aug 09, 2016 at 05:06:15PM +0200, Aleksandar Lazic wrote: > > > Am 09-08-2016 17:03, schrieb Lukas Tribus: > > Am 09.08.2016 um 16:39 schrieb Aleksandar Lazic: > > > > > > > On Linux yes, because there is a race condition: > > > > > > > > http://lwn.net/Articles/542866/ > > > > http://e

Re: SYN dropping at reload time

2016-08-09 Thread Aleksandar Lazic
Am 09-08-2016 17:03, schrieb Lukas Tribus: Am 09.08.2016 um 16:39 schrieb Aleksandar Lazic: On Linux yes, because there is a race condition: http://lwn.net/Articles/542866/ http://engineeringblog.yelp.com/2015/04/true-zero-downtime-haproxy-reloads.html Thanks. So every Software on Linux

Re: SYN dropping at reload time

2016-08-09 Thread Lukas Tribus
Am 09.08.2016 um 16:39 schrieb Aleksandar Lazic: On Linux yes, because there is a race condition: http://lwn.net/Articles/542866/ http://engineeringblog.yelp.com/2015/04/true-zero-downtime-haproxy-reloads.html Thanks. So every Software on Linux should have this issue right? I'm one of t

Re: SYN dropping at reload time

2016-08-09 Thread Aleksandar Lazic
Hi Lukas. Am 09-08-2016 16:13, schrieb Lukas Tribus: Hi Aleksandar, Am 09.08.2016 um 13:42 schrieb Aleksandar Lazic: I know it's not the latest one ;-/. Is there really a possibility that at soft-reload incoming request are failed? On Linux yes, because there is a race condition: http://l

Re: SYN dropping at reload time

2016-08-09 Thread Lukas Tribus
Hi Aleksandar, Am 09.08.2016 um 13:42 schrieb Aleksandar Lazic: I know it's not the latest one ;-/. Is there really a possibility that at soft-reload incoming request are failed? On Linux yes, because there is a race condition: http://lwn.net/Articles/542866/ http://engineeringblog.yelp.co

SYN dropping at reload time

2016-08-09 Thread Aleksandar Lazic
Hi all. I just seen in the OpenShift repo the following comment. https://github.com/openshift/origin/blob/master/images/router/haproxy/reload-haproxy#L61-L63 ### # We install the syn eater so that connections that come in during the restart don't # go onto the wrong socket, which is then cl