Re: patch purpose//Re:[patch]fork: subprocess quit when parent died

2016-10-13 Thread Maxim Dounin
Hello!

On Thu, Oct 13, 2016 at 01:46:28PM +0800, 李林哲 wrote:

> Hi, Maxim. When master OOM, system daemon program like
> supervisord will trying to pull it up.  but it can’t be
> done because of worker binds the port.

This is because the service is still running.

And, as we can see from the answer, this behaviour only make sense 
if nginx is controlled using supervisord.  And even in this case 
it's questionable behaviour - because, again, the service is still 
running, and potentially important connections are still 
established.

No, thanks, the patch won't be accepted.

-- 
Maxim Dounin
http://nginx.org/

___
nginx-devel mailing list
nginx-devel@nginx.org
http://mailman.nginx.org/mailman/listinfo/nginx-devel

patch purpose//Re:[patch]fork: subprocess quit when parent died

2016-10-12 Thread 李林哲
Hi, ZhiDao. 
If master dies often as you said, I believe
community shell treat it as a bug and fix it ASAP.  
Personally I won't meet it frequently. Only
at when system OOM or user misoperation. Thanks. 
___
nginx-devel mailing list
nginx-devel@nginx.org
http://mailman.nginx.org/mailman/listinfo/nginx-devel

patch purpose//Re:[patch]fork: subprocess quit when parent died

2016-10-12 Thread 李林哲
Hi, Maxim. When master OOM, system daemon program like
supervisord will trying to pull it up.  but it can’t be
done because of worker binds the port. And i believe the master process shell
handler all the resources. Slaves shell not exist on its own.  
___
nginx-devel mailing list
nginx-devel@nginx.org
http://mailman.nginx.org/mailman/listinfo/nginx-devel