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