:)))<br><br>i like when somebody asking something and instead of answering his/her question you ask back why do you want to do that<br><br>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<br>
<br>i haven't seen the whole thread but would you mind to paste that script to <a href="http://pastie.org">pastie.org</a> to check?<br><br><br><div class="gmail_quote">2009/8/31 Mirosław Jaworski <span dir="ltr"><mjaw@ikp.pl></span><br>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">On Mon, 2009-08-31 at 14:42 +0200, Juergen Gotteswinter wrote:<br>
> i got some problems with nginx when a "/etc/init.d/nginx restart" is<br>
> beeing done. Sometimes Nginx (doesnt matter which version... 0.6.x &<br>
> 0.7.x seem to be affected) dies. Sometimes i see processes which are<br>
> called "nginx shutting down" which keep running for minutes.<br>
><br>
> at the moment i fixed it with a sleep 1s in the nginx init script, but<br>
> that couldnt be a final solution.<br>
<br>
Correct me if i'm wrong, but you shouldn't need a 'restart' in<br>
production. Even when upgrading. Why do you use 'restart'?<br>
<font color="#888888"><br>
--<br>
Mirosław "Psyborg" Jaworski<br>
GCS/IT d- s+:+ a C++$ UBI++++$ P+++$ L- E--- W++(+++)$ N++ o+ K- w-- O-<br>
M- V- PS+ PE++ Y+ PGP t 5? X+ R++ !tv b++(+++) DI++ D+ G e* h++ r+++ y?<br>
"I have the body of an eighteen year old. I keep it in the fridge."<br>
<br>
<br>
</font></blockquote></div><br><br clear="all"><br>-- <br>the sun shines for all<br>