Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 03 Feb 2008 20:24:25 +0100
From:      Attila Nagy <bra@fsn.hu>
To:        =?UTF-8?B?SklOTUVJIFRhdHV5YSAvIOelnuaYjumBlOWTiQ==?= <Jinmei_Tatuya@isc.org>
Cc:        freebsd-performance@freebsd.org, bind-users@isc.org
Subject:   Re: max-cache-size doesn't work with 9.5.0b1
Message-ID:  <47A614E9.4030501@fsn.hu>
In-Reply-To: <m24pcwt5b7.wl%Jinmei_Tatuya@isc.org>
References:  <475B0F3E.5070100@fsn.hu>	 <m2lk6g71bc.wl%Jinmei_Tatuya@isc.org>	 <479DFE74.8030004@fsn.hu>	 <m2k5ltke09.wl%Jinmei_Tatuya@isc.org>	 <479F02A7.9020607@fsn.hu> <m24pcwt5b7.wl%Jinmei_Tatuya@isc.org>

next in thread | previous in thread | raw e-mail | index | archive | help
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.




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?47A614E9.4030501>