Share your knowledge at the LQ Wiki.
Go Back > Forums > Linux Forums > Linux - Software
User Name
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.


  Search this Thread
Old 04-19-2005, 05:48 AM   #1
Registered: Nov 2004
Posts: 101

Rep: Reputation: 15
How to kill a defunct process


I've got a defunct process:
username 2466 1 0 09:37 ? 00:00:24 [gedit] <defunct>

I tried:
# kill -9 2466
# kill -s SIGKILL 2466

But I'm not able to kill it and not able to start a new 'gedit' window. I also tried to find its father by using 'pstree', but it doesn't have.

Any suggestion? Thank you.
Old 04-19-2005, 06:09 AM   #2
LQ Newbie
Registered: Apr 2005
Distribution: Fedora Core 3
Posts: 6

Rep: Reputation: 0
have you also tried to kill the process as root?
Old 04-19-2005, 07:07 AM   #3
LQ Newbie
Registered: Apr 2005
Location: Adelaide, Australia
Posts: 6

Rep: Reputation: 0
or if you can see the window then xkill
Old 05-13-2005, 08:47 AM   #4
Registered: Nov 2004
Posts: 101

Original Poster
Rep: Reputation: 15
I'm root and I don't have any window

[root@pc]# ps -ef | grep gedit
user 2432 1 0 09:50 ? 00:00:44 [gedit] <defunct>
root 6614 3916 0 14:43 pts/0 00:00:00 grep gedit
[root@pc]# kill -9 2432
[root@pc]# ps -ef | grep gedit
user 2432 1 0 09:50 ? 00:00:44 [gedit] <defunct>
root 6616 3916 0 14:44 pts/0 00:00:00 grep gedit
Old 05-15-2009, 12:09 PM   #5
LQ Newbie
Registered: Nov 2008
Posts: 3

Rep: Reputation: 0

Simple, "You can not kill defucnt process that is already DEAD"

There're two ways to remove defunct process 1) reboot your box 2) kill the PPID(Parent process ID).

Hope this helps.

______________________________________________ - Make Free Calls


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
how to kill <defunct> sibtay Linux - Newbie 9 11-22-2010 04:13 AM
how to tell exactly when a process went defunct beeblequix Linux - Enterprise 1 11-22-2005 12:49 AM
cannot kill process (kill -9 does not work) mazer13a Linux - General 1 05-27-2005 03:32 PM
<defunct>ed process bratch Linux - Software 5 04-28-2005 05:55 PM
SYSLOG-NG <defunct> process icw_sec Linux - Software 0 04-26-2004 06:21 PM

All times are GMT -5. The time now is 05:51 PM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration