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 / 神明達哉 <[EMAIL PROTECTED]> wrote:

> From: JINMEI Tatuya / 神明達哉 <[EMAIL PROTECTED]>
> Subject: Re: dnsperf and BIND memory consumption
> To: [EMAIL PROTECTED]
> Cc: [EMAIL PROTECTED], "Vinny Abello" <[EMAIL PROTECTED]>, "[EMAIL 
> PROTECTED]" <[EMAIL PROTECTED]>
> Date: Friday, November 28, 2008, 8:21 PM
> At Thu, 27 Nov 2008 23:04:58 -0800 (PST),
> ivan jr sy <[EMAIL PROTECTED]> 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.


      
_______________________________________________
bind-users mailing list
bind-users@lists.isc.org
https://lists.isc.org/mailman/listinfo/bind-users

Reply via email to