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