Re: how to kill a process that is defunct?

2010-11-22 Thread François TOURDE
Le 14934ième jour après Epoch,
Dotan Cohen écrivait:

 If it's running in a shell, then I agree that it is no bother (doesn't
 use any memory or CPU). However, if it is a GUI app who's window is
 still stuck on the screen, then something ought to be done to get rid
 of that window!

xkill is your friend.


--
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/877hg53buz@fermat.tourde.home



Re: how to kill a process that is defunct?

2010-11-22 Thread Roman Khomasuridze

 xkill is your friend.

 or kill -9


Re: how to kill a process that is defunct?

2010-11-22 Thread Hugo Vanwoerkom

Roman Khomasuridze wrote:

xkill is your friend.

 or kill -9


But OP said he tried that and it did not help.


--
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org

Archive: http://lists.debian.org/ice4no$is...@dough.gmane.org



Re: how to kill a process that is defunct?

2010-11-22 Thread Sjoerd Hardeman

Hugo Vanwoerkom schreef:

Roman Khomasuridze wrote:

xkill is your friend.

 or kill -9


But OP said he tried that and it did not help.


Try to kill the parent process. If it doesn't have a parent process, 
then it is unkillable. It uses no recourses, so usually it is not a problem.


Sjoerd



signature.asc
Description: OpenPGP digital signature


Re: how to kill a process that is defunct?

2010-11-22 Thread Hugo Vanwoerkom

Sjoerd Hardeman wrote:

Hugo Vanwoerkom schreef:

Roman Khomasuridze wrote:

xkill is your friend.

 or kill -9


But OP said he tried that and it did not help.


Try to kill the parent process. If it doesn't have a parent process, 
then it is unkillable. It uses no recourses, so usually it is not a 
problem.


But OP said that it had the CPU pegged, so indeed a reboot is the only 
way to solve this.




--
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org

Archive: http://lists.debian.org/ice7on$4h...@dough.gmane.org



Re: how to kill a process that is defunct?

2010-11-22 Thread Camaleón
On Mon, 22 Nov 2010 11:03:19 -0600, Hugo Vanwoerkom wrote:

 Sjoerd Hardeman wrote:
 Hugo Vanwoerkom schreef:
 Roman Khomasuridze wrote:
 xkill is your friend.

  or kill -9

 But OP said he tried that and it did not help.


 Try to kill the parent process. If it doesn't have a parent process,
 then it is unkillable. It uses no recourses, so usually it is not a
 problem.
 
 But OP said that it had the CPU pegged, so indeed a reboot is the only
 way to solve this.

You can't kill the dead (it's not my phrase, read bellow...) :-)

Linux Tips / Zombies
http://www.linuxsa.org.au/tips/zombies.html

Summarizing:

(...) You have three choices: Fix the parent process (make it wait); 
kill the parent; or live with it.  Remember that living with it is not so 
hard because zombies take up little more than one extra line in the 
output of ps.

Greetings,

-- 
Camaleón


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/pan.2010.11.22.17.14...@gmail.com



Re: how to kill a process that is defunct?

2010-11-22 Thread Robert Brockway

On Sun, 21 Nov 2010, François TOURDE wrote:


The zombie process don't use any resources in general. No need to reboot
at this point, because nothing is wrong.


Right.  I can't see how the OP's process is a zombie as a zombie won't 
consume CPU (or any other resource).  It exists solely to hand back the 
exit code to the parent when it can.



On some case, nevertheless, I remember that there can be a kernel
problem, or a device driver one. The process was killed during a
blocking IO, so it is marked as Z until IO finished. If the IO could not
stop, or is on a CPU consuming loop, there is no other way than reboot.


I think you'll find such a process would be in state 'D'.  Sometimes 
processes in state D can get stuck and indeed be unkillable.


Cheers,

Rob

