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://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 the lucky person who have not faced this problem ;-).

But the same issue can happen with nginx, apache httpd, uwsgi, and so on also, right.

Thanks for sharing this information ;-)

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.

Cheers Aleks

Reply via email to