LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
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.

Notices


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

Rep: Reputation: 15
How to kill a defunct process


Hi.

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
Gabriel_Black
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
rossbob
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
guarriman
Member
 
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
skhalid
LQ Newbie
 
Registered: Nov 2008
Posts: 3

Rep: Reputation: 0
guarriman,

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.



______________________________________________
www.freeminutescall.com - Make Free Calls
 
  


Reply


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

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 09:53 PM.

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