max-cache-size problem
Henley SARAMANDIF (infopro)
infopro at saramandif.com
Fri Jul 28 21:13:17 UTC 2006
Hello,
Based on the same system crash that has been mention into the post : BIND 9.3.2 Memory Leak... I've set the option max-cache-size for my DNS. As for me this limitation does not seem to work.
I run a Bind 9.2.3 into a jail on a FreeBSD 4.9.
I've set a max-cache-size 262144000 (250MO) for testing purposes..but I got this memory use for Bind :
PID USERNAME PRI NICE SIZE RES STATE C TIME WCPU CPU COMMAND
4548 bind 2 0 292M 291M poll 0 181:41 11.87% 11.87% named
And it still goes up...till 425 MO and Bind Crash!!!
Please note that this configuration has been work very well for more than 1 year.
This matter start after a power supply problem..
===================================
Extract from my named.conf
====================================
//
// GENERALS OPTIONS
//
options {
listen-on { xxx.xxx.xxx.xxx; };
directory "/var/named";
pid-file "/var/run/named/named.pid";
statistics-file "/var/log/named/named.stats";
version "There is more important things to do in this world";
recursive-clients 2000;
notify no;
cleaning-interval 40;
max-cache-ttl 86400;
max-cache-size 262144000;
};
//
// INTERNAL VIEW
//
view "internal" {
max-cache-size 262144000;
match-clients {
"ACL-1";
"ACL-2";
"ACL-3";
"ACL-4";
};
recursion yes;
===================================================
Regards.
Henley
More information about the bind-users
mailing list