﻿id	summary	reporter	owner	description	type	status	priority	milestone	component	version	resolution	keywords	cc	uname	nginx_version
1683	ngx_parent in ngx_daemon() can not work properly?	chronolaw@…		"In function ngx_daemon(), after fork the child would run

ngx_parent = ngx_pid;

But the parent process will call exit(0) and terminate, so the init process will be the parent of the master process, cause the var ngx_parent to be nonsense.

Should we call get_ppid() in ngx_master_process_cycle() to get the proper parent?

Thanks."	defect	closed	minor		nginx-core	1.15.x	invalid				nginx version: nginx/1.15.6
