Significant memory usage

Philip Prindeville philipp_subx at redfish-solutions.com
Sun Jun 8 21:24:06 UTC 2025



> On Jun 8, 2025, at 3:07 PM, Philip Prindeville via bind-users <bind-users at lists.isc.org> wrote:
> 
> 
> 
>> On May 21, 2025, at 3:38 PM, Ben Scott <bscott at isc.org> wrote:
>> 
>> ----- Original Message -----
>>> From: "Philip Prindeville via bind-users" 
>>> To: "bind-users" 
>>> Sent: Sunday, May 18, 2025 5:20:59 PM
>>> Subject: Significant memory usage
>> 
>>> What I’ve noticed is that at startup I’m using about 33K pages as the VSZ (per
>>> top on x86_64 hardware).
>> 
>> VSZ (virtual size) just counts the number of virtual memory pages associated with the process in some way.  That includes RAM, but also memory mapped files, devices, sparse pages that will never be backed by anything, etc.  You need to look at RSS (resident size) to monitor actual RAM usage.
>> 
>> The results of "rdnc stats" and/or the "statistics-channels" will provide BIND-specific statistics.  The former can be run without preparation; the latter is a bit friendlier but needs a config change.
>> 
>> https://kb.isc.org/docs/monitoring-recommendations-for-bind-9
>> 
>> https://kb.isc.org/docs/aa-00769
>> 
>> https://kb.isc.org/docs/aa-01123
>> 
>> —Ben
> 
> 
> 
> Dumb question… how do you turn on statistics-channel when building bind?  I’m not seeing an option for it in ./configure


Found it by digging around:  —-with-openssl --with-libxml2 —-enable-threads



More information about the bind-users mailing list