Welcome! Log In Create A New Profile

Advanced

Draining keepalive connections during reload

Kamil Gorlo
October 17, 2018 04:56AM
Hi,

according to https://trac.nginx.org/nginx/ticket/1022#comment:1 and in this
mailing list archives, when there is configuration reload, keep-alive
connections are closed.

Is there a way to "drain" them? What I would like to have is to provide
some hard limit in configuration (in seconds) to let the client close the
connection on their side, if that doesn't happen in given timeout ONLY THEN
connections are closed.

This of course will make reload procedure longer, but in our case it would
be really useful and prevent us from reconnect storm during upgrades on our
edge infrastructure.

OR maybe somebody already have some patch to do that (I saw some attempts
in the archives)?

Cheers,
Kamil
_______________________________________________
nginx mailing list
nginx@nginx.org
http://mailman.nginx.org/mailman/listinfo/nginx
Subject Author Posted

Draining keepalive connections during reload

Kamil Gorlo October 17, 2018 04:56AM



Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 297
Record Number of Users: 8 on April 13, 2023
Record Number of Guests: 421 on December 02, 2018
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready