From owner-freebsd-stable Thu Sep 7 12:57:39 2000 Delivered-To: freebsd-stable@freebsd.org Received: from kci.kciLink.com (kci.kciLink.com [204.117.82.1]) by hub.freebsd.org (Postfix) with ESMTP id 32A2B37B422 for ; Thu, 7 Sep 2000 12:57:37 -0700 (PDT) Received: from onceler.kciLink.com (onceler.kciLink.com [204.117.82.2]) by kci.kciLink.com (Postfix) with ESMTP id 796FBE8B4; Thu, 7 Sep 2000 15:57:36 -0400 (EDT) Received: (from khera@localhost) by onceler.kciLink.com (8.11.0/8.11.0) id e87JvZb45497; Thu, 7 Sep 2000 15:57:35 -0400 (EDT) (envelope-from khera) From: Vivek Khera MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Message-ID: <14775.62255.806691.613714@onceler.kciLink.com> Date: Thu, 7 Sep 2000 15:57:35 -0400 (EDT) To: mikko@dynas.se Cc: freebsd-stable@freebsd.org Subject: Re: running lyris for linux makes many zombies In-Reply-To: References: <14774.47413.520585.194330@onceler.kciLink.com> X-Mailer: VM 6.72 under 21.1 (patch 11) "Carlsbad Caverns" XEmacs Lucid Sender: owner-freebsd-stable@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG >>>>> "m" == mikko writes: >> Any kind of fix would be appreciated. Right now I'm restarting the >> process every 6 hours to keep zombies limited in number. [ ... snip ... ] m> The above patch does seem to get rid of zombies for a linux process m> that has done a signal(SIGCHLD, SIG_IGN). Unfortunately, it seems lyris doesn't call signal(SIGCHLD, SIG_IGN). I'm still getting zombies out of it... grrr. It uses linux kernel threads, and that seems to be where the issue is. On linux, I'm guessing those threads don't need to be reaped by wait(), but in the linuxalator under FreeBSD, they do. Perhaps I need to attack the linux kernel thread implementation... Any other ideas out there? To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-stable" in the body of the message