Date: Sun, 14 Mar 2004 19:06:59 -0800 From: Kris Kennaway <kris@obsecurity.org> To: "Matthew D. Fuller" <fullermd@over-yonder.net> Cc: hackers@freebsd.org Subject: Re: Mozilla sucking file descriptors Message-ID: <20040315030659.GA95401@xor.obsecurity.org> In-Reply-To: <20040315013215.GF61692@over-yonder.net> References: <20040315013215.GF61692@over-yonder.net>
next in thread | previous in thread | raw e-mail | index | archive | help
--AqsLC8rIMeq19msA Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable 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: >=20 > (ttyp4):{173}% fstat -v | & grep -E 'unknown file type 5 for file [0-9]+ = of pid 4697' | wc -l > 3472 >=20 > (that being, of course, my current firefox PID) >=20 > 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)? >=20 > (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 --AqsLC8rIMeq19msA Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.4 (FreeBSD) iD8DBQFAVR3TWry0BWjoQKURAl2eAKCbA8CN3vpyfUFwNDjiGhC0W64thgCfWeLp 9dhLTMTdddTcwOpLtzgljkg= =g3FS -----END PGP SIGNATURE----- --AqsLC8rIMeq19msA--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20040315030659.GA95401>