Re: dnsperf and BIND memory consumption

2009-01-05 Thread JINMEI Tatuya / 神明達哉
At Thu, 01 Jan 2009 00:04:49 -0500, Danny Mayer ma...@gis.net wrote: Personally, I'm not convinced that it will make a difference outside of Windows. The fix is to make sure a lock gets destroyed when done and the function exits. On Windows the lock gets created and memory is allocated for it

Re: dnsperf and BIND memory consumption

2009-01-05 Thread JINMEI Tatuya / 神明達哉
At Thu, 1 Jan 2009 00:47:10 -0500, Vinny Abello vi...@tellurian.com wrote: I just loaded up the BIND 9.5.1 port on FreeBSD 7.0 AMD64 with threads. I don't see the prominent memory leak present on my system any longer. I lost track of this thread and think two different changes might have been

Re: dnsperf and BIND memory consumption

2009-01-05 Thread JINMEI Tatuya / 神明達哉
At Mon, 5 Jan 2009 18:58:07 -0500, Vinny Abello vi...@tellurian.com wrote: My basic question is: Is there any advantage to compiling BIND in the previous manner now that there is a fix in the BIND source code? Do you mean compiling BIND with the memory leak fix and without the FreeBSD port

Re: dnsperf and BIND memory consumption

2009-01-05 Thread Danny Mayer
Doug Barton wrote: Vinny Abello wrote: Just for clarification, is there any downside to this autoconf fix vs. how it was previously working? It was not working correctly previously, so no. Does autoconf still not understand AMD64 on FreeBSD You're confusing autoconf and the configure

Re: dnsperf and BIND memory consumption

2008-12-22 Thread JINMEI Tatuya / 神明達哉
At Mon, 22 Dec 2008 16:13:10 -0800, Doug Barton do...@freebsd.org wrote: And can someone please state affirmatively that the patches to acl.c and iptable.c do the right thing, with or without the patch to the port? This patch completely fixed the hole in my test environment. With this patch

Re: dnsperf and BIND memory consumption

2008-12-22 Thread ivan jr sy
, Doug Barton do...@dougbarton.us wrote: From: Doug Barton do...@dougbarton.us Subject: Re: dnsperf and BIND memory consumption To: bind-us...@isc.org bind-us...@isc.org Date: Tuesday, December 23, 2008, 1:15 PM JINMEI Tatuya / wrote: At Tue, 2 Dec 2008 00:35:32 -0500, Vinny Abello vi

Re: dnsperf and BIND memory consumption

2008-12-18 Thread Dmitry Rybin
JINMEI Tatuya / 神明達哉 wrote: At Mon, 15 Dec 2008 09:53:23 +0300, Dmitry Rybin rybi...@post.ru wrote: Thank's to JINMEI Tatuya for support. I have over 40 views, defined in named.conf, max-memory for cache - 32Mb. Named daemon allocate over 2 Gb per 24 hours of work. Each view has a

Re: dnsperf and BIND memory consumption

2008-12-17 Thread JINMEI Tatuya / 神明達哉
At Mon, 15 Dec 2008 09:53:23 +0300, Dmitry Rybin rybi...@post.ru wrote: Thank's to JINMEI Tatuya for support. I have over 40 views, defined in named.conf, max-memory for cache - 32Mb. Named daemon allocate over 2 Gb per 24 hours of work. Each view has a separate cache DB. So if each of these

Re: dnsperf and BIND memory consumption

2008-12-17 Thread JINMEI Tatuya / 神明達哉
At Wed, 17 Dec 2008 17:07:12 -0800, JINMEI Tatuya jinmei_tat...@isc.org wrote: At Mon, 15 Dec 2008 09:53:23 +0300, Dmitry Rybin rybi...@post.ru wrote: Thank's to JINMEI Tatuya for support. I have over 40 views, defined in named.conf, max-memory for cache - 32Mb. Named daemon allocate

Re: dnsperf and BIND memory consumption

2008-12-15 Thread Dmitry Rybin
Thank's to JINMEI Tatuya for support. I have over 40 views, defined in named.conf, max-memory for cache - 32Mb. Named daemon allocate over 2 Gb per 24 hours of work. Have you any ideas how to limit memory usage? Dmitry Rybin wrote: max-cache-size 64M; # /usr/bin/limits -v 1200M

Re: dnsperf and BIND memory consumption

2008-12-14 Thread Dmitry Rybin
Thank's to JINMEI Tatuya for support. I have over 40 views, defined in named.conf, max-memory for cache - 32Mb. Named daemon allocate over 2 Gb per 24 hours of work. Have you any ideas how to limit memory usage? Dmitry Rybin wrote: max-cache-size 64M; # /usr/bin/limits -v 1200M

Re: dnsperf and BIND memory consumption

