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.com/2015/04/true-zero-downtime-haproxy-reloads.html
OpenBSD does not suffer from this problem (but it also does not
load-balance between processes).
Linux 4.6 allows to attach BPF filters to the TCP sockets of a
SO_REUSEPORT "group", maybe that way we can drain the socket of the
"closing process" gracefully in the future.
Regards,
Lukas