<div dir="ltr"><div class="gmail_default" style="font-size:small;color:rgb(51,51,153)">That worker states indicates that the old workers are still busy.<br><br></div><div class="gmail_default" style="font-size:small;color:rgb(51,51,153)">
Signaling nginx for a reload (through 'reload' service command or sending HUP to the master, which all does the latter), <b>graciously</b> shuts old workers down, that means leaving them finishing what they are doing without accepting new tasks.<br>
<div class="gmail_default" style="font-size:small;color:rgb(51,51,153);display:inline">You have resources to <a href="http://nginx.org/en/docs/control.html">learn how to control nginx</a></div><div class="gmail_default" style="font-size:small;color:rgb(51,51,153);display:inline">
.</div><br><br></div><div class="gmail_default" style="font-size:small;color:rgb(51,51,153)">So: your workers are busy.<br></div><div class="gmail_default" style="font-size:small;color:rgb(51,51,153)">If you look at your network table, you will most probably find out that those processes are attached to existing connections.<br>
</div><br><div class="gmail_default" style="font-size:small;color:rgb(51,51,153);display:inline">You may want to dig on why those workers are busy and the reason for the connections being held open (file transfer? connection timeout not expired? request being processed?)<br>
</div><div class="gmail_extra"><div><font size="1"><span style="color:rgb(102,102,102)">---<br></span><b><span style="color:rgb(102,102,102)">B. R.</span></b><span style="color:rgb(102,102,102)"></span></font></div>
<br><br><div class="gmail_quote">On Tue, Jul 22, 2014 at 5:12 AM, Harold.Miao <span dir="ltr"><<a href="mailto:miaohonghit@gmail.com" target="_blank">miaohonghit@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
Do you have any good suggestions?<div><br></div><div>Thanks in advance!<br><br>Roman Arutyunyan <<a href="mailto:arutyunyan.roman@gmail.com" target="_blank">arutyunyan.roman@gmail.com</a>>于2014年7月21日星期一写道:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div dir="ltr">Reload will not work properly with rtmp since rtmp connections are long unlike http.</div><div class="gmail_extra"><br><br><div class="gmail_quote">On Mon, Jun 16, 2014 at 11:19 AM, Harold.Miao <span dir="ltr"><<a>miaohonghit@gmail.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><span style="color:rgb(0,0,0);font-family:'Helvetica Neue',Helvetica,Arial,sans-serif;font-size:15px">hi all</span><div style="color:rgb(0,0,0);font-family:'Helvetica Neue',Helvetica,Arial,sans-serif;font-size:15px">
<br></div><div style="color:rgb(0,0,0);font-family:'Helvetica Neue',Helvetica,Arial,sans-serif;font-size:15px">I use a endless rtmp stream</div><div style="color:rgb(0,0,0);font-family:'Helvetica Neue',Helvetica,Arial,sans-serif;font-size:15px">
<br></div><div style="color:rgb(0,0,0);font-family:'Helvetica Neue',Helvetica,Arial,sans-serif;font-size:15px">/usr/local/nginx/wsgi/ffmpeg -i haha.mp4 -c:v libx264 -b:v 500k -c:a copy -f flv rtmp://<a href="http://172.16.205.50:1936/publish/you" target="_blank">172.16.205.50:1936/publish/you</a></div>
<div style="color:rgb(0,0,0);font-family:'Helvetica Neue',Helvetica,Arial,sans-serif;font-size:15px"><br></div><div style="color:rgb(0,0,0);font-family:'Helvetica Neue',Helvetica,Arial,sans-serif;font-size:15px">
as you known, if I use nginx -s reload , then I got a lot of "<span style="color:rgb(51,51,51);font-family:Consolas,Inconsolata,Courier,monospace;font-size:12px;line-height:15.600000381469727px;white-space:pre-wrap;background-color:rgb(248,248,255)">nginx: worker process is shutting down</span>"</div>
<div style="color:rgb(0,0,0);font-family:'Helvetica Neue',Helvetica,Arial,sans-serif;font-size:15px"><br></div><div style="color:rgb(0,0,0);font-family:'Helvetica Neue',Helvetica,Arial,sans-serif;font-size:15px">
</div><div><pre style="font-family:Consolas,Inconsolata,Courier,monospace;font-size:1em;line-height:1.2em;margin:1.2em 0px"><code style="font-size:0.85em;font-family:Consolas,Inconsolata,Courier,monospace;margin:0px 0.15em;white-space:pre-wrap;overflow:auto;border-top-left-radius:3px;border-top-right-radius:3px;border-bottom-right-radius:3px;border-bottom-left-radius:3px;border:1px solid rgb(204,204,204);padding:0.5em;color:rgb(51,51,51);display:block!important;background:rgb(248,248,255)">pplive 15355 13642 0 14:56 ? 00:00:00 nginx: worker process is shutting down
pplive 15356 13642 0 14:56 ? 00:00:00 nginx: worker process is shutting down
pplive 15357 13642 0 14:56 ? 00:00:00 nginx: worker process is shutting down
pplive 15358 13642 0 14:56 ? 00:00:00 nginx: worker process is shutting down
pplive 15359 13642 0 14:56 ? 00:00:00 nginx: worker process is shutting down
pplive 15360 13642 0 14:56 ? 00:00:00 nginx: worker process is shutting down
</code></pre>
<div title="MDH:PGRpdiBzdHlsZT0iY29sb3I6IHJnYigwLCAwLCAwKTsgZm9udC1mYW1pbHk6ICdIZWx2ZXRpY2Eg
TmV1ZScsIEhlbHZldGljYSwgQXJpYWwsIHNhbnMtc2VyaWY7IGZvbnQtc2l6ZTogMTVweDsiPmBg
YHNoZWxsPC9kaXY+PGRpdiBzdHlsZT0iY29sb3I6IHJnYigwLCAwLCAwKTsgZm9udC1mYW1pbHk6
ICdIZWx2ZXRpY2EgTmV1ZScsIEhlbHZldGljYSwgQXJpYWwsIHNhbnMtc2VyaWY7IGZvbnQtc2l6
ZTogMTVweDsiPjxkaXY+cHBsaXZlICZuYnNwOyAxNTM1NSAxMzY0MiAmbmJzcDswIDE0OjU2ID8g
Jm5ic3A7ICZuYnNwOyAmbmJzcDsgJm5ic3A7MDA6MDA6MDAgbmdpbng6IHdvcmtlciBwcm9jZXNz
IGlzIHNodXR0aW5nIGRvd248L2Rpdj48ZGl2PnBwbGl2ZSAmbmJzcDsgMTUzNTYgMTM2NDIgJm5i
c3A7MCAxNDo1NiA/ICZuYnNwOyAmbmJzcDsgJm5ic3A7ICZuYnNwOzAwOjAwOjAwIG5naW54OiB3
b3JrZXIgcHJvY2VzcyBpcyBzaHV0dGluZyBkb3duPC9kaXY+PGRpdj5wcGxpdmUgJm5ic3A7IDE1
MzU3IDEzNjQyICZuYnNwOzAgMTQ6NTYgPyAmbmJzcDsgJm5ic3A7ICZuYnNwOyAmbmJzcDswMDow
MDowMCBuZ2lueDogd29ya2VyIHByb2Nlc3MgaXMgc2h1dHRpbmcgZG93bjwvZGl2PjxkaXY+cHBs
aXZlICZuYnNwOyAxNTM1OCAxMzY0MiAmbmJzcDswIDE0OjU2ID8gJm5ic3A7ICZuYnNwOyAmbmJz
cDsgJm5ic3A7MDA6MDA6MDAgbmdpbng6IHdvcmtlciBwcm9jZXNzIGlzIHNodXR0aW5nIGRvd248
L2Rpdj48ZGl2PnBwbGl2ZSAmbmJzcDsgMTUzNTkgMTM2NDIgJm5ic3A7MCAxNDo1NiA/ICZuYnNw
OyAmbmJzcDsgJm5ic3A7ICZuYnNwOzAwOjAwOjAwIG5naW54OiB3b3JrZXIgcHJvY2VzcyBpcyBz
aHV0dGluZyBkb3duPC9kaXY+PGRpdj5wcGxpdmUgJm5ic3A7IDE1MzYwIDEzNjQyICZuYnNwOzAg
MTQ6NTYgPyAmbmJzcDsgJm5ic3A7ICZuYnNwOyAmbmJzcDswMDowMDowMCBuZ2lueDogd29ya2Vy
IHByb2Nlc3MgaXMgc2h1dHRpbmcgZG93bjwvZGl2PjxkaXY+YGBgPC9kaXY+PC9kaXY+" style="min-height:0px;font-size:0em;padding:0px;margin:0px"></div></div><div style="color:rgb(0,0,0);font-family:'Helvetica Neue',Helvetica,Arial,sans-serif;font-size:15px">
<div></div><div><br></div><div>because the connection will not quit, so "<span style="color:rgb(51,51,51);font-family:Consolas,Inconsolata,Courier,monospace;font-size:12px;line-height:15.600000381469727px;white-space:pre-wrap;background-color:rgb(248,248,255)">nginx: worker process is shutting down</span>" more and more</div>
<div><br></div><div>so How to aviod this status using "nginx -s reload"</div><span><font color="#888888"><div><br></div></font></span></div><span><font color="#888888"><div><br></div>
-- <br><br> Best Regards, <br>Harold Miao<br>
</font></span></div><span><font color="#888888">
<p></p>
-- <br>
You received this message because you are subscribed to the Google Groups "nginx-rtmp" group.<br>
To unsubscribe from this group and stop receiving emails from it, send an email to <a>nginx-rtmp+unsubscribe@googlegroups.com</a>.<br>
Visit this group at <a href="http://groups.google.com/group/nginx-rtmp" target="_blank">http://groups.google.com/group/nginx-rtmp</a>.<br>
For more options, visit <a href="https://groups.google.com/d/optout" target="_blank">https://groups.google.com/d/optout</a>.<br>
</font></span></blockquote></div><br><br clear="all"><div><br></div>-- <br><span class="HOEnZb"><font color="#888888">--<div>Roman Arutyunyan</div>
</font></span></div><span class="HOEnZb"><font color="#888888">
</font></span></blockquote></div><span class="HOEnZb"><font color="#888888"><br><br>-- <br><br> Best Regards, <br>Harold Miao<br> <br>
</font></span><br>_______________________________________________<br>
nginx mailing list<br>
<a href="mailto:nginx@nginx.org">nginx@nginx.org</a><br>
<a href="http://mailman.nginx.org/mailman/listinfo/nginx" target="_blank">http://mailman.nginx.org/mailman/listinfo/nginx</a><br></blockquote></div><br></div></div>