From owner-freebsd-hackers@FreeBSD.ORG Sun Mar 14 19:07:12 2004 Return-Path: Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 15D3016A4CE for ; Sun, 14 Mar 2004 19:07:12 -0800 (PST) Received: from mta4.rcsntx.swbell.net (mta4.rcsntx.swbell.net [151.164.30.28]) by mx1.FreeBSD.org (Postfix) with ESMTP id DBB9D43D3F for ; Sun, 14 Mar 2004 19:07:11 -0800 (PST) (envelope-from kris@obsecurity.org) Received: from obsecurity.dyndns.org (1a93a45b04cb9dca8fe7cd24c79765cc@adsl-67-119-53-203.dsl.lsan03.pacbell.net [67.119.53.203])i2F3708A002506; Sun, 14 Mar 2004 21:07:00 -0600 (CST) Received: by obsecurity.dyndns.org (Postfix, from userid 1000) id B1C5B535DC; Sun, 14 Mar 2004 19:06:59 -0800 (PST) Date: Sun, 14 Mar 2004 19:06:59 -0800 From: Kris Kennaway To: "Matthew D. Fuller" Message-ID: <20040315030659.GA95401@xor.obsecurity.org> References: <20040315013215.GF61692@over-yonder.net> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="AqsLC8rIMeq19msA" Content-Disposition: inline In-Reply-To: <20040315013215.GF61692@over-yonder.net> User-Agent: Mutt/1.4.2.1i cc: hackers@freebsd.org Subject: Re: Mozilla sucking file descriptors X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 15 Mar 2004 03:07:12 -0000 --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--