dnsperf and BIND memory consumption

JINMEI Tatuya / 神明達哉 Jinmei_Tatuya at isc.org
Fri Nov 28 07:21:11 UTC 2008


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