PDA

View Full Version : What to do when a program just won't quit.



apessos
02-05-2005, 01:08 PM
(I've running Knoppix 3.7 (I believe) from my hard driver)
I've been having some troubles recently with Firefox just freezing on me while loading various sites. While this is troublesome, KDE can kill the app but things aren't all fine on this little Linux machine of mine. The following process continues to run:


apessos 2264 2174 15 07:09 ? 00:01:58 /usr/lib/mozilla-firefox/firefox-bin -a firefox

Now, maybe this process should always be there and I'm just worrying about nothing. But whether it's a process for good or evil, I should still be able to kill it.

I change to root, and issue one of the deadly commands known to processes, kill -9 2264. Yet, tough guy over here just won't listen. I try -SIGKILL, -KILL and everything under the sun, but 2264 turns a deaf ear to me.

I've been rebooting to solve this problem, however, I am curious if there's another method I could utilize to end 2264 region on my machine?

apessos

CrashedAgain
02-10-2005, 04:14 AM
'ctrl-alt-esc' will kill apps that are not responding. Then cursor changes to a skull & crossbones , click on the problem window to shut it down.

apessos
02-10-2005, 12:19 PM
When I press Ctrl-Alt-Delete in KDE I just get taken to a window with a couple buttons, "End Current Session", "Turn Off Computer", "Restart Computer" and "Cancel". I don't see that skull and crossbones anywhere.

Firefox continuously crashes now. I've removed most of the extensions I had loaded, and once I reboot the machine I'll uninstall the rest of them. KDE recognizes that Firefox is not responding and offers to kill it for me. All this does is create a zombie process which becomes annoying because it locks up my default profile and won't let me start Firefox until I create a new profile. (And I lose all my wonderful bookmarks and all that jazz.) Each time Firefox crashes, another profile becomes locked up.

Looking into how to stop this from happening. I'm getting tired of rebooting my machine. ^^

foamrotreturns
02-10-2005, 02:59 PM
Gotta read a bit more closely. He said "Ctrl+Alt+ Esc not Del
;)

pureone
02-10-2005, 03:13 PM
i just use xkill. just clicked my desktop with the skull now its disapeared....

Durand Hicks
02-13-2005, 06:44 AM
Don't know if you know this trick, but it's handy after trying everything under the sun, open a terminal window and type:
kill `pidof mozilla-firefox`
It's amazingly useful when trying to kill multithreaded apps. Try it with any app by name as long as you put pidof in front of it. I almost never have to look up the process id just to find the app that I want to kill.


HTH,

Durand