dnsperf and BIND memory consumption

ivan jr sy ivan_jr at yahoo.com
Fri Nov 28 07:35:30 UTC 2008


so does this memory leak only occur if 
@ISC_ARCH_DIR@ is "noatomic" under FreeBSD amd64?
and not when its "x86_32" ?

--- On Fri, 11/28/08, JINMEI Tatuya / 神明達哉 <Jinmei_Tatuya at isc.org> wrote:

> From: JINMEI Tatuya / 神明達哉 <Jinmei_Tatuya at isc.org>
> Subject: Re: dnsperf and BIND memory consumption
> To: ivan_jr at yahoo.com
> Cc: dougb at FreeBSD.org, "Vinny Abello" <vinny at tellurian.com>, "bind-users at isc.org" <bind-users at isc.org>
> Date: Friday, November 28, 2008, 8:21 PM
> At Thu, 27 Nov 2008 23:04:58 -0800 (PST),
> ivan jr sy <ivan_jr at yahoo.com> wrote:
> 
> > - with a minor tweak, it fixed the memory consumption
> problem.
> > 
> > if you compile BIND9.5.0-P2 on FreeBSD by hand, the
> host_cpu is 'x86_32'
> > # grep -e "host_cpu" -e "ARCH"
> config.log
> > ISC_ARCH_DIR='x86_32'
> > host_cpu='x86_64'
> > 
> > and with threads enabled... you won't experience
> the high memory consumption...
> > 
> > But if you install using ports/bind95 (FreeBSD ports)
> > #grep -e "host_cpu" -e "ARCH"
> config.log
> > ISC_ARCH_DIR='noatomic'
> > host_cpu='amd64'
> > 
> > with threads enabled... then you will get high memory
> consumption after a several thousands of queries..
> 
> These seem to me to indicate that there's a memory leak
> in FreeBSD's
> pthread_mutex_lock() and/or pthread_mutex_unlock().
> 
> ---
> JINMEI, Tatuya
> Internet Systems Consortium, Inc.


      



More information about the bind-users mailing list