nginx restart trouble
Gena Makhomed
gmm at csdoc.com
Mon Aug 31 18:49:03 MSD 2009
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
-------------- next part --------------
A non-text attachment was scrubbed...
Name: nginx.init
Type: application/octet-stream
Size: 2509 bytes
Desc: not available
URL: <http://nginx.org/pipermail/nginx/attachments/20090831/c869c687/attachment.obj>
More information about the nginx
mailing list