Welcome to the MacNN Forums.

If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

You are here: MacNN Forums > Software - Troubleshooting and Discussion > Mac OS X > Unstoppable Process?

Unstoppable Process?
Thread Tools
Professional Poster
Join Date: Oct 2001
Location: London
Status: Offline
Reply With Quote
Feb 15, 2005, 09:33 AM
 
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
Reply With Quote
Feb 15, 2005, 09:58 AM
 
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:
Code:
sudo kill -9 602
-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
Reply With Quote
Feb 15, 2005, 09:59 AM
 
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
Reply With Quote
Feb 15, 2005, 11:19 AM
 
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
Reply With Quote
Feb 15, 2005, 12:05 PM
 
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
Reply With Quote
Feb 15, 2005, 01:38 PM
 
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/
     
   
Thread Tools
Forum Links
Forum Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On
Top
Privacy Policy
All times are GMT -5. The time now is 07:14 AM.
All contents of these forums © 1995-2011 MacNN. All rights reserved.
Branding + Design: www.gesamtbild.com
vBulletin v.3.8.7 © 2000-2011, Jelsoft Enterprises Ltd., Content Relevant URLs by vBSEO 3.3.2