Welcome! Log In Create A New Profile

Advanced

Re: nginx restart trouble

All files from this thread

File Name File Size   Posted by Date  
nginx.init 2.5 KB open | download Gena Makhomed 08/31/2009 Read message
Gena Makhomed
August 31, 2009 10:49AM
On Monday, August 31, 2009 at 15:42:36, Juergen Gotteswinter wrote:

JG> i got some problems with nginx when a "/etc/init.d/nginx restart" is
JG> beeing done. Sometimes Nginx (doesnt matter which version... 0.6.x &
JG> 0.7.x seem to be affected) dies. Sometimes i see processes which are
JG> called "nginx shutting down" which keep running for minutes.

yes. this is bug in CentOS/EPEL nginx initscript.

JG> at the moment i fixed it with a sleep 1s in the nginx init script,
JG> but that couldnt be a final solution.

JG> OS is CentOS5

you never need "service nginx restart".
better solution is use "service nginx reload",
or "service nginx force-reload" (online upgrade).

fixed CentOS nginx initscript in attach.

--
Best regards,
Gena
Attachments:
open | download - nginx.init (2.5 KB)
Subject Author Posted

nginx restart trouble

Juergen Gotteswinter August 31, 2009 08:42AM

Re: nginx restart trouble

Mirosław Jaworski August 31, 2009 09:50AM

Re: nginx restart trouble

Istv August 31, 2009 10:05AM

Re: nginx restart trouble Attachments

Gena Makhomed August 31, 2009 10:49AM



Sorry, only registered users may post in this forum.

Click here to login

Online Users

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