Found Nginx 1.19.0 stopped but no idea what happened

Francis Daly francis at daoine.org
Tue Jul 7 15:53:15 UTC 2020


On Mon, Jul 06, 2020 at 04:17:46AM -0400, Evald80 wrote:

Hi there,

> [root at web ~]# systemctl status nginx
> ● nginx.service - nginx - high performance web server
>    Loaded: loaded (/usr/lib/systemd/system/nginx.service; enabled; vendor
> preset: disabled)

What is the history of your nginx install?

Where did this /usr/lib/systemd/system/nginx.service come from?

This shows:

>   ExecStop=/bin/sh -c /bin/kill -s TERM $(/bin/cat
> /var/run/nginx.pid) (code=exited, status=0/SUCCESS)

and TERM is probably not the best signal to say "please close down
tidily".

https://www.nginx.com/resources/wiki/start/topics/examples/systemd/
uses QUIT.

Your (lack of) nginx -V output makes me think that you are running a
random third party module that is not exiting cleanly.

I don't know if you can see any pattern in your access.log for the request
that was handled just before your nginx stopped responding? That might
help make a reproduction case, which might in turn help isolate where
the problem is.

Good luck with it,

	f
-- 
Francis Daly        francis at daoine.org


More information about the nginx mailing list