nginx restart trouble
leccine at gmail.com
Mon Aug 31 18:05:50 MSD 2009
i like when somebody asking something and instead of answering his/her
question you ask back why do you want to do that
i guess you have to check you init script and see what is happening exactly,
i have seen on some OSes had problem with broken init script instead of the
actual service eg. nginx in this case
i haven't seen the whole thread but would you mind to paste that script to
pastie.org to check?
2009/8/31 Mirosław Jaworski <mjaw at ikp.pl>
> 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."
the sun shines for all
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the nginx