On 12/16/2010 14:48, Chuck Swiger wrote:
Hi, bind-users--

I'd recently updated a machine to FreeBSD 7-STABLE, and I've noticed
that named from the base system (which claims to be BIND 9.4-ESV-R4)
is using more than twice as much memory as it used to:

Hey Chuck, sorry I didn't respond to this on the FreeBSD list. In FreeBSD 6.x we had BIND 9.3.x. BIND 9.4.x definitely uses more memory, this is a feature. :)

PID USERNAME       THR PRI NICE   SIZE    RES STATE    TIME   WCPU
COMMAND 706 bind             4   4    0 69424K 57292K kqread   0:09
0.00% named

It's serving about 20 zones with total record size of less than 100K,
and has the following option block set:

options { directory "/var/named"; recursive-clients 400;
clients-per-query 210; max-clients-per-query 220; max-cache-size
10m; };

This box was previously running FreeBSD-6.4 and dns/bind94 port,

Doubtful, as the code for BIND 9.4 in the base in FreeBSD 7.x is identical to that in the port. It's possible of course, but I can't see any reason off hand that the same BIND code running on FreeBSD 6 would use twice as much memory on 7.

and
named never crept above 30M VSIZE/RES even under heavy load (ie,
"adnslogres -c 100" against a million line httpd-access.log file);
the size above is from named running for about a day, *without*
putting any significant load upon the nameserver....

That must have been a very high percentage of the same hostnames showing up in those million lines if all of them fit into a 10 meg cache.


hth,

Doug

--

        Nothin' ever doesn't change, but nothin' changes much.
                        -- OK Go

        Breadth of IT experience, and depth of knowledge in the DNS.
        Yours for the right price.  :)  http://SupersetSolutions.com/

_______________________________________________
bind-users mailing list
[email protected]
https://lists.isc.org/mailman/listinfo/bind-users

Reply via email to