discuss AT lists.opennicproject.org
Subject: Discuss mailing list
List archive
- From: Alex Hanselka <alex AT hanselka.name>
- To: discuss AT lists.opennicproject.org
- Subject: Re: [opennic-discuss] BIND Memory Hog
- Date: Mon, 20 Feb 2012 14:25:30 -0600
As a matter of fact, yes I will. The only two settings I changed are
max-cache-size 20971520;
recursive-clients 500;
The max-cache-size takes a value in bytes of the maximum cache size. If it reaches this limit, it will expire the oldest entries before their TTL in order to save memory. The default on this is UNLIMITED. So do set it.
recursive-clients is the max number of simultaneous recursive clients allowed to be connected via udp at any one time. This takes an integer and its default value is 1000.
I put these in the global options section. So far it is working. BIND is taking significantly less memory so far than it was. However, it is still slowly rising, so I will continue to monitor the issue.
On 2/20/2012 11:39 AM, Jeff Taylor wrote:
Any chance you might want to share those config options with the rest of the class?
On 02/19/12 18:22, Alex Hanselka wrote:
It turns out that by default, the BIND cache is unlimited which it stores in memory. That can be changed in the named.conf which I have done. I have also limited the number of concurrent recursive connections possible at one time.
- [opennic-discuss] BIND Memory Hog, Alex Hanselka, 02/19/2012
- <Possible follow-up(s)>
- Re: [opennic-discuss] BIND Memory Hog, Peter Green, 02/19/2012
- Re: [opennic-discuss] BIND Memory Hog, Hospedaje Web y Servidores Dedicados, 02/19/2012
- Re: [opennic-discuss] BIND Memory Hog, Maximi89, 02/19/2012
- Re: [opennic-discuss] BIND Memory Hog, Niels Dettenbach, 02/20/2012
- Re: [opennic-discuss] BIND Memory Hog, Maximi89, 02/19/2012
- Re: [opennic-discuss] BIND Memory Hog, Alex Hanselka, 02/19/2012
- Re: [opennic-discuss] BIND Memory Hog, Jeff Taylor, 02/20/2012
- Re: [opennic-discuss] BIND Memory Hog, Alex Hanselka, 02/20/2012
- Re: [opennic-discuss] BIND Memory Hog, Jeff Taylor, 02/20/2012
- Re: [opennic-discuss] BIND Memory Hog, Hospedaje Web y Servidores Dedicados, 02/19/2012
Archive powered by MHonArc 2.6.19.