From owner-freebsd-current@FreeBSD.ORG Sun Dec 21 23:30:48 2003 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 AC78816A4CE for ; Sun, 21 Dec 2003 23:30:48 -0800 (PST) Received: from prg.traveller.cz (prg.traveller.cz [193.85.2.77]) by mx1.FreeBSD.org (Postfix) with ESMTP id B42D643D64 for ; Sun, 21 Dec 2003 23:30:45 -0800 (PST) (envelope-from mime@traveller.cz) Received: from prg.traveller.cz (localhost [127.0.0.1]) hBM7Ui8Y014137; Mon, 22 Dec 2003 08:30:44 +0100 (CET) Received: from localhost (mime@localhost)hBM7UhgA014134; Mon, 22 Dec 2003 08:30:43 +0100 (CET) Date: Mon, 22 Dec 2003 08:30:43 +0100 (CET) From: Michal Mertl To: Doug White In-Reply-To: <20031221194210.N55059@carver.gumbysoft.com> Message-ID: <20031222082501.E13305@prg.traveller.cz> References: <20031217110353.U94352@prg.traveller.cz> <20031219112603.O37433@prg.traveller.cz> <20031220123907.X90388@prg.traveller.cz> <20031221194210.N55059@carver.gumbysoft.com> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII cc: freebsd-current@freebsd.org 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: Mon, 22 Dec 2003 07:30:48 -0000 On Sun, 21 Dec 2003, Doug White wrote: > On Sat, 20 Dec 2003, Michal Mertl wrote: > > > As I already replied to Jonathan the output of fstat (and lsof) looks > > normal. After going to _single_user_ with no processess running, fstat > > shows only a handful of files (sh and fstat itself) yet kern.maxfiles is > > large. > > nitpick: I assume you meant kern.openfiles, since kern.maxfiles is the > systemwide limit on the # of files and doesn't change unless you change > it. Of course, sorry for the confusion. I tried to reproduce the problem at home but to no avail. I will check at work again and send the output of "sysctl kern.malloc | grep 'file desc'" as Poul-Henning requested. -- Michal Mertl