LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 05-24-2006, 03:13 PM   #1
natewlew
Member
 
Registered: Jan 2006
Location: USA
Distribution: Any distro I can get my hands on!
Posts: 162

Rep: Reputation: 30
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.

Last edited by natewlew; 05-24-2006 at 03:17 PM.
 
Old 05-24-2006, 03:18 PM   #2
stormtracknole
Senior Member
 
Registered: Aug 2005
Distribution: Slackware, RHEL
Posts: 1,258

Rep: Reputation: 229Reputation: 229Reputation: 229
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.
 
Old 05-24-2006, 03:27 PM   #3
Linux~Powered
Member
 
Registered: Jan 2004
Location: /lost+found
Distribution: Slackware 14.2
Posts: 849

Rep: Reputation: 33
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.
 
Old 05-24-2006, 03:43 PM   #4
detpenguin
Senior Member
 
Registered: Oct 2003
Location: lost in the midwest...
Distribution: Slackware
Posts: 1,098

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

try "killall firefox"

that usually works for me, too.
 
Old 05-24-2006, 03:44 PM   #5
brianthegreat
Member
 
Registered: Oct 2005
Posts: 518

Rep: Reputation: 32
You can also try the pkill command.
 
Old 05-24-2006, 04:19 PM   #6
natewlew
Member
 
Registered: Jan 2006
Location: USA
Distribution: Any distro I can get my hands on!
Posts: 162

Original Poster
Rep: Reputation: 30
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
 
Old 05-24-2006, 04:26 PM   #7
stormtracknole
Senior Member
 
Registered: Aug 2005
Distribution: Slackware, RHEL
Posts: 1,258

Rep: Reputation: 229Reputation: 229Reputation: 229
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.
 
Old 05-24-2006, 04:37 PM   #8
hussar
Member
 
Registered: Oct 2003
Location: Heidelberg, Germany
Distribution: Slackware 11.0; Kubuntu 6.06; OpenBSD 4.0; OS X 10.4.10
Posts: 345

Rep: Reputation: 30
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.
 
Old 05-25-2006, 03:41 PM   #9
natewlew
Member
 
Registered: Jan 2006
Location: USA
Distribution: Any distro I can get my hands on!
Posts: 162

Original Poster
Rep: Reputation: 30
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.


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.
 
Old 05-26-2006, 01:25 AM   #10
ORBiTrus
Member
 
Registered: Sep 2004
Location: On a compile thread
Distribution: CentOS, Debian, Fedora, Gentoo, Mandriva, Slackware, Ubuntu
Posts: 42

Rep: Reputation: 15
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].
 
Old 05-26-2006, 04:24 AM   #11
hussar
Member
 
Registered: Oct 2003
Location: Heidelberg, Germany
Distribution: Slackware 11.0; Kubuntu 6.06; OpenBSD 4.0; OS X 10.4.10
Posts: 345

Rep: Reputation: 30
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."
 
Old 05-26-2006, 05:36 AM   #12
dive
Senior Member
 
Registered: Aug 2003
Location: UK
Distribution: Slackware
Posts: 3,467

Rep: Reputation: Disabled
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
 
Old 05-26-2006, 05:46 AM   #13
sailu_mvn
Member
 
Registered: Sep 2004
Location: Hyderabad
Distribution: FEDORA,REDHAT,HOST
Posts: 440
Blog Entries: 1

Rep: Reputation: 30
killall firefox-bin
 
Old 05-26-2006, 09:41 AM   #14
stormtracknole
Senior Member
 
Registered: Aug 2005
Distribution: Slackware, RHEL
Posts: 1,258

Rep: Reputation: 229Reputation: 229Reputation: 229
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.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting 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 Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
What if 'kill -9' fails to kill a task? chii-chan Linux - Newbie 15 03-27-2013 03:47 PM
how to use kill to kill a batch of processes with same name? dr_zayus69 Linux - Software 2 09-03-2005 06:35 PM
Kill command could not kill Kanaflloric Linux - General 11 08-22-2005 07:18 AM
cannot kill process (kill -9 does not work) mazer13a Linux - General 1 05-27-2005 02:32 PM
kill X = kill computer! jd243 Slackware 3 07-01-2003 11:29 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 05:48 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration