From owner-freebsd-questions Sat Aug 24 9:12:56 2002 Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.FreeBSD.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id DE51037B400 for ; Sat, 24 Aug 2002 09:12:53 -0700 (PDT) Received: from kumprang.or.id (kumprang.or.id [202.143.103.227]) by mx1.FreeBSD.org (Postfix) with SMTP id 96D5743E4A for ; Sat, 24 Aug 2002 09:12:49 -0700 (PDT) (envelope-from budsz@kumprang.or.id) Received: (qmail 36669 invoked by uid 1000); 24 Aug 2002 16:13:40 -0000 Date: Sat, 24 Aug 2002 23:13:40 +0700 From: budsz To: "Jack L. Stone" Cc: FBSDQ Subject: Re: How kill Zombie Message-ID: <20020824161340.GA34055@kumprang.kumprang.or.id> References: <20020824074050.GA506@kumprang.kumprang.or.id> <3.0.5.32.20020824093510.03a345e0@mail.sage-one.net> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <3.0.5.32.20020824093510.03a345e0@mail.sage-one.net> User-Agent: Mutt/1.4i X-Pubkey: "http://www.kumprang.or.id/~budsz/pubkey_FreeBSD.txt" X-Finger-Print: "A05A 268C 3CD4 ABBD D9EB 11E1 F64C 4B4E 6269 5304" X-System-Operation: FreeBSD 4.6-STABLE i386 X-Organization: "Internet Cafe and Game PC Kumprang" Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG On Sat, Aug 24, 2002 at 09:35:10AM -0500, Jack L. Stone wrote: >At 11:16 AM 8.24.2002 -0300, Fernando Gleiser wrote: >>On Sat, 24 Aug 2002, budsz wrote: >> >>> > >>> > 1. kill the parent process. >>> > 2. fix the code in the parent process to clean up after itself. >>> >>> Thx be 4 >>> >>> If I choise no 1 options of couse I must kill qmail parent process >>> that's impossible :-), Options no 2 maybe I choise but how..? I only >>> change qmail-queue to qmail-queue-real then I copy >>> /usr/local/sbin/amavis to /var/qmail/bin/qmail-queue that all. >>> when I recofiguration with old config..zombie appeare. >>> Have any suggestion for this case? maybe you've experience with amavis >>> perl + qmail. >> >>Keep in mind that if you have a busy server, there can be a considerable >delay >>between the time the process exit(2) and the time the parent calls wait(2). >>In that window of time, the process shows up as zombie. Once the parent >>calls wait(2), it gets cleaned up. >> >>If you only see one zombie, and each time you see it, you see its PID is >>different, don't worry about it. >> >> >> >> Fer >> >>> >>> TIA >>> > >But, some zombies may never be cleared up as with my earlier example of the >one generated by apcupsd on my system(s). I just leaned to ignore it as it >doesn't bother anything. No doubt the parent isn't doing the cleanup. I >reported it to the creator and that's all I can do in this case since I >don't work with code. One of these zombies is created on every machine >running apcupsd. Okay, thx for all information. -- budsz To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message