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

Maxim Dounin mdounin at mdounin.ru
Thu Oct 13 03:04:11 UTC 2016


Hello!

On Thu, Oct 13, 2016 at 08:38:56AM +0800, 李林哲 wrote:

> This patch is solving the problem that the sub process (worker 
> process) will not quit when master process quits on SIGKILL. 
> which will be done by OS (especially Linux) when system meet 
> OOM.

Why do you think that worker processes should exit when master 
process is killed by OOM?  I would rather say they shouldn't and 
should continue to work as long as they can.

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



More information about the nginx-devel mailing list