LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
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-27-2010, 08:32 PM   #1
Tim Johnson
Member
 
Registered: Oct 2004
Location: Palmer, Alaska
Distribution: ubuntu 10.04, Slack 13.0/32-bit
Posts: 206

Rep: Reputation: 30
Can't kill firefox process on slack 12.0 (zombie)


Slack is 32bit.
Frequently, firefox becomes unresponsive. I can close the window,
but the process is not terminated. I am not able to restart firefox
without rebooting.

When this problems occurs the firefox processes are not terminated by
the 'kill' command. Example
Code:
tim@bart:/home/http/run/baker/cron$ ps aux | grep firefox
tim       3780  0.0  0.0   3356  1640 ?        S    15:59   0:00 /bin/sh /usr/bin/firefox
tim       3792  0.0  0.0   3404  1696 ?        S    15:59   0:00 /bin/sh /usr/lib/firefox-3.5.2/run-mozilla.sh /usr/lib/firefox-3.5.2/firefox-bin
tim       3796  0.3  3.2 316560 95712 ?        Sl   15:59   0:21 /usr/lib/firefox-3.5.2/firefox-bin
tim
and
Code:
kill 3780
kill 3792
kill 3796
Will have no effect.
This is a serious problem. Sheesh! It's as bad as being on windoze
when this happens.
What else can I do to kill these processes without rebooting.
Thanks
tim
 
Old 05-27-2010, 08:36 PM   #2
T3slider
Senior Member
 
Registered: Jul 2007
Distribution: Slackware64-14.1
Posts: 2,367

Rep: Reputation: 843Reputation: 843Reputation: 843Reputation: 843Reputation: 843Reputation: 843Reputation: 843
Well if you're that stuck try
Code:
$ kill -9 ####
 
Old 05-27-2010, 08:36 PM   #3
revoemag
LQ Newbie
 
Registered: May 2010
Location: Baton Rouge
Distribution: Slackware 13.0/1 64 // OpenBsd
Posts: 8

Rep: Reputation: 1
# kill -9 3780
# kill -9 3792
# kill -9 3796

or

# killall -9 firefox-bin

and if you use unix systems don't use killall with them>.<

Last edited by revoemag; 05-27-2010 at 08:37 PM.
 
Old 05-27-2010, 08:36 PM   #4
MS3FGX
LQ Guru
 
Registered: Jan 2004
Location: NJ, USA
Distribution: Slackware, Debian
Posts: 5,852

Rep: Reputation: 361Reputation: 361Reputation: 361Reputation: 361
Yeah, the following should work:

Code:
killall -9 firefox-bin
 
Old 05-27-2010, 08:37 PM   #5
speck
Member
 
Registered: Nov 2001
Location: US
Distribution: Slackware 14.2
Posts: 375

Rep: Reputation: 115Reputation: 115
kill -9 all those PID's. Also, what add-ons are you running? There are a few (I had issues with Ghostery) that will cause Firefox not close correctly.
 
Old 05-27-2010, 10:06 PM   #6
Tim Johnson
Member
 
Registered: Oct 2004
Location: Palmer, Alaska
Distribution: ubuntu 10.04, Slack 13.0/32-bit
Posts: 206

Original Poster
Rep: Reputation: 30
Quote:
Originally Posted by speck View Post
kill -9 all those PID's. Also, what add-ons are you running? There are a few (I had issues with Ghostery) that will cause Firefox not close correctly.
Addons: Thanks for that tip
Thanks to all of you for the
Code:
kill -9
tip.
I will bookmark this thread (on both konquor and firefox)
As I write, I have scanned both 'man kill' and 'man killall' and haven't
found a reference to the -9 option.
Could anyone elaborate?
regards
tim
 
Old 05-27-2010, 10:16 PM   #7
T3slider
Senior Member
 
Registered: Jul 2007
Distribution: Slackware64-14.1
Posts: 2,367

Rep: Reputation: 843Reputation: 843Reputation: 843Reputation: 843Reputation: 843Reputation: 843Reputation: 843
`man kill` is a little cryptic but I believe it is the following line:
Code:
              -n     where  n is larger than 1.  All processes in process group n are signaled.  When an argument of the form `-n' is given, and it is meant to denote
                     a process group, either the signal must be specified first, or the argument must be preceded by a `--' option, otherwise it will be taken as  the
                     signal to send.
The different signals are listed in `man 7 signal`. The relevant one is below:
Code:
       SIGKILL       9       Term    Kill signal
 
Old 05-27-2010, 11:03 PM   #8
koenigdavidmj
Member
 
Registered: Oct 2009
Posts: 73

Rep: Reputation: 25
Quote:
Originally Posted by revoemag View Post
and if you use unix systems don't use killall with them>.<
To expand on this, you should use pkill instead of killall. On Linux they basically do the same thing, but on Solaris and some other systems killall run as root will ignore its argument and TERMINATE EVERY PROCESS ON YOUR SYSTEM!!!
 
Old 05-28-2010, 07:03 AM   #9
knudfl
LQ 5k Club
 
Registered: Jan 2008
Location: Copenhagen DK
Distribution: PCLinuxOS2023 Fedora38 + 50+ other Linux OS, for test only.
Posts: 17,511

Rep: Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641
We had a similar LQ thread some months ago,
and it appeared, that 'killall -9 firefox-bin'
isn't always sufficient.

Sometimes 'killall -9 xulrunner' is the one to be used.
..
 
  


Reply



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
Kill child process problem. No matter what i try cant stop pid becoming a zombie?? ajb181 Linux - Software 1 11-15-2009 05:36 PM
bash `kill`: process 'B' silently dies; but process 'A' = `kill` spews back debris! GrapefruiTgirl Programming 9 06-23-2009 09:42 AM
how to kill zombie process bharatlalgupta Red Hat 1 06-18-2009 10:17 AM
how to kill zombie process mokku Linux - Server 5 10-25-2007 09:21 PM
Zombie processs how do you kill them? edouglas Linux - Newbie 1 03-04-2007 12:13 AM

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

All times are GMT -5. The time now is 11:46 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