What causes the nginx.pid file doesn't exist but the master and worker process are still running?
This situation happens when we upgrade nginx.
kill -USR2 pid; sleep n; kill -QUIT oldpid;
I check the code in ngx_pross_cycle.c and ngx_process.c, it seems nginx dose perfectly guarantee that pid file and master process are always exist together.
Thanks so much. B.R.