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

  1. Newsgroups: comp.sys.next.programmer
  2. Path: sparky!uunet!noc.near.net!nic.umass.edu!titan.ucc.umass.edu!a74k110
  3. From: a74k110@titan.ucc.umass.edu (Chris Lloyd)
  4. Subject: Re: What does a task with priority -1 mean?
  5. Message-ID: <BxJAwv.J9o@nic.umass.edu>
  6. Sender: usenet@nic.umass.edu (USENET News System)
  7. Organization: University of Massachusetts, Amherst
  8. References: <1dmp94INNppe@uwm.edu> <1992Nov10.152955.21859@menudo.uh.edu>
  9. Distribution: usa
  10. Date: Wed, 11 Nov 1992 04:24:30 GMT
  11. Lines: 27
  12.  
  13. In article <1992Nov10.152955.21859@menudo.uh.edu> sears@tree.egr.uh.edu writes:
  14. >A process with a PID of -1 (also stated as <mnach-task>) is really a zombied  
  15. >process.  A zombie doesn't not really cause any harm to the system, except  
  16. >that it consumes 1 slot in the process table, of which there is a finite  
  17. >number of slots.  When you run out of process slots, you will crash.
  18. >
  19. >It seems that one of the major creators of zombies is NeXT's Terminal.app.   
  20. >Generally whenever you close a terminal.app window, a zombie will be created.
  21. >
  22. >Btw, the zombies can not be "killed" (even will kill -9).  Don't even bother  
  23. >to attempt it.  But if you do, be prepared to reboot from a panic :-)
  24.  
  25. While a zombie'd process may appear as a <mach-task>, all <mach-task>'s
  26. are not zombie'd processes.  <mach-task>'s are what they say they are,
  27. Mach tasks. Most of them (my machine typically has 5 ) are kernel tasks
  28. such as the sound driver and other drivers.  They aren't really Unix
  29. processes, just bare bones Mach tasks.
  30.  
  31. A kernel loaded server exists as one of these <mach-task>'s and you can
  32. create user level ones with task_create().  They do have a purpose.
  33.  
  34. Unless an inordinate amount of them are being generated they belong there
  35. just as any of the other daemons and processes...
  36.  
  37. la la la,
  38. -- 
  39. ::   Christopher Lloyd  ::  a74k110@titan.ucc.umass.edu  ::  Yrrid, Inc.    ::
  40.