Maxim Dounin
May 16, 2011 07:34AM
Hello!

On Fri, May 13, 2011 at 07:24:12PM -0400, Jocelyn Mocquant wrote:

> Hello,
>
> I'm dealing with a problem. When reloading the nginx configuration,
> all keepalived connections receive the TCP reset flag after I send a
> HUP signal to the master process. If I comment the line responsible for
> enabling the keepalive feature in the configuration, the problem
> disappear (nginx version is 0.9.7).

On configuration reloading nginx starts new worker processes with
new configuration and old worker processes are terminated as soon
as they finish processing of requests. All keepalive connections
in old workers are closed accordingly. HTTP/1.1 clients are
required to handle keepalive connection close, so this shoudln't
be a problem.

It's not clear why you see RST instead of normal close with
FIN/FIN+ACK/ACK (are you?), but this shouldn't the problem by
itself anyway.

Maxim Dounin

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

Keepalived Connections Reset after reloading the configuration (HUP Signal)

Jocelyn Mocquant May 13, 2011 07:24PM

Re: Keepalived Connections Reset after reloading the configuration (HUP Signal)

Maxim Dounin May 16, 2011 07:34AM

Re: Keepalived Connections Reset after reloading the configuration (HUP Signal)

Jocelyn Mocquant May 16, 2011 06:14PM

Re: Keepalived Connections Reset after reloading the configuration (HUP Signal)

darthhexx March 28, 2019 08:49PM

Re: Keepalived Connections Reset after reloading the configuration (HUP Signal)

zakirenish September 11, 2020 05:54PM

Re: Keepalived Connections Reset after reloading the configuration (HUP Signal)

tored October 07, 2020 04:29AM

Re: Keepalived Connections Reset after reloading the configuration (HUP Signal)

Maxim Dounin April 01, 2019 01:06PM

Re: Keepalived Connections Reset after reloading the configuration (HUP Signal)

Maxim Dounin October 07, 2020 09:56AM

Re: Keepalived Connections Reset after reloading the configuration (HUP Signal)

tored October 08, 2020 03:31AM

Re: Keepalived Connections Reset after reloading the configuration (HUP Signal)

Maxim Dounin October 12, 2020 04:16PM

Re: Keepalived Connections Reset after reloading the configuration (HUP Signal)

allenhe February 17, 2021 11:40PM

Re: Keepalived Connections Reset after reloading the configuration (HUP Signal)

allenhe February 18, 2021 03:14AM



Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 249
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