Spawning of Nginx worker process

shivramg94 nginx-forum at forum.nginx.org
Thu Apr 20 21:31:22 UTC 2017


Hi All,

When we issue a reload to Nginx binary (<binary_location> -s reload), what
are the steps involved inthe spawning of new set of worker processes? 

Is it something like, while the older worker processes are still running or
are serving in flight requests, Nginx spawns the newer worker processes and
then brings down the older processes once they have served all the accepted
requests?

Also, is there any chance where one of  the spawned up newer worker
processes after reload, uses the PID of the older/earlier running Nginx
worker process?

Thanks,
Shiv

Posted at Nginx Forum: https://forum.nginx.org/read.php?2,273770,273770#msg-273770



More information about the nginx mailing list