From owner-freebsd-current@FreeBSD.ORG Sat Dec 27 16:15:47 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 C8F3416A4CF for ; Sat, 27 Dec 2003 16:15:47 -0800 (PST) Received: from obh.snafu.de (obh.snafu.de [213.73.92.34]) by mx1.FreeBSD.org (Postfix) with ESMTP id EDAEF43D5E for ; Sat, 27 Dec 2003 16:15:30 -0800 (PST) (envelope-from ob@gruft.de) Received: from ob by obh.snafu.de with local (Exim 3.36 #1) id 1AaOag-0002Ie-00 for freebsd-current@freebsd.org; Sun, 28 Dec 2003 01:15:30 +0100 Date: Sun, 28 Dec 2003 01:15:30 +0100 From: Oliver Brandmueller To: freebsd-current@freebsd.org Message-ID: <20031228001529.GQ86308@e-Gitt.NET> Mail-Followup-To: freebsd-current@freebsd.org References: <20031227205000.GG86308@e-Gitt.NET> <1035.1072561906@critter.freebsd.dk> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1035.1072561906@critter.freebsd.dk> User-Agent: Mutt/1.5.5.1i Sender: Oliver Brandmueller 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: Sun, 28 Dec 2003 00:15:47 -0000 Hi. On Sat, Dec 27, 2003 at 10:51:46PM +0100, Poul-Henning Kamp wrote: > I really don't know... > > The most suspect places are calls to dup(2)/dup2(2), close(2), exec(2) > [for close on exec filedescriptors], exit(2) processing and finally > filedescriptor-passing via sockets. > > I have only followed this on the sideline, so I don't have all the > details at hand and I can't really say how I would go about debugging > it, probably by trying to reproduce it in single-user and then > pouring printfs all over the kernel where filedescriptors gets > created/destroyed, and try to figure out which one doesn't get there. I fear this means I'm out of the game now. Tomorrow I will reinstall the machine for a short test with 5.1-REL and if this does not help, I will go back to 4-STABLE finally, to get everything up and running. I hope there will be someone else who can easily reproduce the problem, so it gets fixed. I'd call it a surprise if someone after all had a fix within the next 10 hours or so. Thanx for the help, Oliver -- | Oliver Brandmueller | Offenbacher Str. 1 | Germany D-14197 Berlin | | Fon +49-172-3130856 | Fax +49-172-3145027 | WWW: http://the.addict.de/ | | Ich bin das Internet. Sowahr ich Gott helfe. | | Eine gewerbliche Nutzung aller enthaltenen Adressen ist nicht gestattet! |