Re: How to kill a respawning process
From: Laurenz Albe (invite_at_spam.to.invalid)
Date: 08/08/05
- Next message: Laurenz Albe: "Re: JVM 1.0"
- Previous message: jarmo: "Aix and Windows using same Filesystem"
- In reply to: Ashutosh: "How to kill a respawning process"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Date: 08 Aug 2005 07:05:53 GMT
Ashutosh <hiashutosh@gmail.com> wrote:
> In one of our p-series server, we had one "find" command scheduled in
> crontab.
> when the command got executed, it was killed with the help of kill -9.
> Now since then,(from 20th july) its in a hangning state & its consuming
> a lot of CPU time.
>
> ps -ef |grep find|grep -v grep
>
> root 229574 1 120 Jul 20 - 23938:32 find / -name
> f60*dump* -print
>
> Everytime we try to kill it comes back again...
> We will not be able to reboot our server....
If it is really consuming CPU time, the process is NOT hanging in kernel
space (unless there is a kernel bug). That would be good news.
The ps output you are showing is of a process started on July 20.
Was this taken before you started your kill attempts?
When you kill the process with 'kill -9' and you repeat the ps command,
does the 'resurrected' process have a different PID?
If yes, then search for the program that keeps restarting the 'find'.
Maybe it is cron or init.
If not, then the process is stuck in kernel space, and it is NOT consuming
lots of CPU time. In that case it will not be easy to get rid of the process.
You might have to resort to a reboot if you cannot fix the condition
that keeps the process hanging (broken NFS mount?).
The good news is that the process will not consume many resources, so
you can live with it.
Yours,
Laurenz Albe
- Next message: Laurenz Albe: "Re: JVM 1.0"
- Previous message: jarmo: "Aix and Windows using same Filesystem"
- In reply to: Ashutosh: "How to kill a respawning process"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Relevant Pages
|