Safe to kill old pid's?
Sam Ghods
ceptorial at comcast.net
Thu Oct 26 17:05:13 MSD 2006
Running Centos 4.4 x86_64. Other commands I can run instead?
-Sam
On Oct 26, 2006, at 6:01 AM, Igor Sysoev wrote:
> 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
> http://sysoev.ru/en/
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://nginx.org/pipermail/nginx/attachments/20061026/ccaa09be/attachment.html>
More information about the nginx
mailing list