Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 3 Aug 2004 14:51:26 +0000 (UTC)
From:      "Bjoern A. Zeeb" <bzeeb-lists@lists.zabbadoz.net>
To:        Sergey Matveychuk <sem@FreeBSD.org>
Cc:        FreeBSD current mailing list <current@FreeBSD.org>
Subject:   Re: squid on CURRENT: file descriptors leak
Message-ID:  <Pine.BSF.4.53.0408031445050.69034@e0-0.zab2.int.zabbadoz.net>
In-Reply-To: <410F9A0A.3080803@FreeBSD.org>
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> <Pine.BSF.4.53.0408031315530.69034@e0-0.zab2.int.zabbadoz.net> <410F9A0A.3080803@FreeBSD.org>

next in thread | previous in thread | raw e-mail | index | archive | help
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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.BSF.4.53.0408031445050.69034>