From owner-freebsd-current@FreeBSD.ORG Mon Jun 7 17:24:33 2004 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from green.homeunix.org (freefall.freebsd.org [216.136.204.21]) by hub.freebsd.org (Postfix) with ESMTP id 8671A16A4CE; Mon, 7 Jun 2004 17:24:33 +0000 (GMT) Received: from green.homeunix.org (green@localhost [127.0.0.1]) by green.homeunix.org (8.12.11/8.12.11) with ESMTP id i57HOWqR020208; Mon, 7 Jun 2004 13:24:32 -0400 (EDT) (envelope-from green@green.homeunix.org) Received: (from green@localhost) by green.homeunix.org (8.12.11/8.12.11/Submit) id i57HOWrc020207; Mon, 7 Jun 2004 13:24:32 -0400 (EDT) (envelope-from green) Date: Mon, 7 Jun 2004 13:24:31 -0400 From: Brian Feldman To: Stefan Ehmann Message-ID: <20040607172431.GA19790@green.homeunix.org> References: <1086511629.1509.13.camel@taxman> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1086511629.1509.13.camel@taxman> User-Agent: Mutt/1.5.6i cc: current@freebsd.org Subject: Re: esd leaking file descriptors 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, 07 Jun 2004 17:24:33 -0000 On Sun, Jun 06, 2004 at 10:47:09AM +0200, Stefan Ehmann wrote: > When i run mpg321 -o esd foo.mp3 (or any other player that uses esd as > output) lsof shows an increasing number of open files. It increases at a > rate of about 50 files per second. System will run out of file > descriptor eventually. > > I run CURRENT from yesterday. > esound-0.2.34 A sound library for enlightenment package > > The same version of esound runs fine on another pc running an older > current. So this seems to be a problem of current rather than esd. Check if esd is encountering exceptional conditions with the ktrace facility. You will wnat to run esd with ktrace(1) and then use kdump(1) to view the log of system calls. The other PC probably also doesn't have the same hardware, so it's not so easy to see if it's just a bug in -CURRENT. -- Brian Fundakowski Feldman \'[ FreeBSD ]''''''''''\ <> green@FreeBSD.org \ The Power to Serve! \ Opinions expressed are my own. \,,,,,,,,,,,,,,,,,,,,,,\