Zombies

David Riches dsr at stl.stc.co.uk
Thu Feb 15 01:24:22 AEST 1990


I have a program which spawns of a new program via the use of execl
and communicates via pipes created using dup().

When this new program dies it seems to leave a Zombied process
with <defunct> as its name in the process table.

Q:  Is the new program not dying properly?

Q:  How do I clean up the Z process?  When the caller eventually
    dies then all the defunct processes are cleaned up.  Since this
    is part of a design tool the nthere will be many defunct processes
    lying around before the tool is killed.

Any answers will be much appreciated.

   Dave Riches
   PSS:    dsr at stl.stc.co.uk
   ARPA:   dsr%stl.stc.co.uk at earn-relay.ac.uk
   Smail:  Software Design Centre, (Dept. 103, T2 West), 
	   STC Technology Ltd., London Road,
	   Harlow, Essex. CM17 9NA.  England
   Phone:  +44 (0)279-29531 x2496



More information about the Comp.unix.wizards mailing list