LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Slackware (https://www.linuxquestions.org/questions/slackware-14/)
-   -   Can't kill firefox (https://www.linuxquestions.org/questions/slackware-14/cant-kill-firefox-448183/)

natewlew 05-24-2006 03:13 PM

Can't kill firefox
 
I have been having a lot of trouble with firefox lately. It locks up quite a bit. In KDE I use 'ctrl-atl-esc' to kill firefox and if it won't start back up I use 'ctrl-esc' and kill the firefox proccess.
In gnome I can't seem to kill the firefox-bin proccess. I use xkill to kill firefox then I can't open it back up. So I try to kill the proccess but it doesn't work.

Quote:

nate@nate:~$ ps -A | grep firefox
2605 ? 00:00:38 firefox-bin
2607 ? 00:00:00 firefox-bin <defunct>
nate@nate:~$ kill 2605
nate@nate:~$ kill 2607
nate@nate:~$ ps -A | grep firefox
2605 ? 00:00:38 firefox-bin
2607 ? 00:00:00 firefox-bin <defunct>
I don't know why I can't kill the proccess?

PS: How do you type in " | "? I can't seem to find it on my keyboard.

stormtracknole 05-24-2006 03:18 PM

Quote:

Originally Posted by natewlew
I have been having a lot of trouble with firefox lately. It locks up quite a bit. In KDE I use 'ctrl-atl-esc' to kill firefox and if it won't start back up I use 'ctrl-esc' and kill the firefox proccess.
In gnome I can't seem to kill the firefox-bin proccess. I use xkill to kill firefox then I can't open it back up. So I try to kill the proccess but it doesn't work.



I don't know why I can't kill the proccess?

PS: How do you type in " | "? I can't seem to find it on my keyboard.

Try kill -9 "pid" and see if that works.

Linux~Powered 05-24-2006 03:27 PM

Maybe killall firefox will work for you.

Quote:

PS: How do you type in " | "? I can't seem to find it on my keyboard.
I don't understand your question.

detpenguin 05-24-2006 03:43 PM

"|" is located (in the us anyways) under the backspace key and shares with "\"

try "killall firefox"

that usually works for me, too.

brianthegreat 05-24-2006 03:44 PM

You can also try the pkill command.

natewlew 05-24-2006 04:19 PM

Quote:

nate@nate:~$ kill -9 "pid"
bash: kill: pid: arguments must be process or job IDs
nate@nate:~$ kill -9 "pid" 2605
bash: kill: pid: arguments must be process or job IDs
nate@nate:~$ ps -A | grep firefox
nate@nate:~$
Thanks, that did it (not sure which one).

Quote:

"|" is located (in the us anyways) under the backspace key and shares with "\"
Thank You:)

stormtracknole 05-24-2006 04:26 PM

Quote:

Originally Posted by natewlew
Thanks, that did it (not sure which one).



Thank You:)

Well, actually, the "pid" part mean to put in whatever PID that firefox was running. For example, if firefox was running a pid of 2063, to kill the process, you would have to do "kill -9 2063", without the quotes of course.

hussar 05-24-2006 04:37 PM

When you killed it, did firefox die gracefully? I mean, it didn't mess up your screen and lock out your keyboard did it?

I had a problem with a slowdown yesterday, and when I did a `ps ax` it showed a firefox process I couldn't explain. At the time, firefox wouldn't redraw its window after being brought back from minimize. I thought killing the unexplained firefox process my help things, but it ended up kicking me out of X and leaving me with an unusable console filled with colored lines.

Could be the nvidia driver too, though. I haven't finished testing.

natewlew 05-25-2006 03:41 PM

Quote:

Originally Posted by stormtracknole
Well, actually, the "pid" part mean to put in whatever PID that firefox was running. For example, if firefox was running a pid of 2063, to kill the process, you would have to do "kill -9 2063", without the quotes of course.

Thanks for the instruction.:study:


Quote:

When you killed it, did firefox die gracefully? I mean, it didn't mess up your screen and lock out your keyboard did it?
No, I didn't have that problem.

ORBiTrus 05-26-2006 01:25 AM

Quote:

Originally Posted by stormtracknole
Well, actually, the "pid" part mean to put in whatever PID that firefox was running. For example, if firefox was running a pid of 2063, to kill the process, you would have to do "kill -9 2063", without the quotes of course.

Addendum: Don't use kill -9 often. Kill and killall are prefered, as they send signals. kill -9 rips the fabric of time and space to terminate your thread. It looks awefull to the tapestry. Kinda like Baelfire, to the WoT fans [I am NOT one].

hussar 05-26-2006 04:24 AM

Quote:

Originally Posted by ORBiTrus
kill -9 rips the fabric of time and space to terminate your thread. It looks awefull to the tapestry.

Well, that would explain the colored stripes across my screen. When it happens again, I'll just clutch my towel a little closer and think to myself, "Don't panic." :)

dive 05-26-2006 05:36 AM

Quote:

Originally Posted by hussar
an unusable console filled with colored lines.

Could be the nvidia driver too, though. I haven't finished testing.

nvidia driver does that if you have framebuffer console enabled

sailu_mvn 05-26-2006 05:46 AM

killall firefox-bin

stormtracknole 05-26-2006 09:41 AM

Quote:

Originally Posted by ORBiTrus
Addendum: Don't use kill -9 often. Kill and killall are prefered, as they send signals. kill -9 rips the fabric of time and space to terminate your thread. It looks awefull to the tapestry. Kinda like Baelfire, to the WoT fans [I am NOT one].

Hmm...that's weird. I've never had any problems with kill -9.


All times are GMT -5. The time now is 07:02 PM.