Welcome! Log In Create A New Profile

Advanced

Re: Found Nginx 1.19.0 stopped but no idea what happened

Francis Daly
July 07, 2020 11:54AM
On Mon, Jul 06, 2020 at 04:17:46AM -0400, Evald80 wrote:

Hi there,

> [root@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@daoine.org
_______________________________________________
nginx mailing list
nginx@nginx.org
http://mailman.nginx.org/mailman/listinfo/nginx
Subject Author Posted

Found Nginx 1.19.0 stopped but no idea what happened

Evald80 July 01, 2020 02:56AM

Re: Found Nginx 1.19.0 stopped but no idea what happened

Evald80 July 02, 2020 08:28AM

Re: Found Nginx 1.19.0 stopped but no idea what happened

Francis Daly July 02, 2020 09:06AM

Re: Found Nginx 1.19.0 stopped but no idea what happened

J.R. July 02, 2020 09:56AM

Re: Found Nginx 1.19.0 stopped but no idea what happened

Evald80 July 02, 2020 12:17PM

Re: Found Nginx 1.19.0 stopped but no idea what happened

Evald80 July 06, 2020 04:17AM

Re: Found Nginx 1.19.0 stopped but no idea what happened

Francis Daly July 07, 2020 11:54AM

Re: Found Nginx 1.19.0 stopped but no idea what happened

Evald80 July 08, 2020 06:10AM

Re: Found Nginx 1.19.0 stopped but no idea what happened

Francis Daly July 09, 2020 01:04PM

Re: Found Nginx 1.19.0 stopped but no idea what happened

Evald80 July 13, 2020 03:19AM

Re: Found Nginx 1.19.0 stopped but no idea what happened

Evald80 July 15, 2020 07:56AM

Re: Found Nginx 1.19.0 stopped but no idea what happened

Evald80 August 03, 2020 05:24AM



Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 199
Record Number of Users: 8 on April 13, 2023
Record Number of Guests: 500 on July 15, 2024
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready