Mozilla sucking file descriptors
Kris Kennaway
kris at obsecurity.org
Sun Mar 14 19:07:12 PST 2004
On Sun, Mar 14, 2004 at 07:32:15PM -0600, Matthew D. Fuller wrote:
> Has anybody else seen Mozilla just start munching file descriptors the
> longer it runs? I've seen it with at least Phoen^WFirebird 0.6 and
> the current Firebi^WFirefox. It just keeps going 'till it maxes out
> the system. fstat(1) doesn't show much directly, but with -v it spits
> a crapload of errors:
>
> (ttyp4):{173}% fstat -v | & grep -E 'unknown file type 5 for file [0-9]+ of pid 4697' | wc -l
> 3472
>
> (that being, of course, my current firefox PID)
>
> File type 5 is a kqueue (according to sys/file.h). Why is Mozilla
> eating an ever-increasing number of kqueue handles? Is this our
> problem or theirs? Or is this something fixed since I last updated
> (I'm on 5.1-RELEASE now)?
>
> (In other news, thank heavens you can tweak kern.maxfiles on the fly!)
This sounds like a DNS resolver bug that was fixed some time ago.
Kris
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 187 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/freebsd-hackers/attachments/20040314/a4a02376/attachment.bin
More information about the freebsd-hackers
mailing list