Usenet comp.unix.tru64 (2000-2013)
 help / color / mirror / Atom feed
* defunct ?
@ 2001-09-08 22:56 @nnib
  2001-09-09  9:09 ` @nnib
                   ` (2 more replies)
  0 siblings, 3 replies; 8+ messages in thread
From: @nnib @ 2001-09-08 22:56 UTC (permalink / raw)



hi,

when i make a  ps -Af, i can see some process with the label  " defunct "

What does it mean ?
Can I kill them manually ?


Thanks
@nnib new in the game.




^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: defunct ?
  2001-09-08 22:56 defunct ? @nnib
@ 2001-09-09  9:09 ` @nnib
  2001-09-09 12:45 ` Peter da Silva
  2001-09-09 16:56 ` Newbie JrSysAdmin
  2 siblings, 0 replies; 8+ messages in thread
From: @nnib @ 2001-09-09  9:09 UTC (permalink / raw)


[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #1: Type: text/plain, Size: 332 bytes --]


oups....
TRU64 4.0E  on a Digital DS20

@+


"@nnib" <annibale@ifrance.com> a �crit dans le message news:
9ne7j9$3ig$1@capella.worldonline.fr...
>
> hi,
>
> when i make a  ps -Af, i can see some process with the label  " defunct "
>
> What does it mean ?
> Can I kill them manually ?
>
>
> Thanks
> @nnib new in the game.
>
>




^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: defunct ?
  2001-09-08 22:56 defunct ? @nnib
  2001-09-09  9:09 ` @nnib
@ 2001-09-09 12:45 ` Peter da Silva
  2001-09-09 16:56 ` Newbie JrSysAdmin
  2 siblings, 0 replies; 8+ messages in thread
From: Peter da Silva @ 2001-09-09 12:45 UTC (permalink / raw)


In article <9ne7j9$3ig$1@capella.worldonline.fr>,
@nnib <annibale@ifrance.com> wrote:
> when i make a  ps -Af, i can see some process with the label  " defunct "
> 
> What does it mean ?

When you run a program in UNIX you eventually get back a return code from
the process that it's running in. This return code indicates whether the
process succeeded or failed, whether it exited normally or was terminated
by the OS for some reason, and so on. If the process terminates before this
code has been returned, it leaves a little "stub" in the process table that
acts as a placeholder, keeping the return code around until the parent
process can examine it. These are technically called "zombies". They are
neither dead nor alive, but exist in an undead state until they're buried.

Sometimes the parent process fails to bury its zombie children, and they
hang around. The long term solution is to fix the parent so that it cleans
up after its dead children, or tells the operating system that it's not
interested in their return codes. Short term, if you kill the parent all
the zombies will be dragged along to their final resting place (actually,
they will be adopted by the master daemon, init, which will bury them).

Diabolical, eh?

> Can I kill them manually ?

You can't kill the undead. They're already dead!

You need to fix and/or kill the guilty parent.

-- 
 `-_-'   In hoc signo hack, Peter da Silva.
  'U`    "A well-rounded geek should be able to geek about anything."
                                                       -- nicolai@esperi.org
         Disclaimer: WWFD?


^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: defunct ?
  2001-09-08 22:56 defunct ? @nnib
  2001-09-09  9:09 ` @nnib
  2001-09-09 12:45 ` Peter da Silva
@ 2001-09-09 16:56 ` Newbie JrSysAdmin
  2001-09-09 23:26   ` Mark Garrett
  2 siblings, 1 reply; 8+ messages in thread
From: Newbie JrSysAdmin @ 2001-09-09 16:56 UTC (permalink / raw)


"@nnib" <annibale@ifrance.com> wrote in message news:<9ne7j9$3ig$1@capella.worldonline.fr>...
> hi,
> 
> when i make a  ps -Af, i can see some process with the label  " defunct "
> 
> What does it mean ?
> Can I kill them manually ?
> 
> 
> Thanks
> @nnib new in the game.

don't worry about them. they aren't active processes and they consume no resource.


^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: defunct ?
  2001-09-09 16:56 ` Newbie JrSysAdmin
@ 2001-09-09 23:26   ` Mark Garrett
  2001-09-10 15:37     ` Newbie JrSysAdmin
  0 siblings, 1 reply; 8+ messages in thread
From: Mark Garrett @ 2001-09-09 23:26 UTC (permalink / raw)


in article 2de05464.0109090856.74ef8abd@posting.google.com, Newbie
JrSysAdmin at utlonghornsrule@yahoo.com wrote on 10/09/2001 02:56:

> "@nnib" <annibale@ifrance.com> wrote in message
> news:<9ne7j9$3ig$1@capella.worldonline.fr>...
>> hi,
>> 
>> when i make a  ps -Af, i can see some process with the label  " defunct "
>> 
>> What does it mean ?
>> Can I kill them manually ?
>> 
>> 
>> Thanks
>> @nnib new in the game.
> 
> don't worry about them. they aren't active processes and they consume no
> resource.
 Almost right, they do consume process slots and it can lead to in extreme
cases unable to create new process




^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: defunct ?
  2001-09-09 23:26   ` Mark Garrett