2008-12-12 Thread Dmitry Rybin
JINMEI Tatuya / 神明達哉 wrote: At Thu, 11 Dec 2008 11:25:42 +0300, Dmitry Rybin kirg...@corbina.net wrote: OK. I just make bind from src with ./configure --enable-threads gcc option -static. file /usr/local/sbin/named-test /usr/local/sbin/named-test: ELF 64-bit LSB executable, x86-64,

Re: dnsperf and BIND memory consumption

2008-12-11 Thread Dmitry Rybin
OK. I just make bind from src with ./configure --enable-threads gcc option -static. file /usr/local/sbin/named-test /usr/local/sbin/named-test: ELF 64-bit LSB executable, x86-64, version 1 (FreeBSD), for FreeBSD 7.1 (701100), statically linked, FreeBSD-style, not stripped fresh system

Re: dnsperf and BIND memory consumption

2008-12-11 Thread Dmitry Rybin
max-cache-size 64M; # /usr/bin/limits -v 1200M /usr/local/sbin/named-test -c /etc/namedb/named.conf Over 10 minutes of work and core dumped: (gdb) bt #0 0x0058c3fc in thr_kill () #1 0x005c5a68 in abort () #2 0x00597af7 in malloc () #3 0x0056645a in

Re: dnsperf and BIND memory consumption

2008-12-10 Thread Dmitry Rybin
: From: Dmitry Rybin [EMAIL PROTECTED] Subject: Re: dnsperf and BIND memory consumption To: Vinny Abello [EMAIL PROTECTED] Cc: JINMEI Tatuya / 神明達哉 [EMAIL PROTECTED], [EMAIL PROTECTED] [EMAIL PROTECTED], [EMAIL PROTECTED] [EMAIL PROTECTED] Date: Wednesday, December 10, 2008, 4:05 AM Hello

Re: dnsperf and BIND memory consumption

2008-12-10 Thread Dmitry Rybin
JINMEI Tatuya / 神明達哉 wrote: At Tue, 09 Dec 2008 18:05:27 +0300, Dmitry Rybin [EMAIL PROTECTED] wrote: I test patch, add to bind95/Makefile .if (${ARCH} == amd64) ARCH= x86_64 .endif Future versions of BIND9 will support amd64 in its configure script to workaround the FreeBSD

Re: dnsperf and BIND memory consumption

2008-12-10 Thread ivan jr sy
Rybin [EMAIL PROTECTED] wrote: From: Dmitry Rybin [EMAIL PROTECTED] Subject: Re: dnsperf and BIND memory consumption To: JINMEI Tatuya / 神明達哉 [EMAIL PROTECTED] Cc: [EMAIL PROTECTED] [EMAIL PROTECTED], [EMAIL PROTECTED] [EMAIL PROTECTED] Date: Thursday, December 11, 2008, 1:50 AM JINMEI Tatuya

Re: dnsperf and BIND memory consumption

2008-12-10 Thread JINMEI Tatuya / 神明達哉
At Wed, 10 Dec 2008 15:50:22 +0300, Dmitry Rybin [EMAIL PROTECTED] wrote: JINMEI Tatuya / 神明達哉 wrote: At Tue, 09 Dec 2008 18:05:27 +0300, Dmitry Rybin [EMAIL PROTECTED] wrote: I test patch, add to bind95/Makefile .if (${ARCH} == amd64) ARCH= x86_64 .endif Future

Re: dnsperf and BIND memory consumption

2008-12-09 Thread Dmitry Rybin
Hello! I test patch, add to bind95/Makefile .if (${ARCH} == amd64) ARCH= x86_64 .endif work/bind-9.5.0-P2/config.log uname -m = amd64 /usr/bin/uname -p = amd64 Target: amd64-undermydesk-freebsd Configured with: FreeBSD/amd64 system compiler ISC_ARCH_DIR='x86_32'

Re: dnsperf and BIND memory consumption

2008-12-09 Thread ivan jr sy
directed to the concern of FreeBSD + amd64 platform + FreeBSD port dns/bind95 (BIND 9.5.0-P2) + threading enabled thanks! --- On Wed, 12/10/08, Dmitry Rybin [EMAIL PROTECTED] wrote: From: Dmitry Rybin [EMAIL PROTECTED] Subject: Re: dnsperf and BIND memory consumption To: Vinny Abello [EMAIL

RE: dnsperf and BIND memory consumption

2008-12-09 Thread Vinny Abello
-Original Message- From: JINMEI Tatuya / 神明達哉 [mailto:[EMAIL PROTECTED] Sent: Tuesday, December 09, 2008 3:38 PM To: Vinny Abello Cc: [EMAIL PROTECTED]; [EMAIL PROTECTED]; [EMAIL PROTECTED] Subject: Re: dnsperf and BIND memory consumption At Tue, 9 Dec 2008 15:26:25 -0500, Vinny