From owner-freebsd-current@FreeBSD.ORG Wed Dec 17 02:32:39 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 686B216A4CE for ; Wed, 17 Dec 2003 02:32:39 -0800 (PST) Received: from transport.cksoft.de (transport.cksoft.de [62.111.66.27]) by mx1.FreeBSD.org (Postfix) with ESMTP id 8125943D57 for ; Wed, 17 Dec 2003 02:32:37 -0800 (PST) (envelope-from bzeeb-lists@lists.zabbadoz.net) Received: from transport.cksoft.de (localhost [127.0.0.1]) by transport.cksoft.de (Postfix) with ESMTP id 82CC61FF9A6; Wed, 17 Dec 2003 11:32:35 +0100 (CET) Received: by transport.cksoft.de (Postfix, from userid 66) id E34831FF931; Wed, 17 Dec 2003 11:32:33 +0100 (CET) Received: by mail.int.zabbadoz.net (Postfix, from userid 1060) id 72A89153EC; Wed, 17 Dec 2003 10:32:16 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by mail.int.zabbadoz.net (Postfix) with ESMTP id 687AF15380; Wed, 17 Dec 2003 10:32:17 +0000 (UTC) Date: Wed, 17 Dec 2003 10:32:17 +0000 (UTC) From: "Bjoern A. Zeeb" X-X-Sender: bz@e0-0.zab2.int.zabbadoz.net To: Michal Mertl In-Reply-To: <20031217110353.U94352@prg.traveller.cz> Message-ID: References: <20031217110353.U94352@prg.traveller.cz> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII X-Virus-Scanned: by AMaViS cksoft-s20020300-20031204bz on transport.cksoft.de 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: Wed, 17 Dec 2003 10:32:39 -0000 On Wed, 17 Dec 2003, Michal Mertl wrote: > For several weeks now I see my -current (now RELENG_5_2 to help test the > release) machine seems to be leaking file descriptors. After some time all > files (up to kern.maxfiles) are consumed. > > I installed new kernel and world yesterday and the problem stil persists. > The machine is used as my workstation - it's running X, fvwm2, Apache > and Mozilla. > > After reboot yesterday I had about 120 files open (as seen in sysctl > kern.openfiles). After 11 hours on inactivity (I was at home), the > system had ~400 files open. Shutdown to singlemode reduces the number only > a little (by ~100). what would fstat tell you ? -- Bjoern A. Zeeb bzeeb at Zabbadoz dot NeT 56 69 73 69 74 http://www.zabbadoz.net/