Re: Disable cache in bind 9.6

2009-02-04 Thread Dmitry Rybin
Matus UHLAR - fantomas wrote: and let me know if it mitigates the problem? On 29.01.09 22:50, Dmitry Rybin wrote: Oh, great work. I'll try tomorrow. Named with JINMEI Tatuy patch: max-cache-size 800M; Morning Statistic version: 9.6.0-P1 CPUs found: 8 worker threads: 8 number of zones: 1040

Re: Disable cache in bind 9.6

2009-02-04 Thread Dmitry Rybin
JINMEI Tatuya / 神明達哉 wrote: At Wed, 04 Feb 2009 11:23:19 +0300, Dmitry Rybin kirg...@corbina.net wrote: Named with JINMEI Tatuy patch: max-cache-size 800M; It's way too much, if this applies to all of the 50 views. With you patch? Total memory on server 12Gb.

Re: Disable cache in bind 9.6

2009-02-04 Thread Dmitry Rybin
Matus UHLAR - fantomas wrote: On 04.02.09 11:23, Dmitry Rybin wrote: It's impossible, :-( over 500'000 client use bind and we must use views to split load on another services. Named with JINMEI Tatuy patch: max-cache-size 800M; It's way too much, if this applies to all of the 50

Re: Disable cache in bind 9.6

2009-02-04 Thread JINMEI Tatuya / 神明達哉
At Wed, 04 Feb 2009 11:51:10 +0300, Dmitry Rybin kirg...@corbina.net wrote: max-cache-size 800M; It's way too much, if this applies to all of the 50 views. Oh! I decrease memory to 16Mb. Okay, and according to this: : Started at Feb 3 00:51 (Now Feb 4 11:15:37) MSK : Startup mem:

Re: Disable cache in bind 9.6

2009-01-29 Thread Dmitry Rybin
В Пнд, 26/01/2009 в 16:16 -0800, JINMEI Tatuya / 神明達哉 пишет: http://www.jinmei.org/patch/bind9-lrucache.diff (should be cleanly applicable to 9.6). and let me know if it mitigates the problem? Oh, great work. I'll try tomorrow. Other recommendations: - I previously suggested using a

Re: Disable cache in bind 9.6

2009-01-29 Thread Matus UHLAR - fantomas
В Пнд, 26/01/2009 в 16:16 -0800, JINMEI Tatuya / 神明達哉 пишет: http://www.jinmei.org/patch/bind9-lrucache.diff (should be cleanly applicable to 9.6). and let me know if it mitigates the problem? On 29.01.09 22:50, Dmitry Rybin wrote: Oh, great work. I'll try tomorrow. Other

Re: Disable cache in bind 9.6

2009-01-26 Thread JINMEI Tatuya / 神明達哉
At Thu, 22 Jan 2009 09:12:11 +0300, Dmitry Rybin kirg...@corbina.net wrote: +50 views of zone data + memory for 10 clients + You have a 32bit build which will give a maximum of 2G data. You are just trying to cram too much into too small a place. OK. May be you

Re: Disable cache in bind 9.6

2009-01-22 Thread Matus UHLAR - fantomas
Matus UHLAR - fantomas wrote: This is _NOT_ a problem of BIND. This is a problem of its admin who can't read the docs and set up max-cache-size, which does exactly what is needed in this case. On 21.01.09 17:38, Dmitry Rybin wrote: Hmm... And why bind allocate all system memory, if

Re: Disable cache in bind 9.6

2009-01-22 Thread Stefan Schmidt
On Wed, Jan 21, 2009 at 12:10:05PM +0300, Dmitry Rybin wrote: view view0{ max-cache-size 16M; match-clients { XXX.XXX.XXX.XXX; }; include net-views/view0.conf; }; [... skip 48 views ...] view view50{ max-cache-size 8M; match-clients { XXX.XXX.XXX.XXX; };

Re: Disable cache in bind 9.6

2009-01-22 Thread Stefan Schmidt
Actually thinking about your problem i just got an idea for a quick and dirty solution that might just be it for you: Keep running the views on your fontend nameserver but forward all recursive queries to another recursive server via the forward only; statement. IIRC that should cause BIND not to

Re: Disable cache in bind 9.6

2009-01-21 Thread Matus UHLAR - fantomas
On 20.01.09 12:49, Dmitry Rybin wrote: How to disable cache in bind-9.6? ttl=0 - bad idea. Matus UHLAR - fantomas wrote: if you know that setting TTL to 0 is a bad idea, why do yuo think that disabling a cache in BIND is not a bad idea? Dmitry Rybin wrote: Because under high load

Re: Disable cache in bind 9.6

2009-01-21 Thread Dmitry Rybin
Matus UHLAR - fantomas wrote: This is _NOT_ a problem of BIND. This is a problem of its admin who can't read the docs and set up max-cache-size, which does exactly what is needed in this case. Hmm... And why bind allocate all system memory, if max-cache-size 16M? And views... 50 views.

Re: Disable cache in bind 9.6

2009-01-21 Thread Mark Andrews
In message 49773369.4080...@corbina.net, Dmitry Rybin writes: Matus UHLAR - fantomas wrote: This is _NOT_ a problem of BIND. This is a problem of its admin who can't read the docs and set up max-cache-size, which does exactly what is needed in this case. Hmm... And why bind

Disable cache in bind 9.6

2009-01-20 Thread Dmitry Rybin
Hello! How to disable cache in bind-9.6? ttl=0 - bad idea. ___ bind-users mailing list bind-users@lists.isc.org https://lists.isc.org/mailman/listinfo/bind-users

Re: Disable cache in bind 9.6

2009-01-20 Thread Dmitry Rybin
Matus UHLAR - fantomas wrote: On 20.01.09 12:49, Dmitry Rybin wrote: How to disable cache in bind-9.6? ttl=0 - bad idea. if you know that setting TTL to 0 is a bad idea, why do yuo think that disabling a cache in BIND is not a bad idea? Because under high load cache grows to maximum

Re: Disable cache in bind 9.6

2009-01-20 Thread Matus UHLAR - fantomas
On 20.01.09 12:49, Dmitry Rybin wrote: How to disable cache in bind-9.6? ttl=0 - bad idea. Matus UHLAR - fantomas wrote: if you know that setting TTL to 0 is a bad idea, why do yuo think that disabling a cache in BIND is not a bad idea? On 20.01.09 18:39, Dmitry Rybin wrote: Because

Re: Disable cache in bind 9.6

2009-01-20 Thread John Wobus
caching in the nameserver. On Jan 20, 2009, at 4:49 AM, Dmitry Rybin wrote: Hello! How to disable cache in bind-9.6? ttl=0 - bad idea. ___ bind-users mailing list bind-users@lists.isc.org https://lists.isc.org/mailman/listinfo/bind-users