Safe to kill old pid's?

Igor Sysoev is at
Thu Oct 26 17:01:29 MSD 2006

On Thu, 26 Oct 2006, Sam Ghods wrote:

> If I did a kill -HUP on the nginx master process, and a few days later there 
> are still a couple processes that still say "nginx: worker process is 
> shutting down", is it safe to simply run a kill command on this individual 
> worker processes? Will it interrupt nginx or make it unstable in any way?

You can kill -TERM or kill -INT them. It's safe.

> Any idea why this might occur?

If you running using FreeBSD, what do the commands

ps ax -o pid,ppid,%cpu,vsz,wchan,command|egrep '(nginx|PID)'

fstat | grep 'nginx.*tcp' | awk '{print $3}' | sort | uniq -c

show ?

Igor Sysoev

More information about the nginx mailing list