From owner-freebsd-questions Sat Aug 24 7:35:29 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 AA6A737B400 for ; Sat, 24 Aug 2002 07:35:27 -0700 (PDT) Received: from sage-one.net (adsl-65-71-135-137.dsl.crchtx.swbell.net [65.71.135.137]) by mx1.FreeBSD.org (Postfix) with ESMTP id BAE7343E3B for ; Sat, 24 Aug 2002 07:35:26 -0700 (PDT) (envelope-from jackstone@sage-one.net) Received: from sagea (sagea [192.168.0.3]) by sage-one.net (8.11.6/8.11.6) with SMTP id g7OEZBS27424; Sat, 24 Aug 2002 09:35:11 -0500 (CDT) (envelope-from jackstone@sage-one.net) Message-Id: <3.0.5.32.20020824093510.03a345e0@mail.sage-one.net> X-Sender: jackstone@mail.sage-one.net X-Mailer: QUALCOMM Windows Eudora Pro Version 3.0.5 (32) Date: Sat, 24 Aug 2002 09:35:10 -0500 To: Fernando Gleiser , budsz From: "Jack L. Stone" Subject: Re: How kill Zombie Cc: FBSDQ In-Reply-To: <20020824111058.V95265-100000@localhost> References: <20020824074050.GA506@kumprang.kumprang.or.id> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" 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 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. Best regards, Jack L. Stone, Administrator SageOne Net http://www.sage-one.net jackstone@sage-one.net To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message