nginx restart trouble

Mirosław Jaworski mjaw at
Mon Aug 31 17:50:54 MSD 2009

On Mon, 2009-08-31 at 14:42 +0200, Juergen Gotteswinter wrote:
> i got some problems with nginx when a "/etc/init.d/nginx restart" is 
> beeing done. Sometimes Nginx (doesnt matter which version... 0.6.x & 
> 0.7.x seem to be affected) dies. Sometimes i see processes which are 
> called "nginx shutting down" which keep running for minutes.
> at the moment i fixed it with a sleep 1s in the nginx init script, but 
> that couldnt be a final solution.

Correct me if i'm wrong, but you shouldn't need a 'restart' in
production. Even when upgrading. Why do you use 'restart'?

Mirosław "Psyborg" Jaworski
GCS/IT d- s+:+ a C++$ UBI++++$ P+++$ L- E--- W++(+++)$ N++ o+ K- w-- O-
M- V- PS+ PE++ Y+ PGP t 5? X+ R++ !tv b++(+++) DI++ D+ G e* h++ r+++ y?
     "I have the body of an eighteen year old. I keep it in the fridge."

More information about the nginx mailing list