nginx -s reload problem

B.R. reallfqq-nginx at yahoo.fr
Tue Jul 22 14:11:21 UTC 2014


That worker states indicates that the old workers are still busy.

Signaling nginx for a reload (through 'reload' service command or sending
HUP to the master, which all does the latter), *graciously* shuts old
workers down, that means leaving them finishing what they are doing without
accepting new tasks.
You have resources to learn how to control nginx
<http://nginx.org/en/docs/control.html>​
​.​


So: your workers are busy.
If you look at your network table, you will most probably find out that
those processes are attached to existing connections.

​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?)
---
*B. R.*


On Tue, Jul 22, 2014 at 5:12 AM, Harold.Miao <miaohonghit at gmail.com> wrote:

> Do you have any good suggestions?
>
> Thanks in advance!
>
> Roman Arutyunyan <arutyunyan.roman at gmail.com>于2014年7月21日星期一写道:
>
>> Reload will not work properly with rtmp since rtmp connections are long
>> unlike http.
>>
>>
>> On Mon, Jun 16, 2014 at 11:19 AM, Harold.Miao <miaohonghit at gmail.com>
>> wrote:
>>
>>> hi all
>>>
>>> I use a endless rtmp stream
>>>
>>> /usr/local/nginx/wsgi/ffmpeg  -i  haha.mp4 -c:v libx264 -b:v 500k -c:a
>>> copy  -f flv rtmp://172.16.205.50:1936/publish/you
>>>
>>> as you known, if  I use nginx -s reload , then I got a lot of  "nginx:
>>> worker process is shutting down"
>>>
>>> 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
>>>
>>>>>>
>>> because the connection will not quit, so "nginx: worker process is
>>> shutting down"  more and more
>>>
>>> so How to aviod this status  using "nginx -s reload"
>>>
>>>
>>> --
>>>
>>> Best Regards,
>>> Harold Miao
>>>
>>> --
>>> You received this message because you are subscribed to the Google
>>> Groups "nginx-rtmp" group.
>>> To unsubscribe from this group and stop receiving emails from it, send
>>> an email to nginx-rtmp+unsubscribe at googlegroups.com.
>>> Visit this group at http://groups.google.com/group/nginx-rtmp.
>>> For more options, visit https://groups.google.com/d/optout.
>>>
>>
>>
>>
>> --
>> --
>> Roman Arutyunyan
>>
>
>
> --
>
> Best Regards,
> Harold Miao
>
>
> _______________________________________________
> nginx mailing list
> nginx at nginx.org
> http://mailman.nginx.org/mailman/listinfo/nginx
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.nginx.org/pipermail/nginx/attachments/20140722/ca58a32e/attachment.html>


More information about the nginx mailing list