From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: fa528,96de186600d5046c X-Google-Attributes: gidfa528,public X-Google-ArrivalTime: 2001-09-30 20:40:03 PST Path: archiver1.google.com!news1.google.com!newsfeed.stanford.edu!logbridge.uoregon.edu!msc1.onvoy!onvoy.com!hardy.tc.umn.edu!news.nodak.edu!not-for-mail From: mooney@dogbert.cc.ndsu.NoDak.edu (Tim Mooney) Newsgroups: comp.unix.tru64 Subject: Re: Defunct Processes Date: 1 Oct 2001 03:24:38 GMT Organization: North Dakota Higher Education Computing Network (NDHECN) Message-ID: <9p8nlm$i53$2@news.ndsu.nodak.edu> References: <3BB460B5.68DA3F20@aero-graphics.com> <3BB4650F.C08C8A6A@aero-graphics.com> NNTP-Posting-Host: dogbert.cc.ndsu.nodak.edu Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-Trace: news.ndsu.nodak.edu 1001906678 18595 134.129.106.23 (1 Oct 2001 03:24:38 GMT) X-Complaints-To: abuse@nodak.edu NNTP-Posting-Date: 1 Oct 2001 03:24:38 GMT X-Newsreader: trn 4.0-test74 (May 26, 2000) Originator: mooney@dogbert.cc.ndsu.NoDak.edu (Tim Mooney) Xref: archiver1.google.com comp.unix.tru64:5086 In article <3BB4650F.C08C8A6A@aero-graphics.com>, X wrote: > X wrote: > > > > Anyone familiar with a way to remove 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