Cannot kill process [not fixed]
Here's the process I need to kill. (It's caught in a loop)
Code:
USER PID %CPU %MEM VSZ RSS TTY STAT START TIME COMMAND |
Have you tried to use "kill -9 PID" ? (kill -9 2717 in the example)
|
Has it got a parent PID still that you could kill?
Cheers, Tink |
Yes. Last night I did. Tried again:
Code:
[zeno@boralis iyg]$ ps ux No parent either: Code:
[zeno@boralis iyg]$ pstree -G zeno |
Quote:
which he had done anyway ... Cheers, Tink |
Quote:
and can you tell us what the program does? Maybe it's an I/O wait, a file lock ... what does lsof say in respect to it? Cheers, Tink |
Code:
[zeno@boralis iyg]$ ps -l See: http://www.mudconnect.com/mudfaq/mudfaq-p1.html lsof? I don't think the host has that installed. [EDIT] Okay, lsof has a manual, but no such command. |
Well ... this may sound odd ... but is the process gone now,
by any chance? It should be showing in ls -l if it was still hanging in there ... as for the lsof ... it's probably just not in your path. Try with /usr/sbin/lsof or /sbin/lsof ... ;) Cheers, Tink |
The process is still there:
Code:
[zeno@boralis src]$ ps ux Code:
[zeno@boralis sbin]$ ./lsof -p 2717 |
Here's the process under -xl:
Code:
[zeno@boralis iyg]$ ps xl |
Quote:
|
Well, here's some background info on the parent process that ran it. It was a script named "startup" but as soon as I saw the process "lock up" I tried killing the process. That didn't work, so I killed the startup script process next. It was killed fine. Yet this process still hangs.
|
In that case you'll have to wait for the reboot of
the box - I don't know of any other ways of getting the misbehaving tool back into line. Cheers, Tink |
Well, I fixed it with some help.
Code:
[zeno@boralis iyg]$ strace -p 31177 Code:
[zeno@boralis iyg]$ strace -p 31177 |
All times are GMT -5. The time now is 09:26 AM. |