| View previous topic :: View next topic |
| Author |
Message |
noff Guru


Joined: 11 Nov 2002 Posts: 388 Location: College Park, Maryland
|
Posted: Wed Dec 04, 2002 7:48 am Post subject: Kill things that just won't die |
|
|
I am trying to kill soffice-bin because it keeps failing to open up. I tried kill and then the process id. I switched to root and did the same. It won't die. Is there anything stronger than kill.
I know restarting will fix it, but I run linux o I don't have, to restart. It is a sick joy I know. If t wasn't for playing with kernels I would hopefully never restart. Take that windows. _________________ What Larry was saying is that if you make it too easy for programmers, then poor programmers will be able to do things best left to good programmers, and will inevitably do them poorly. Everyone will suffer in the long term as a result." - Tom Chance |
|
| Back to top |
|
 |
Larde Guru


Joined: 07 Jun 2002 Posts: 313 Location: Duesseldorf, Germany
|
Posted: Wed Dec 04, 2002 7:54 am Post subject: |
|
|
kill -9 pid is the strongest you can get... (or in this case, killall -9 soffice-bin, with killall you often save to look up the pid)
Hth,
Larde. _________________ Someday this will be my home... http://moonage.net/
I'll make you a deal
I'll say I came from Earth and my tongue is taped
|
|
| Back to top |
|
 |
really Guru


Joined: 27 Aug 2002 Posts: 430 Location: nowhere
|
Posted: Wed Dec 04, 2002 1:13 pm Post subject: |
|
|
kill everyprocces that is started by it, if any first then it.
if its a zombie then you cant kill it. i think.
never happend to me  _________________ NoManNoProblem
Get lost before you get shot. |
|
| Back to top |
|
 |
guero61 l33t

Joined: 14 Oct 2002 Posts: 811 Location: Behind you
|
Posted: Wed Dec 04, 2002 10:02 pm Post subject: |
|
|
Correct. AFAIK, zombies can only be gotten rid of in two ways -- reboot or direct modification of something in /proc
Kill -9 will fix ya up; while we're on the subject, who uses psg? A production system I worked on a couple of summers aliased psg with "ps -ef | grep". You could then execute "psg soffice" and it would save you several keystrokes. Anyone?
| Code: |
# alias psg="ps -ef | grep"
# psg init
root 1 0 0 Nov21 ?
root 2548 2486 0 16:01 pts/0 00:00:00 grep init 00:00:16 init
|
Of course, it can be modified to filter out itself, but then you run into more and more load. |
|
| Back to top |
|
 |
ebrostig Bodhisattva


Joined: 20 Jul 2002 Posts: 3152 Location: Orlando, Fl
|
Posted: Thu Dec 05, 2002 12:19 am Post subject: |
|
|
There is another way without rebooting.
Some times kill will not get rid of the process, most likely it is hoilding a lock somewhere.
What you can do is to change runlevel to single user and then back again.
Log out all users and log in as root.
Type: telinit s
This will change the system to a single user system and stop all server processes running in multiuser level.
Log in as root and type:
telinit 3
This will bring you back into multiuser mode.
Erik |
|
| Back to top |
|
 |
The Shadow Surfer Tux's lil' helper


Joined: 08 Jun 2002 Posts: 102 Location: Denmark
|
Posted: Thu Dec 05, 2002 9:02 am Post subject: |
|
|
| Larde wrote: | kill -9 pid is the strongest you can get... (or in this case, killall -9 soffice-bin, with killall you often save to look up the pid)
Hth,
Larde. |
Kill -9 [pid] worked just fine
Thanking you all for the help
/The Shadow Surfer |
|
| Back to top |
|
 |
|