@ 2001-09-10 15:37     ` Newbie JrSysAdmin
  2001-09-11 10:48       ` Jure Simsic
  2001-09-12 22:03       ` Tim Mooney
  0 siblings, 2 replies; 8+ messages in thread
From: Newbie JrSysAdmin @ 2001-09-10 15:37 UTC (permalink / raw)


Mark Garrett <Mark.Garrett@wedontwantyourspam.com.au> wrote in message news:<B7C23853.208C7%Mark.Garrett@wedontwantyourspam.com.au>...
> in article 2de05464.0109090856.74ef8abd@posting.google.com, Newbie
> JrSysAdmin at utlonghornsrule@yahoo.com wrote on 10/09/2001 02:56:
> 
> > "@nnib" <annibale@ifrance.com> wrote in message
> > news:<9ne7j9$3ig$1@capella.worldonline.fr>...
> >> hi,
> >> 
> >> when i make a  ps -Af, i can see some process with the label  " defunct "
> >> 
> >> What does it mean ?
> >> Can I kill them manually ?
> >> 
> >> 
> >> Thanks
> >> @nnib new in the game.
> > 
> > don't worry about them. they aren't active processes and they consume no
> > resource.
>  Almost right, they do consume process slots and it can lead to in extreme
> cases unable to create new process


thanks, i forgot to so qualify.

good time to ask a question: where (in /etc/system?) do you limit the
number of active processes? if it's just available memory versus the
process table, then, obviously, there's no practical limit.


^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: defunct ?
  2001-09-10 15:37     ` Newbie JrSysAdmin
@ 2001-09-11 10:48       ` Jure Simsic
  2001-09-12 22:03       ` Tim Mooney
  1 sibling, 0 replies; 8+ messages in thread
From: Jure Simsic @ 2001-09-11 10:48 UTC (permalink / raw)
  To: Newbie JrSysAdmin

Newbie JrSysAdmin wrote:
> 
> Mark Garrett <Mark.Garrett@wedontwantyourspam.com.au> wrote in message news:<B7C23853.208C7%Mark.Garrett@wedontwantyourspam.com.au>...
> > in article 2de05464.0109090856.74ef8abd@posting.google.com, Newbie
> > JrSysAdmin at utlonghornsrule@yahoo.com wrote on 10/09/2001 02:56:
> >
> > > "@nnib" <annibale@ifrance.com> wrote in message
> > > news:<9ne7j9$3ig$1@capella.worldonline.fr>...
> > >> hi,
> > >>
> > >> when i make a  ps -Af, i can see some process with the label  " defunct "
> > >>
> > >> What does it mean ?
> > >> Can I kill them manually ?
> > >>
> > >>
> > >> Thanks
> > >> @nnib new in the game.
> > >
> > > don't worry about them. they aren't active processes and they consume no
> > > resource.
> >  Almost right, they do consume process slots and it can lead to in extreme
> > cases unable to create new process
> 
> thanks, i forgot to so qualify.
> 
> good time to ask a question: where (in /etc/system?) do you limit the
> number of active processes? if it's just available memory versus the
> process table, then, obviously, there's no practical limit.


Kernel parameters. Change them with dxkerneltuner/sysconfig in the proc
subcategory (max-proc-per-user and friends)..

Jure
-- 
Jure Simsic			Literal_d.o.o
jure.simsic@literal.si		+386_1_2315137
				http://www.literal.si


^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: defunct ?
  2001-09-10 15:37     ` Newbie JrSysAdmin
  2001-09-11 10:48       ` Jure Simsic
@ 2001-09-12 22:03       ` Tim Mooney
  1 sibling, 0 replies; 8+ messages in thread
From: Tim Mooney @ 2001-09-12 22:03 UTC (permalink / raw)


In article <2de05464.0109100737.32a56054@posting.google.com>,
Newbie JrSysAdmin <utlonghornsrule@yahoo.com> wrote:

> good time to ask a question: where (in /etc/system?) do you limit the
> number of active processes? if it's just available memory versus the
> process table,

No, that's a Solaris-only thing.

> then, obviously, there's no practical limit.

Tru64's equivalent of Solaris' /etc/system would be /etc/sysconfigtab.
You'll want to read the man pages for sysconfig, sysconfigtab, dxkerneltuner,
and especially sys_attrs and the sys_attrs subgroup manpages.

Note that like most UNIX systems with a strong BSD history, Tru64 uses
a parameter called `maxusers' as a scaling factor for a bunch of different
kernel tuneables.  If you tune maxusers up, a lot of other settings scale
up automatically.  Pay special attention to that section of the sys_attrs_proc
manpage.

If you want to tune *just* the maximum # of processes any one non-root user
can have, you could tune `max_proc_per_user'.

Tim
-- 
Tim Mooney                              mooney@dogbert.cc.ndsu.NoDak.edu
Information Technology Services         (701) 231-1076 (Voice)
Room 242-J6, IACC Building              (701) 231-8541 (Fax)
North Dakota State University, Fargo, ND 58105-5164


^ permalink raw reply	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2001-09-12 22:03 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2001-09-08 22:56 defunct ? @nnib
2001-09-09  9:09 ` @nnib
2001-09-09 12:45 ` Peter da Silva
2001-09-09 16:56 ` Newbie JrSysAdmin
2001-09-09 23:26   ` Mark Garrett
2001-09-10 15:37     ` Newbie JrSysAdmin
2001-09-11 10:48       ` Jure Simsic
2001-09-12 22:03       ` Tim Mooney

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox