 |
 |
Unstoppable Process?
|
 |
|
 |
|
Professional Poster
Join Date: Oct 2001
Location: London
Status:
Offline
|
|
Hi,
I have a bit of software, which acts as my answering machine on one of my macs.
However, there is a bug in it which causes it to go unresponsive at certain times.
The weird thing is that once this happens, the app cannot be force-quit!
Force-quitting through the GUI fails silently, and trying to quit it through the shell fares no better:
Code:
Last login: Tue Feb 15 15:26:42 on ttyp1
Welcome to Darwin!
Widebook:~ diggory$ ssh monkeyserver
Last login: Tue Feb 15 14:54:34 2005
Welcome to Darwin!
MonkeyServer:~ diggory$ ps -ax | grep "Phlink"
602 ?? E 0:00.00 (Ovolab Phlink)
603 ?? S 0:00.62 /Users/diggory/Applications/Ovolab Phlink.app/Contents/Resources/PhlinkHelper.app/Contents/MacOS/PhlinkHe
20317 std S+ 0:00.01 grep Phlink
MonkeyServer:~ diggory$ kill 602
MonkeyServer:~ diggory$ ps -ax | grep "Phlink"
602 ?? E 0:00.00 (Ovolab Phlink)
603 ?? S 0:00.62 /Users/diggory/Applications/Ovolab Phlink.app/Contents/Resources/PhlinkHelper.app/Contents/MacOS/PhlinkHe
20319 std S+ 0:00.01 grep Phlink
MonkeyServer:~ diggory$ kill -9 602
MonkeyServer:~ diggory$ ps -ax | grep "Phlink"
602 ?? E 0:00.00 (Ovolab Phlink)
603 ?? S 0:00.62 /Users/diggory/Applications/Ovolab Phlink.app/Contents/Resources/PhlinkHelper.app/Contents/MacOS/PhlinkHe
20323 std R+ 0:00.00 grep Phlink
MonkeyServer:~ diggory$ sudo kill 602
Password:
MonkeyServer:~ diggory$ ps -ax | grep "Phlink"
602 ?? E 0:00.00 (Ovolab Phlink)
603 ?? S 0:00.62 /Users/diggory/Applications/Ovolab Phlink.app/Contents/Resources/PhlinkHelper.app/Contents/MacOS/PhlinkHe
20326 std S+ 0:00.01 grep Phlink
MonkeyServer:~ diggory$
This means I cannot log-out - or restart, and am forced to hard-reset (not good.)
Any ideas how to kill the process?
|
|
|
| |
|
|
|
 |
|
 |
|
Clinically Insane
Join Date: Nov 1999
Status:
Offline
|
|
Try using the -9 option on kill. The result, assuming the offending app has a PID of 602 (as in your example), would look like:
-9 is The Big Guns, and not something you want to use unless you absolutely have to, because it can have unpredictable effects depending on the app you are killing, and mis-typing the PID so that you kill the wrong app can be disastrous depending on what it is. But the app that you use this on will go down.
|
|
You are in Soviet Russia. It is dark. Grue is likely to be eaten by YOU!
|
| |
|
|
|
 |
|
 |
|
Clinically Insane
Join Date: Jun 2001
Location: planning a comeback !
Status:
Offline
|
|
Originally posted by Diggory Laycock:
This means I cannot log-out - or restart, and am forced to hard-reset (not good.)
Any ideas how to kill the process?
Other than what Millenium said, I dunno how to kill the process, but instead of hard-reset, try "sudo shutdown -r now"
-t
|
|
|
| |
|
|
|
 |
|
 |
|
Professional Poster
Join Date: Oct 2001
Location: London
Status:
Offline
|
|
sudo kill -9 had no effect.
Argh! Unstoppable!
The sudo shutdown command worked well though - nice clean restart.
|
|
|
| |
|
|
|
 |
|
 |
|
Clinically Insane
Join Date: Jun 2001
Location: planning a comeback !
Status:
Offline
|
|
Originally posted by Diggory Laycock:
sudo kill -9 had no effect.
Argh! Unstoppable!
The sudo shutdown command worked well though - nice clean restart.
There you go, killed the bastard after all
-t
|
|
|
| |
|
|
|
 |
|
 |
|
Dedicated MacNNer
Join Date: May 2004
Status:
Offline
|
|
Next time it happens, do an lsof -p <pid> and post it.
|
╭1.5GHz G4 15" PB, 2.0GB RAM, 128MB VRAM, 100GB 7200rpm HD, AEBS, BT kbd
╰2.0GHz T2500 20" iMac, 1.5GB RAM, 128MB VRAM, 250GB 7200rpm HD
http://www.DogLikeNature.com/
|
| |
|
|
|
 |
 |
|
 |
|
|
|
|
|

|
|
 |
Forum Rules
|
 |
 |
|
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
|
HTML code is Off
|
|
|
|
|
|
 |
 |
 |
 |
|
 |
|