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

  1. Newsgroups: comp.sys.next.programmer
  2. Path: sparky!uunet!think.com!yale.edu!ira.uka.de!chx400!bernina!waldvoge
  3. From: waldvoge@nessie.cs.id.ethz.ch (Marcel Waldvogel)
  4. Subject: Re: What does a task with priority -1 mean?
  5. Message-ID: <1992Nov11.203247.29234@bernina.ethz.ch>
  6. Sender: news@bernina.ethz.ch (USENET News System)
  7. Organization: Swiss Federal Institute of Technology (ETH), Zurich, CH
  8. References: <1dmp94INNppe@uwm.edu> <1992Nov10.152955.21859@menudo.uh.edu>
  9. Distribution: usa
  10. Date: Wed, 11 Nov 1992 20:32:47 GMT
  11. Lines: 28
  12.  
  13. In article <1992Nov10.152955.21859@menudo.uh.edu> sears@tree.egr.uh.edu writes:
  14. >In article <1dmp94INNppe@uwm.edu> xepo@csd4.csd.uwm.edu (Scott R Violet)  
  15. >writes:
  16. [stuff deleted]
  17. >=>After that if I do a 'ps -aux' I notice that there is a extra -1 task
  18. >=>running under root.  What could cause this problem?  And, I found out
  19. >=>that it isn't a good idea to try an kill them...
  20. >=>        -Scott Violet (xepo@csd4.csd.uwm.edu)
  21. >
  22. >A process with a PID of -1 (also stated as <mnach-task>) is really a zombied  
  23. >process.  A zombie doesn't not really cause any harm to the system, except  
  24. >that it consumes 1 slot in the process table, of which there is a finite  
  25. >number of slots.  When you run out of process slots, you will crash.
  26.  
  27. Yes, there is a finite amount of them, but it's only limited by the
  28. memory you have (it's not an arbitraty limit such as '128 processes').
  29.  
  30. >Btw, the zombies can not be "killed" (even will kill -9).  Don't even bother  
  31. >to attempt it.  But if you do, be prepared to reboot from a panic :-)
  32.  
  33. If you try to kill processes with negative PIDs, you won't kill them,
  34. but you will kill the process group with the corresponding positive
  35. ID. As a speciale case, -1 refers to every process owned by you (root:
  36. every process), except the process sending that signal (but, of course
  37. including its parent processes, such as Stuart or Terminal).
  38. Therefore, you won't get the expected result when killing -1.
  39.  
  40. -Marcel
  41.