Usenet comp.unix.tru64 (2000-2013)
 help / color / mirror / Atom feed
From: mooney@dogbert.cc.ndsu.NoDak.edu (Tim Mooney)
Subject: Re: Defunct Processes
Date: 1 Oct 2001 03:24:38 GMT	[thread overview]
Message-ID: <9p8nlm$i53$2@news.ndsu.nodak.edu> (raw)
In-Reply-To: 3BB4650F.C08C8A6A@aero-graphics.com

In article <3BB4650F.C08C8A6A@aero-graphics.com>,
X  <jnielsen@aero-graphics.com> wrote:
> X wrote:
> > 
> > Anyone familiar with a way to remove <defunct> processes?  We have a
> > particular application we run remotely and it appears when it dies that
> > it leaves this still around.
> > 
> > It does not show them as using any resource and yet the 4 gigs of ram in
> > the machine have slowly but surely been disappearing and I can not
> > account for it's loss.
> > 
> > Thanks,
> > Jason
> 
> I also have a process dubbed "-" when I use the w command showing up
> being run from a remote machine. Its been running for 38days and yet I
> can not find any reference to this process in ps(looking for it based on
> the console its running on).

Generally the only way to get rid of a defunct process is by rebooting.
It's generally a sign that its parent (which you can also get via `ps')
isn't doing something it should be (waiting on the child, or ignoring
SIGCLD/SIGCHLD).

The second problem you mention (something showing up with `w' that isn't there)
is probably a corruption of your utmp file.  It may be related to the
other problem you're having, but they technically are two separate issues.

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


      parent reply	other threads:[~2001-10-01  3:24 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2001-09-28 11:36 Defunct Processes X
2001-09-28 11:54 ` X
2001-09-28 12:10   ` X
2001-10-01  3:24   ` Tim Mooney [this message]
read-only archive

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