Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 04 Apr 2008 16:34:42 +0200
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:  <47F63C82.7060502@fsn.hu>
In-Reply-To: <m21w5mltki.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>	 <47A614E9.4030501@fsn.hu>	 <m2wspkpl7r.wl%Jinmei_Tatuya@isc.org>	 <47A77A13.6010802@fsn.hu>	 <m2zlueohxk.wl%Jinmei_Tatuya@isc.org>	 <47B1D2F4.5070304@fsn.hu>	 <m2tzkexdo7.wl%Jinmei_Tatuya@isc.org>	 <47B2DD62.6020507@fsn.hu>	 <m2abm4y4by.wl%Jinmei_Tatuya@isc.org>	 <47BAE0B3.4090004@fsn.hu>	 <m2pruse24g.wl%Jinmei_Tatuya@isc.org>	 <47F4F63E.80703@fsn.hu> <m21w5mltki.wl%Jinmei_Tatuya@isc.org>

next in thread | previous in thread | raw e-mail | index | archive | help
On 04/03/08 19:46, JINMEI Tatuya / 神明達哉 wrote:
> Hmm, this is odd in two points:
> 1. the "X" malloc option doesn't seem to work as expected.  I expected
>    a call to malloc() should trigger an assertion failure (within the
>    malloc library) at a much earlier stage.  Does it change if you try
>    the alternative debugging approach I mentioned before?  That is:
>   - create a symbolic link from "/etc/malloc.conf" to "X":
>     # ln -s X /etc/malloc.conf
>   - start named with a moderate limitation of virtual memory size, e.g.
>     # /usr/bin/limits -v 384m $path_to_named/named <command line options>
>
> 2. Whether it's related to this max-cache-size issue, the assertion
>    failure in mem.c wasn't an expected result; this is likely to be a
>    bug anyway.  If the process dumped a core, can you show the
>    stack backtrace of it?
>    (gdb) thread apply all bt full
>
>   
No effect, the process grows happily. I don't have a core dump.

> This means about 31 log messages per second.  This may not be
> extremely frequent, but if some memory is lost for every log message,
> I guess it could be a reason for the growing memory at the hight rate
> we've seen.
>
> What if you change the channel setting from:
>
>   
I've added this, so now the server doesn't log much (after start, noting):
        category default        { null; };

The memory usage still grows.

-- 
Attila Nagy                                   e-mail: Attila.Nagy@fsn.hu
Free Software Network (FSN.HU)                 phone: +3630 306 6758
http://www.fsn.hu/




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