From owner-freebsd-questions Sat Aug 24 0:40:21 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 B9F7737B400 for ; Sat, 24 Aug 2002 00:40:19 -0700 (PDT) Received: from kumprang.or.id (kumprang.or.id [202.143.103.227]) by mx1.FreeBSD.org (Postfix) with SMTP id 2B08C43E6E for ; Sat, 24 Aug 2002 00:40:06 -0700 (PDT) (envelope-from budsz@kumprang.or.id) Received: (qmail 1459 invoked by uid 1000); 24 Aug 2002 07:40:50 -0000 Date: Sat, 24 Aug 2002 14:40:50 +0700 From: budsz To: jonc@chen.org.nz Cc: FBSDQ Subject: Re: How kill Zombie Message-ID: <20020824074050.GA506@kumprang.kumprang.or.id> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline 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 06:14:40PM +1200, Jonathan Chen wrote: >On Sat, Aug 24, 2002 at 12:02:02PM +0700, budsz wrote: >> Hi, >> >> If I use top command, so I see "1 zombie": >> >> last pid: 12424; load averages: 0.00, 0.00, 0.00 up 0+00:34:35 11:54:47 >> 73 processes: 1 running, 71 sleeping, 1 zombie >> Mem: 33M Active, 9760K Inact, 12M Wired, 3548K Cache, 14M Buf, 1596K Free >> Swap: 500M Total, 1888K Used, 498M Free >> >> I use ps aux : >> >> root 12313 0.0 0.0 0 0 ?? Z 11:54AM 0:00.00 (sh) >> >> How to kill zombie proses..?, this happen when I try to install amavis >> scanner virus..? but if I kill my qmail zombie doesn't appeare. > >You can't "kill" a zombie process. It's parent process is responsible >for cleaning it up. Your choices are: > > 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. TIA -- budsz To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message