Find the answer to your Linux question:
Results 1 to 4 of 4
Occasionally if a program exits abnormally a quick 'ps -e' turns up an entry which reads, for instance 'k3b <defunct>'. Is there any way to get rid of this entry ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1
    Linux User PsypherPunk's Avatar
    Join Date
    Jan 2005
    Location
    Leeds, UK
    Posts
    257

    Programs which are 'defunct'


    Occasionally if a program exits abnormally a quick 'ps -e' turns up an entry which reads, for instance 'k3b <defunct>'.

    Is there any way to get rid of this entry as it prohibits the program from being restarted? i can't kill it as either a normal user or root, it just sits there. So far only a reboot has managed to clear it. How should it be done?
    Registered Linux User #379728

    SuSE 10.3 :: Athlon XP 3000+ :: AsRock K7VT4A Pro :: Nvidia Geforce 6600GT :: C-Media 8738

    www.psypherpunk.org.uk

  2. #2
    Linux Enthusiast
    Join Date
    Aug 2005
    Location
    Hell
    Posts
    514

    Re: Programs which are 'defunct'

    Quote Originally Posted by PsypherPunk
    i can't kill it as either a normal user or root
    have you tried "kill -9"?

  3. #3
    Linux User PsypherPunk's Avatar
    Join Date
    Jan 2005
    Location
    Leeds, UK
    Posts
    257
    Yup, no different behaviour.

    Though reading further it's seems they're Zombie processes and to get rid of them you must kill the parent that spawned them.

    "t3h 3v1l, its too much..."
    Registered Linux User #379728

    SuSE 10.3 :: Athlon XP 3000+ :: AsRock K7VT4A Pro :: Nvidia Geforce 6600GT :: C-Media 8738

    www.psypherpunk.org.uk

  4. $spacer_open
    $spacer_close
  5. #4
    Just Joined!
    Join Date
    Nov 2004
    Location
    on the WAN
    Posts
    25
    look for the parent process and
    Code:
    kill -9 pid

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •