modified the algorithm for terminate worker process.
modified the algorithm for terminate worker process.

Sets pid to shared memory instead of flag.
Unfortunately kill(self-pid, SIGQUIT) does not work.

cubicdaiya/ngx_bumpylife