home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #26 / NN_1992_26.iso / spool / comp / unix / aix / 11433 < prev    next >
Encoding:
Internet Message Format  |  1992-11-09  |  1.0 KB

  1. Path: sparky!uunet!cs.utexas.edu!usc!celia!mlogic!marcel
  2. From: marcel%mlogic.uucp@usc.edu (Marcel Samek)
  3. Newsgroups: comp.unix.aix
  4. Subject: Help: child processes not exiting properly.
  5. Message-ID: <1992Nov10.022021.1423@mlogic.uucp>
  6. Date: 10 Nov 92 02:20:21 GMT
  7. Sender: marcel@mlogic.uucp (Marcel Samek)
  8. Reply-To: marcel%mlogic.uucp@usc.edu
  9. Organization: Media Logic Incorporated
  10. Lines: 19
  11.  
  12.  
  13. I have a problem which manifests itself under AIX 3.2, but not under other  
  14. flavors of unix (SunOS & Mach) that I've tried. 
  15.  
  16. It boils down to this:
  17.  
  18. I create a child process with fork(). The child process decides to either  
  19. kill() itself, or exit with exit() or _exit().
  20.  
  21. The result is that the child process hangs around in a limbo state (shows up as  
  22. "defunct" when one issues a ps command). 
  23.  
  24. My question is this: is there any way to get the child to go completely away?
  25.  
  26. Marcel
  27. marcel%mlogic.uucp@usc.edu
  28.  
  29. p.s.: [My apologies if this has been covered here before; I'm not a regular  
  30. subscriber to this group and don't have access to any archives.]
  31.