home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #26 / NN_1992_26.iso / spool / comp / sys / next / programm / 7121 < prev    next >
Encoding:
Text File  |  1992-11-10  |  2.1 KB  |  48 lines

  1. Newsgroups: comp.sys.next.programmer
  2. Path: sparky!uunet!caen!zaphod.mps.ohio-state.edu!menudo.uh.edu!usenet
  3. From: sears@tree.egr.uh.edu (Paul S. Sears)
  4. Subject: Re: What does a task with priority -1 mean?
  5. Message-ID: <1992Nov10.152955.21859@menudo.uh.edu>
  6. Sender: usenet@menudo.uh.edu (USENET News System)
  7. Nntp-Posting-Host: thanatos.egr.uh.edu
  8. Reply-To: sears@tree.egr.uh.edu
  9. Organization: University of Houston
  10. References: <1dmp94INNppe@uwm.edu>
  11. Distribution: usa
  12. Date: Tue, 10 Nov 1992 15:29:55 GMT
  13. Lines: 33
  14.  
  15. In article <1dmp94INNppe@uwm.edu> xepo@csd4.csd.uwm.edu (Scott R Violet)  
  16. writes:
  17. =>
  18. =>I am not sure if this fits properly in this group, but I have noticed
  19. =>with a program that I am writing for the NeXT, and was figuring that
  20. =>maybe it is something I am doing that I should be doing.  What
  21. =>happens is that I run my program and after a while I ^C it to stop.
  22. =>After that if I do a 'ps -aux' I notice that there is a extra -1 task
  23. =>running under root.  What could cause this problem?  And, I found out
  24. =>that it isn't a good idea to try an kill them...
  25. =>-- 
  26. =>
  27. =>        -Scott Violet (xepo@csd4.csd.uwm.edu)
  28.  
  29. A process with a PID of -1 (also stated as <mnach-task>) is really a zombied  
  30. process.  A zombie doesn't not really cause any harm to the system, except  
  31. that it consumes 1 slot in the process table, of which there is a finite  
  32. number of slots.  When you run out of process slots, you will crash.
  33.  
  34. It seems that one of the major creators of zombies is NeXT's Terminal.app.   
  35. Generally whenever you close a terminal.app window, a zombie will be created.
  36.  
  37. Btw, the zombies can not be "killed" (even will kill -9).  Don't even bother  
  38. to attempt it.  But if you do, be prepared to reboot from a panic :-)
  39.  
  40.  
  41. --
  42. Paul S. Sears                *  sears@uh.edu (NeXT Mail OK)
  43. The University of Houston    *  suggestions@tree.egr.uh.edu (NeXT
  44. Engineering Computing Center *  comments, complaints, questions)
  45. NeXT System Administration   *  DoD#1967 '83 NightHawk 650SC 
  46.           >>> SSI Diving Certification #755020059 <<<
  47. "Programming is like sex: One mistake and you support it a lifetime."
  48.