From owner-freebsd-current Wed Oct 2 0:53:44 2002 Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 1627637B401 for ; Wed, 2 Oct 2002 00:53:43 -0700 (PDT) Received: from dmlb.org (pc1-cmbg2-6-cust106.cam.cable.ntl.com [80.4.4.106]) by mx1.FreeBSD.org (Postfix) with ESMTP id 9999343E4A for ; Wed, 2 Oct 2002 00:53:42 -0700 (PDT) (envelope-from dmlb@dmlb.org) Received: from slave.my.domain ([192.168.200.39]) by dmlb.org with esmtp (TLSv1:DES-CBC3-SHA:168) (Exim 3.36 #1) id 17weK6-00042r-00; Wed, 02 Oct 2002 08:53:34 +0100 Received: from dmlb by slave.my.domain with local (Exim 3.36 #1) id 17weK6-000CMM-00; Wed, 02 Oct 2002 08:53:34 +0100 Message-ID: X-Mailer: XFMail 1.5.2 on FreeBSD X-Priority: 3 (Normal) Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 8bit MIME-Version: 1.0 In-Reply-To: <3D9A365A.7070702@isi.edu> Date: Wed, 02 Oct 2002 08:53:34 +0100 (BST) From: Duncan Barclay To: Lars Eggert Subject: Re: zombies from linux binaries Cc: current Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG On 01-Oct-2002 Lars Eggert wrote: > Duncan Barclay wrote: >> On 01-Oct-2002 Lars Eggert wrote: >>> >>>I've been running the guidescope web ad blocker >>>(http://www.guidescope.com/home/) as a Linux binary under FreeBSD for a >>>long time. The thing seems to fork a child for each web request it proxies. >>> >>>Under -current, it seems that the child processes become zombies, and >>>the proxy stops working once 1024 or so accumulate. The zombies don't go >>>away when parent process finishes, they stick around until reboot. >> >> Is this http://www.freebsd.org/cgi/query-pr.cgi?pr=42457 related? It >> is for stable but I belive that the same behaviour is present in -current >> and it may manifest itself differently. > > Don't know - I know the symptom, but haven't looked into finding the > cause; guidescope is closed source. So is matlab that I tracked it down with. I used ktrace and linux_kdump from ports to watch the thread creation and destruction. It took an evening. > Lars > -- > Lars Eggert USC Information Sciences Institute -- ________________________________________________________________________ Duncan Barclay | God smiles upon the little children, dmlb@dmlb.org | the alcoholics, and the permanently stoned. dmlb@freebsd.org| Steven King To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message