squid on CURRENT: file descriptors leak

Sergey Matveychuk sem at FreeBSD.org
Tue Aug 3 06:58:50 PDT 2004


Bjoern A. Zeeb wrote:
> On Tue, 3 Aug 2004, Sergey Matveychuk wrote:
> 
> 
>>Sergey Matveychuk wrote:
>>
>>>fstat -v shows:
>>>unknown file type 0 for file 3865 of pid 9086
>>>unknown file type 0 for file 3866 of pid 9086
>>>unknown file type 0 for file 3867 of pid 9086
>>>unknown file type 0 for file 3868 of pid 9086
>>
>>Thanks all guys!
>>After updating to HEAD all goes right.
> 
> 
> good to know. Did you ever manage to find out what type of fd it had
> been by repeatedly running pstat ?
> 

Hmm. It's looks like the problem just moved from squid to apache.
It's not a big problem for me because of apache on this machine has a 
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.

(I'll move the discussion from ports@ to current@ for somebody else can 
comment it).

-- 
Sem.


More information about the freebsd-current mailing list