From owner-freebsd-current@FreeBSD.ORG Sun Nov 9 21:44:36 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 46DA316A4CE for ; Sun, 9 Nov 2003 21:44:36 -0800 (PST) Received: from smtp.mho.com (smtp.mho.net [64.58.4.6]) by mx1.FreeBSD.org (Postfix) with SMTP id D3AF943FE0 for ; Sun, 9 Nov 2003 21:44:34 -0800 (PST) (envelope-from scottl@freebsd.org) Received: (qmail 60698 invoked by uid 1002); 10 Nov 2003 05:44:32 -0000 Received: from unknown (HELO freebsd.org) (64.58.1.252) by smtp.mho.net with SMTP; 10 Nov 2003 05:44:32 -0000 Message-ID: <3FAF2593.8020903@freebsd.org> Date: Sun, 09 Nov 2003 22:43:47 -0700 From: Scott Long User-Agent: Mozilla/5.0 (X11; U; FreeBSD i386; en-US; rv:1.5) Gecko/20031103 X-Accept-Language: en-us, en MIME-Version: 1.0 To: Kevin Oberman References: <20031110051238.AA1B05D07@ptavv.es.net> In-Reply-To: <20031110051238.AA1B05D07@ptavv.es.net> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit cc: Robert Watson cc: current@freebsd.org Subject: Re: Kernel memory leak in ATAPI/CAM or ATAng? 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, 10 Nov 2003 05:44:36 -0000 Kevin Oberman wrote: > Tested. It's much better, although ATA request keeps adding more > memory all the time when mplayer is playing, but it's now increasing > at about 20K/minute which is a huge improvement. Still, I don't > understand why it should just continue to grow all of the time. The > data rate is about constant. I would expect that it should grow to a > size where the data being processed can be accommodated and then stop > growing. I don't see it stopping. > > Thanks for the quick fix. Well, it sounds like there is still a memory leak somewhere. Make sure that you have rev 1.27 of atapi-cam.c to be sure. If so, please let me know which malloc type in vmstat -m is growing. Scott