Welcome! Log In Create A New Profile

Advanced

Re: nginx: worker process is shutting down

Maxim Dounin
October 22, 2015 05:08PM
Hello!

On Thu, Oct 22, 2015 at 04:27:05PM +0300, Christos Chatzaras wrote:

> Every time I do "nginx -s reload" I see a process:
>
> nginx: worker process is shutting down
>
> This process never stops even after a long time.
>
> Any idea what cause this issue?

When shutting down, nginx waits for all active requests to be
finished (internally - by closing any idle connections while and
checking if there are any pending timers left). This may take a
long time, especially when using long polling or similar things.

If you see that shutting down never finishes though, and there are
no live connections as your lsof output suggests - this may
indicate a bug.

Note though that this can be easily caused by a 3rd party module,
so as a first step I would recommend checking "nginx -V" output
and recompiling without any 3rd party modules if there are any
(3rd party modules are explicitly marked in the port options).

[...]

--
Maxim Dounin
http://nginx.org/

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

nginx: worker process is shutting down

Christos Chatzaras October 22, 2015 09:28AM

Re: nginx: worker process is shutting down

Maxim Dounin October 22, 2015 05:08PM

Re: nginx: worker process is shutting down

Christos Chatzaras October 22, 2015 05:34PM

Re: nginx: worker process is shutting down

Christos Chatzaras October 22, 2015 05:44PM

Re: nginx: worker process is shutting down

wandenberg October 22, 2015 05:46PM



Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 133
Record Number of Users: 6 on February 13, 2018
Record Number of Guests: 421 on December 02, 2018
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready