[nginx] nginx.pid doesn't exist

洪志道 hongzhidao at gmail.com
Wed Mar 15 11:10:10 UTC 2017


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

Thanks so much.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.nginx.org/pipermail/nginx-devel/attachments/20170315/e0409798/attachment.html>

More information about the nginx-devel mailing list