Zombi process

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • rohitbasu77
    New Member
    • Feb 2008
    • 89

    Zombi process

    Hi dear,
    i do have a question:
    What exactly is a zombi process?
    how to delet those one?
  • rohitbasu77
    New Member
    • Feb 2008
    • 89

    #2
    anyone please reply to me..

    Comment

    • ashitpro
      Recognized Expert Contributor
      • Aug 2007
      • 542

      #3
      Originally posted by rohitbasu77
      Hi dear,
      i do have a question:
      What exactly is a zombi process?
      how to delet those one?
      when parent process issues a fork system call, it spawns a child process.
      Idly parent should query the exit status of the child process by system calls like waitpid,wait etc.
      But if parent process fails to do this or never issues such calls and just get terminate, then child process is said to be zombie(other name is orphan) i.e process having no parent. It just exists in memory holding the resources.
      There is only one way to clean the zombie process and that is use 'kill' command

      Comment

      • rohitbasu77
        New Member
        • Feb 2008
        • 89

        #4
        Originally posted by ashitpro
        when parent process issues a fork system call, it spawns a child process.
        Idly parent should query the exit status of the child process by system calls like waitpid,wait etc.
        But if parent process fails to do this or never issues such calls and just get terminate, then child process is said to be zombie(other name is orphan) i.e process having no parent. It just exists in memory holding the resources.
        There is only one way to clean the zombie process and that is use 'kill' command
        thanks, but how to know that the process is a zombie one.

        Comment

        • ashitpro
          Recognized Expert Contributor
          • Aug 2007
          • 542

          #5
          Originally posted by rohitbasu77
          thanks, but how to know that the process is a zombie one.
          when you give 'ps -eLF' command as I said in previous message, you will see the 'defunct' word across zombie processes.

          Comment

          Working...