From owner-freebsd-current@FreeBSD.ORG Tue Jan 6 11:44:04 2004 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 5AF0316A4CE for ; Tue, 6 Jan 2004 11:44:04 -0800 (PST) Received: from fledge.watson.org (fledge.watson.org [204.156.12.50]) by mx1.FreeBSD.org (Postfix) with ESMTP id 3E6B143D48 for ; Tue, 6 Jan 2004 11:43:54 -0800 (PST) (envelope-from robert@fledge.watson.org) Received: from fledge.watson.org (localhost [127.0.0.1]) by fledge.watson.org (8.12.10/8.12.10) with ESMTP id i06Jg6Ud088584; Tue, 6 Jan 2004 14:42:06 -0500 (EST) (envelope-from robert@fledge.watson.org) Received: from localhost (robert@localhost)i06Jg5eB088581; Tue, 6 Jan 2004 14:42:06 -0500 (EST) (envelope-from robert@fledge.watson.org) Date: Tue, 6 Jan 2004 14:42:05 -0500 (EST) From: Robert Watson X-Sender: robert@fledge.watson.org To: Michal Mertl In-Reply-To: <20031223140614.S5800@prg.traveller.cz> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII cc: Jonathan Lennox cc: Poul-Henning Kamp cc: freebsd-current@freebsd.org cc: Kris Kennaway Subject: Re: file descriptor leak in 5.2-RC X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 06 Jan 2004 19:44:04 -0000 On Tue, 23 Dec 2003, Michal Mertl wrote: > > I'l try to reproduce the problem here at home and send the info. > > Otherwise it will have to wait till monday when I'm at work. > > Sorry for the late answer - I was unable to reproduce the problem at > home and even at work it takes some time before it's obviously visible. > > Now, after ~25hours, I see it again. Fstat and lsof in single-user > really only show small number of files (these of fstat, sh and init) yet > kern.openfiles was 729. Output of "sysctl kern.malloc | grep 'file > desc'" is "file desc 47 12K 29K 6801 256". I've got all sysctl -a saved > if anything from it might give another clue. > > I forced panic from the DDB so I've got coredump if needed. > > I think it's mozilla (and libkse) what's causing this. It seems to > happen after many pages are loaded (I leave the computer running when I > leave on https page which reloads every minute). At home I tried with > self refreshing local page without SSL and the problem didn't occur. I've (perhaps foolishly) been on vacation for the last couple of weeks. >From skimming messages, it looks like this problem has been resolved, patches committed, etc. Just wanted to send an e-mail and confirm this was all the case... Robert N M Watson FreeBSD Core Team, TrustedBSD Projects robert@fledge.watson.org Senior Research Scientist, McAfee Research