From owner-freebsd-current@FreeBSD.ORG Tue Jun 8 06:18:03 2004 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 710E116A4CE for ; Tue, 8 Jun 2004 06:18:03 +0000 (GMT) Received: from parts-unknown.org (dsl093-170-248.sfo4.dsl.speakeasy.net [66.93.170.248]) by mx1.FreeBSD.org (Postfix) with SMTP id EC79F43D54 for ; Tue, 8 Jun 2004 06:18:02 +0000 (GMT) (envelope-from benfell@parts-unknown.org) Received: (qmail 16938 invoked by alias); 7 Jun 2004 22:19:37 -0000 Date: Mon, 7 Jun 2004 15:19:37 -0700 From: David Benfell To: current@freebsd.org Message-ID: <20040607221937.GB16843@parts-unknown.org> Mail-Followup-To: current@freebsd.org References: <1086642350.827.1.camel@taxman> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1086642350.827.1.camel@taxman> X-stardate: [-29]2234.60 X-moon: The Moon is Waning Gibbous (70% of Full) User-Agent: Mutt/1.5.6i X-Mailman-Approved-At: Tue, 08 Jun 2004 12:16:11 +0000 Subject: Re: file descripter leak in current with Qmail? 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: Tue, 08 Jun 2004 06:18:03 -0000 On Mon, 07 Jun 2004 23:05:51 +0200, Stefan Ehmann wrote: > On Mon, 2004-06-07 at 22:38, Robert Watson wrote: > > On Mon, 7 Jun 2004, Arjan van Leeuwen wrote: > > > I get a panic (address not allocated) when using the patch. I can't > > > write down any useful details about it right now, because although the > > > server has only 3 users, they're very disconcerned when I disrupt their > > > internet traffic :). > > > > Doh. Sorry about that. Revised patch attached. I'm able to test the > > leak with the attached C file, and on my test box (now that it doesn't > > panic), the leak appears fixed for non-blocking accepts. > > Thanks, that fixed it here too. > Thanks to all. I will try this patch later tonight. -- David Benfell, LCP benfell@parts-unknown.org --- Resume available at http://www.parts-unknown.org/resume.html