Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 15 Dec 2010 12:13:56 -0800
From:      Chuck Swiger <cswiger@mac.com>
To:        FreeBSD-STABLE Mailing List <freebsd-stable@FreeBSD.ORG>
Subject:   named: high memory usage...?
Message-ID:  <BCA940D1-6FD6-45C4-857A-9377C614EB91@mac.com>

next in thread | raw e-mail | index | archive | help
Hi--

I'd recently updated a machine to 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:

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

Regards,
-- 
-Chuck




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?BCA940D1-6FD6-45C4-857A-9377C614EB91>