squid on CURRENT: file descriptors leak

Sergey Matveychuk sem at FreeBSD.org
Mon Aug 2 05:56:57 PDT 2004


Matthew D. Fuller wrote:

> Try `fstat -v`.  I get a bunch of type 5's (which I think are
> something to do with kqueue) when my older version of Mozilla-LITE
> starts chewing up file descriptors (fstat doesn't know what they are,
> so doesn't mention 'em when it's not -v'd).

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
unknown file type 0 for file 3869 of pid 9086
unknown file type 0 for file 3870 of pid 9086
unknown file type 0 for file 3871 of pid 9086
unknown file type 0 for file 3872 of pid 9086
unknown file type 0 for file 3873 of pid 9086
unknown file type 0 for file 3874 of pid 9086
unknown file type 0 for file 3875 of pid 9086
unknown file type 0 for file 3876 of pid 9086
unknown file type 0 for file 3877 of pid 9086
etc.

pid 9086 is squid.
This box I've updated from 5.1. I have no ideas what may be wrong with it.

Updating to HEAD is in my plans but I can't do it now. It's a production 
server. May be within a couple days I'll do it.

P.S. CFLAGS=-O -pipe on my boxes. CPUTYPE=i686.

-- 
Sem.


More information about the freebsd-ports mailing list