SlackwareThis Forum is for the discussion of Slackware Linux.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
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
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
`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:
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!!!
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.