--
Email: rob...@timetraveller.org Linux counter ID #16440
IRC: Solver (OFTC  Freenode)
Web: http://www.practicalsysadmin.com
Contributing member of Software in the Public Interest (http://spi-inc.org/)
Open Source: The revolution that silently changed the world


--
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org

Archive: 
http://lists.debian.org/alpine.deb.1.10.1011221315330.13...@castor.opentrend.net



Re: how to kill a process that is defunct?

2010-11-22 Thread Cameron Hutchison
Robert Brockway rob...@timetraveller.org writes:

On Sun, 21 Nov 2010, François TOURDE wrote:

 The zombie process don't use any resources in general. No need to reboot
 at this point, because nothing is wrong.

Right.  I can't see how the OP's process is a zombie as a zombie won't 
consume CPU (or any other resource).  It exists solely to hand back the 
exit code to the parent when it can.

It is likely that the OP did not understand that the CPU usage stats
reported by ps(1) is the percentage of time spent running during the
entire lifetime of the process [1][2]. The zombie was not using CPU
while it was a zombie - as you state.

[1] ps(1) man page
[2] Recent ubuntu-user post by Carl Smoot-Mitchell (in response to this
same question)


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/e24.4ceaf64b.5f...@getafix.xdna.net



Re: how to kill a process that is defunct?

2010-11-21 Thread Klistvud

Dne, 21. 11. 2010 11:17:47 je Arthur Bela napisal(a):

I found out that the gnome-system-monitor would kill any processes I  
otherwise don't know how to kill. Since gnome-system-monitor can do it,  
I guess it can be done with kill or top too, you probably just have  
to try hard enough.


--
Cheerio,

Klistvud  
http://bufferoverflow.tiddlyspot.com
Certifiable Loonix User #481801  Please reply to the list, not to  
me.



--
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/1290335523.2929...@compax



Re: how to kill a process that is defunct?

2010-11-21 Thread Dotan Cohen
On Sun, Nov 21, 2010 at 12:17, Arthur Bela jozsi.avad...@gmail.com wrote:
 I tried to:

 kill -9 3341

 but it's still there, and it's using 100% cpu :\

 I only tried to download a few linux iso's, so i can seed them back a
 couple of times [about ~20 at a time :O ] but transmission just
 freezez

 I tried to log out, and log in, when i log back, it's still there :O
 only when i reboot my pc...only then it will dissapear..

 Is there a way to kill that process?

 Thank you :O


$ pkill transmission

-- 
Dotan Cohen

http://gibberish.co.il
http://what-is-what.com


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: 
http://lists.debian.org/aanlkti=q=rjfhmq4dfop4e0kutadaotokytm9e0uy...@mail.gmail.com



Re: how to kill a process that is defunct?

2010-11-21 Thread teddieeb

Not really an answer, but I disliked transmission.

I've had far better luck with qbittorrent

Just a thought
TeddyB


-Original Message-
From: Dotan Cohen dotanco...@gmail.com
Date: Sun, 21 Nov 2010 12:50:13 
To: Arthur Belajozsi.avad...@gmail.com
Cc: Debian User Mailing listdebian-user@lists.debian.org
Subject: Re: how to kill a process that is defunct?

On Sun, Nov 21, 2010 at 12:17, Arthur Bela jozsi.avad...@gmail.com wrote:
 I tried to:

 kill -9 3341

 but it's still there, and it's using 100% cpu :\

 I only tried to download a few linux iso's, so i can seed them back a
 couple of times [about ~20 at a time :O ] but transmission just
 freezez

 I tried to log out, and log in, when i log back, it's still there :O
 only when i reboot my pc...only then it will dissapear..

 Is there a way to kill that process?

 Thank you :O


$ pkill transmission

--
Dotan Cohen

http://gibberish.co.il
http://what-is-what.com


--
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: 
http://lists.debian.org/aanlkti=q=rjfhmq4dfop4e0kutadaotokytm9e0uy...@mail.gmail.com



Re: how to kill a process that is defunct?

2010-11-21 Thread Eduardo M KALINOWSKI

 It's a zombie process: http://en.wikipedia.org/wiki/Zombie_process

--
Old timer, n.:
One who remembers when charity was a virtue and not an organization.

Eduardo M KALINOWSKI
edua...@kalinowski.com.br


--
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org

Archive: http://lists.debian.org/4ce8fb55.2090...@kalinowski.com.br



Re: how to kill a process that is defunct?

2010-11-21 Thread Dotan Cohen
On Sun, Nov 21, 2010 at 12:58, Eduardo M KALINOWSKI
edua...@kalinowski.com.br wrote:
  It's a zombie process: http://en.wikipedia.org/wiki/Zombie_process


Eduardo's right, it's a zombie. I didn't look at the output that was
in the screenshot, but now that I did I see the Z in the stats column.
Killall -9 or reboot at that point.

Next time, please just paste the output, don't use a screenshot. Thanks!

-- 
Dotan Cohen

http://gibberish.co.il
http://what-is-what.com


--
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: 
http://lists.debian.org/aanlktin8ttd8z7z2r-s4tkr6dbiuauhcychsesabt...@mail.gmail.com



Re: how to kill a process that is defunct?

2010-11-21 Thread François TOURDE
Le 14934ième jour après Epoch,
Dotan Cohen écrivait:

 On Sun, Nov 21, 2010 at 12:58, Eduardo M KALINOWSKI
 edua...@kalinowski.com.br wrote:
  It's a zombie process: http://en.wikipedia.org/wiki/Zombie_process


 Eduardo's right, it's a zombie. I didn't look at the output that was
 in the screenshot, but now that I did I see the Z in the stats column.
 Killall -9 or reboot at that point.

What??? Why killall or reboot?

The zombie process don't use any resources in general. No need to reboot
at this point, because nothing is wrong.

On some case, nevertheless, I remember that there can be a kernel
problem, or a device driver one. The process was killed during a
blocking IO, so it is marked as Z until IO finished. If the IO could not
stop, or is on a CPU consuming loop, there is no other way than reboot.

But it's in my old memories, maybe it's not so precise, or obsolete.


--
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/87zkt23jv3@fermat.tourde.home



Re: how to kill a process that is defunct?

2010-11-21 Thread Dotan Cohen
On Sun, Nov 21, 2010 at 15:08, François TOURDE fra...@tourde.org wrote:
 What??? Why killall or reboot?

 The zombie process don't use any resources in general. No need to reboot
 at this point, because nothing is wrong.


If it's running in a shell, then I agree that it is no bother (doesn't
use any memory or CPU). However, if it is a GUI app who's window is
still stuck on the screen, then something ought to be done to get rid
of that window!

-- 
Dotan Cohen

http://gibberish.co.il
http://what-is-what.com


--
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: 
http://lists.debian.org/aanlktimus727d+xs8hezgxgadfpbdyxfvbc88fzvy...@mail.gmail.com