From owner-freebsd-hackers Mon Dec 8 16:49:17 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.7/8.8.7) id QAA05616 for hackers-outgoing; Mon, 8 Dec 1997 16:49:17 -0800 (PST) (envelope-from owner-freebsd-hackers) Received: from smtp01.primenet.com (smtp01.primenet.com [206.165.6.131]) by hub.freebsd.org (8.8.7/8.8.7) with ESMTP id QAA05597 for ; Mon, 8 Dec 1997 16:49:00 -0800 (PST) (envelope-from tlambert@usr01.primenet.com) Received: (from daemon@localhost) by smtp01.primenet.com (8.8.8/8.8.8) id LAA25170; Mon, 8 Dec 1997 11:22:08 -0700 (MST) Received: from usr01.primenet.com(206.165.6.201) via SMTP by smtp01.primenet.com, id smtpd025116; Mon Dec 8 11:21:57 1997 Received: (from tlambert@localhost) by usr01.primenet.com (8.8.5/8.8.5) id RAA23471; Mon, 8 Dec 1997 17:48:16 -0700 (MST) From: Terry Lambert Message-Id: <199712090048.RAA23471@usr01.primenet.com> Subject: Re: dealing with zombies To: atrens@nortel.ca (Andrew Atrens) Date: Tue, 9 Dec 1997 00:48:16 +0000 (GMT) Cc: hackers@freebsd.org In-Reply-To: <199712082025.MAA07048@hub.freebsd.org> from "Andrew Atrens" at Dec 8, 97 01:37:00 pm X-Mailer: ELM [version 2.4 PL23] Content-Type: text Sender: owner-freebsd-hackers@freebsd.org X-Loop: FreeBSD.org Precedence: bulk > Hi All, > > I'm eval'ing Wordperfect-7.0-for-Linux on `FreeBSD 3.0-971012-SNAP' and am > seeing lots of zombies: [ ... ] > What I'm wondering is: > > i. Is this a fault/feature of the app (xwp), the linux emulation code, or > the kernel (in a larger sense), and > ii. are there any *good* workarounds. ( I seem to recall some discussion > about a tunable kernel parm for auto-reap or some such thing? ) You should find out if this happens in Linux, too. If it does, then you need to live with it. If it doesn't, then the problem is in the default for SIGCHLD. If the parent ignores SIGCHLD (maybe the default on Linux?), then children should be automatically reaped instead of needing to have their status reaped by a parent. This would be a bug in the Linux emulation code. Terry Lambert terry@lambert.org --- Any opinions in this posting are my own and not those of my present or previous employers.