From owner-freebsd-performance@FreeBSD.ORG Sun Feb 3 19:24:36 2008 Return-Path: Delivered-To: freebsd-performance@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 7177E16A418 for ; Sun, 3 Feb 2008 19:24:36 +0000 (UTC) (envelope-from bra@fsn.hu) Received: from people.fsn.hu (people.fsn.hu [195.228.252.137]) by mx1.freebsd.org (Postfix) with ESMTP id 3CCEE13C46B for ; Sun, 3 Feb 2008 19:24:35 +0000 (UTC) (envelope-from bra@fsn.hu) Received: from [127.0.0.1] (fw.axelero.hu [195.228.243.120]) by people.fsn.hu (Postfix) with ESMTP id A3BB070712; Sun, 3 Feb 2008 20:24:28 +0100 (CET) Message-ID: <47A614E9.4030501@fsn.hu> Date: Sun, 03 Feb 2008 20:24:25 +0100 From: Attila Nagy User-Agent: Thunderbird 2.0.0.9 (Windows/20071031) MIME-Version: 1.0 To: =?UTF-8?B?SklOTUVJIFRhdHV5YSAvIOelnuaYjumBlOWTiQ==?= References: <475B0F3E.5070100@fsn.hu> <479DFE74.8030004@fsn.hu> <479F02A7.9020607@fsn.hu> In-Reply-To: Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit Cc: freebsd-performance@freebsd.org, bind-users@isc.org Subject: Re: max-cache-size doesn't work with 9.5.0b1 X-BeenThere: freebsd-performance@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Performance/tuning List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 03 Feb 2008 19:24:36 -0000 On 2008.01.30. 3:28, JINMEI Tatuya / 神明達哉 wrote: > Okay, please use the attached patch (applicable to 9.5.0b1, and also > to 9.5.0b2 when it's published). Build it with: > % STD_CDEFINES='-DLRU_DEBUG2=2' ./configure --enable-threads > (or set STD_CDEFINES using setenv if you use a csh variant) > > The log messages shouldn't be very noisy, but if you find them too > frequent, rebuild it with: > % STD_CDEFINES='-DLRU_DEBUG2=1' ./configure --enable-threads > > Note that, if this is a thread-related bug, it may not always be > reproduceable; please try several times if the problem doesn't seem to > happen. (BTW: did it always occur when you first found the problem?) > Yes, if bind was built with threads, the memory usage always grew behind max-cache-size very quickly. Here is the log: http://people.fsn.hu/~bra/freebsd/bind950-memory-20080203/bind950b1 the memory usage (RSS, reported by top) in megabytes: 19:10:37 466 19:11:20 522 19:11:53 566 19:13:06 666 19:14:17 766 max-cache-size was set to 64M.