squid on CURRENT: file descriptors leak

Bjoern A. Zeeb bzeeb-lists at lists.zabbadoz.net
Tue Aug 3 07:55:10 PDT 2004


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


More information about the freebsd-current mailing list