You are not logged in.

#1 2010-12-16 20:08:51

munkoil
Member
From: Gothenburg, Sweden
Registered: 2010-05-03
Posts: 17

[Solved] Unable to kill process

Hi,

After an upgrade this week I'm having a problem not being able to kill a crashing process. The process that crashes is linuxdcpp. I'm able to close the window and clicking force quit but when i list all processes with ps -A the process is still there. When i try kill, kill -9 the process is still there. even if I log in as root Im not able to kill the process and I'm not able to restart the computer with shutdown or restart. Anybody know how to handle this?

I've tried to reinstall both linuxdcpp and all packages in base with no result. linuxdcpp works fine a cuple of second before crashing. I also tried to downgrade the kernel since I remember that it was one of the packages installed. I have not tried anything else because of that I don't remember what package was installed. Is there some kind of log?

Last edited by munkoil (2010-12-16 20:47:07)

Offline

#2 2010-12-16 20:19:32

munkoil
Member
From: Gothenburg, Sweden
Registered: 2010-05-03
Posts: 17

Re: [Solved] Unable to kill process

After some more research this problem is not only with linuxdcpp, it affects other processes as well

Last edited by munkoil (2010-12-16 20:20:13)

Offline

#3 2010-12-16 20:44:41

boogy
Member
From: /dev/random
Registered: 2010-05-20
Posts: 37
Website

Re: [Solved] Unable to kill process

you can try SIGKILL and not -9 ... sometimes its helps ...


Where there is a shell, there is a way

Offline

#4 2010-12-16 20:46:39

munkoil
Member
From: Gothenburg, Sweden
Registered: 2010-05-03
Posts: 17

Re: [Solved] Unable to kill process

Looks like I found a solution. I found out that I've run out of disk space on my system drive. I don't know why I wasn't able to kill processes but after some cleaning it seems to be working again. Strange

The computer was acting like it was doing some serious swapping with no response from any program.

Last edited by munkoil (2010-12-16 20:49:22)

Offline

#5 2010-12-16 20:48:04

munkoil
Member
From: Gothenburg, Sweden
Registered: 2010-05-03
Posts: 17

Re: [Solved] Unable to kill process

boogy wrote:

you can try SIGKILL and not -9 ... sometimes its helps ...

Thanks for the tip! I didn't know that. I try that if it ever happens again.

Offline

#6 2010-12-16 23:23:00

munkoil
Member
From: Gothenburg, Sweden
Registered: 2010-05-03
Posts: 17

Re: [Solved] Unable to kill process

munkoil wrote:

Looks like I found a solution. I found out that I've run out of disk space on my system drive. I don't know why I wasn't able to kill processes but after some cleaning it seems to be working again. Strange

The computer was acting like it was doing some serious swapping with no response from any program.

Looks like it wasn't the full system drive that was my problem after all, I mixed it all up. Finally found out that it was because of a corrupt file system on one disk. Every time a program tried to access these files they ended up completely unresponsive. I fixed the disk with 'e2fsck -f'. I lost a few files but no mayor loss.

Offline

#7 2010-12-17 01:14:14

Stebalien
Member
Registered: 2010-04-27
Posts: 1,239
Website

Re: [Solved] Unable to kill process

boogy wrote:

you can try SIGKILL and not -9 ... sometimes its helps ...

Just to prevent any confusion, -SIGKILL, -KILL, and -9 do the exact same thing (man kill).


Steven [ web : git ]
GPG:  327B 20CE 21EA 68CF A7748675 7C92 3221 5899 410C

Offline

#8 2010-12-17 11:57:03

boogy
Member
From: /dev/random
Registered: 2010-05-20
Posts: 37
Website

Re: [Solved] Unable to kill process

Stebalien wrote:
boogy wrote:

you can try SIGKILL and not -9 ... sometimes its helps ...

Just to prevent any confusion, -SIGKILL, -KILL, and -9 do the exact same thing (man kill).

Yes I know that.. But I sometimes is better to use -9 and others -SIGKILL.


Where there is a shell, there is a way

Offline

#9 2010-12-17 12:15:40

dyscoria
Member
Registered: 2008-01-10
Posts: 1,007

Re: [Solved] Unable to kill process

boogy wrote:
Stebalien wrote:
boogy wrote:

you can try SIGKILL and not -9 ... sometimes its helps ...

Just to prevent any confusion, -SIGKILL, -KILL, and -9 do the exact same thing (man kill).

Yes I know that.. But I sometimes is better to use -9 and others -SIGKILL.

Just one question: if they do the exact same thing, at which times is it better to use SIGKILL instead of -9? wink


flack 2.0.6: menu-driven BASH script to easily tag FLAC files (AUR)
knock-once 1.2: BASH script to easily create/send one-time sequences for knockd (forum/AUR)

Offline

Board footer

Powered by FluxBB