From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: fa528,605de1b27ea40660 X-Google-Attributes: gidfa528,public X-Google-ArrivalTime: 2001-01-10 02:42:38 PST Path: supernews.google.com!sn-xit-02!supernews.com!news.gv.tsc.tdk.com!news.iac.net!news-out.cwix.com!newsfeed.cwix.com!news-hog.berkeley.edu!ucberkeley!newsfeed.stanford.edu!paloalto-snf1.gtei.net!news.gtei.net!newsgate.tandem.com!mailint03.im.hou.compaq.com!not-for-mail From: Robert Mulley Newsgroups: comp.unix.tru64 Subject: Re: question regarding processes associated with httpd Date: Wed, 10 Jan 2001 10:38:44 +0000 Organization: Compaq Computer Corp. Message-ID: <3A5C3BB4.7FE64233@one.net.au> References: Reply-To: gnscon@one.net.au NNTP-Posting-Host: 16.37.50.195 Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Trace: mailint03.im.hou.compaq.com 979123114 21115 16.37.50.195 (10 Jan 2001 10:38:34 GMT) X-Complaints-To: usenet@mailint03.im.hou.compaq.com NNTP-Posting-Date: 10 Jan 2001 10:38:34 GMT X-Mailer: Mozilla 4.74 [en] (WinNT; U) X-Accept-Language: en Xref: supernews.google.com comp.unix.tru64:1393 Keith Bradnam wrote: > Hi, > > Like many other people (or so it seems) I've started noticing that our > Tru64 system (running Apache with mod perl) keeps generating defunct > processes that seem to be connected to the httpd processes that are > generated. > > I can remove them by killing the parent httpd process and they don't > *appear* to be doing any harm but can anyone explain to me why they > appear, and maybe what I need to do about them (if anything). > > Many thanks, > > Keith > > ~ Keith Bradnam - UK CropNet (http://ukcrop.net) webmaster and > ~ Arabidopsis Genome Resource (http://ukcrop.net/agr) developer. > ~ > ~ Nottingham Arabidopsis Stock Centre, University Park, > ~ University of Nottingham, NG7 2RD, UK. Tel: (0115) 951 3091 Hi, defunct process come about by the httpd forking off child processes. The child process then finishes it's business and sends a sig{chld} to the parent process. Which is meant to have a signal handling procedure to reap it's children. Obviously your httpd process isn't doing this. You may need to update to the latest version of apache. Having them hang around doesn't really suck up any CPU resources, it does take up an entry in the process table. So you may start hitting limits based around max-proc-per-user etc... It is not really good procedure to have them hanging around. Robert Mulley Unix admin