From owner-freebsd-current@FreeBSD.ORG Wed Dec 17 02:17:05 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 B653C16A4CE for ; Wed, 17 Dec 2003 02:17:05 -0800 (PST) Received: from prg.traveller.cz (prg.traveller.cz [193.85.2.77]) by mx1.FreeBSD.org (Postfix) with ESMTP id 6C1E943D1F for ; Wed, 17 Dec 2003 02:17:02 -0800 (PST) (envelope-from mime@traveller.cz) Received: from prg.traveller.cz (localhost [127.0.0.1])hBHAH18Y000769 for ; Wed, 17 Dec 2003 11:17:01 +0100 (CET) Received: from localhost (mime@localhost)hBHAH1xg000766 for ; Wed, 17 Dec 2003 11:17:01 +0100 (CET) Date: Wed, 17 Dec 2003 11:17:00 +0100 (CET) From: Michal Mertl To: freebsd-current@freebsd.org Message-ID: <20031217110353.U94352@prg.traveller.cz> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Subject: 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:17:05 -0000 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). On another machine acting as a server (no X, no threading applications) I don't see the problem. I've got /etc/libmap.conf set-up for libkse. -- Michal Mertl