From owner-freebsd-current@FreeBSD.ORG Tue Aug 3 14:55:10 2004 Return-Path: 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 5AE1016A4CF; Tue, 3 Aug 2004 14:55:10 +0000 (GMT) Received: from transport.cksoft.de (transport.cksoft.de [62.111.66.27]) by mx1.FreeBSD.org (Postfix) with ESMTP id 830B643D45; Tue, 3 Aug 2004 14:55:09 +0000 (GMT) (envelope-from bzeeb-lists@lists.zabbadoz.net) Received: from transport.cksoft.de (localhost [127.0.0.1]) by transport.cksoft.de (Postfix) with ESMTP id B9C8A1FFDD7; Tue, 3 Aug 2004 16:55:07 +0200 (CEST) Received: by transport.cksoft.de (Postfix, from userid 66) id D4C771FFDD6; Tue, 3 Aug 2004 16:55:05 +0200 (CEST) Received: by mail.int.zabbadoz.net (Postfix, from userid 1060) id 8BD4315384; Tue, 3 Aug 2004 14:51:25 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by mail.int.zabbadoz.net (Postfix) with ESMTP id 80CD615329; Tue, 3 Aug 2004 14:51:26 +0000 (UTC) Date: Tue, 3 Aug 2004 14:51:26 +0000 (UTC) From: "Bjoern A. Zeeb" X-X-Sender: bz@e0-0.zab2.int.zabbadoz.net To: Sergey Matveychuk In-Reply-To: <410F9A0A.3080803@FreeBSD.org> Message-ID: References: <410889F7.6050603@FreeBSD.org> <41089662.40301@FreeBSD.org> <41089A76.9080703@FreeBSD.org> <20040729114258.GH1726@k7.mavetju> <4108ED45.70302@FreeBSD.org> <20040730064045.GS22300@over-yonder.net> <410E39F8.6080209@FreeBSD.org> <410F8849.4090905@FreeBSD.org> <410F9A0A.3080803@FreeBSD.org> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII X-Virus-Scanned: by AMaViS cksoft-s20020300-20031204bz on transport.cksoft.de cc: FreeBSD current mailing list Subject: Re: squid on CURRENT: file descriptors leak X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 03 Aug 2004 14:55:10 -0000 On Tue, 3 Aug 2004, Sergey Matveychuk wrote: Hi, > > good to know. Did you ever manage to find out what type of fd it had > > been by repeatedly running pstat ? > .. > little using. And lost FDs only one on each runned httpd (instead of > tens thousands with squid): > > unknown file type 0 for file 3 of pid 21232 > unknown file type 0 for file 3 of pid 21231 > unknown file type 0 for file 3 of pid 21230 > unknown file type 0 for file 3 of pid 21229 > unknown file type 0 for file 3 of pid 21228 > > I think it's former socket descriptors. are you sure ? could you please repeatedly run pstat -f and check if you can manually trigger the problem by loading a page from that apache and see if the leftover really is a socket ? what's the value of sysctl debug.mpsafenet btw ? > (I'll move the discussion from ports@ to current@ for somebody else can > comment it). for the others: pstat -f returns a lot of "dead" FDs with everything but LOC cleared. -- Bjoern A. Zeeb bzeeb at Zabbadoz dot NeT