Pulled memory for two servers - one with 1G of non-swap memory where BIND is using ~300-400M RSS,
one with 2G of non-swap memory where BIND is using ~1-1.2G RSS.
Both report near-identical memory usage via stats channel - TotalUse of 2,500,551,839, InUse of
1,761,884,984 (and Malloced about the
Pull the memory stats from the statschannel (json or xml). Also make sure you
run 9.18 with jemalloc (you can use jemalloc with 9.16, but it needs to be
linked explicitly with LDFLAGS or pre-loaded).
Ondřej
--
Ondřej Surý — ISC (He/Him)
My working hours and your working hours may be different.
Gah, I'm a blind fool. The original and post-config-restoration number quoted here are correct, the
1024M stat was looking at the wrong process. Apologies about that, it appears the max-cache-size
knob does *not* change the total memory usage of the process after a restart, it is ~300M on the
ho
And then I restarted it with the original setting and it jumped right up to ~300M, a bit higher than
it was before (though before it had been running for a bit). In any case it does look like the
max-cache-size setting drives memory usage up a little bit, but there's quite some noise.
FWIW, Hap
Hmm, they all have max-cache-size set to 8M (see config snippets in OP) but still show the divergent
memory usage.
That said, I tried bumping one to 1024M on one of the smaller hosts and usage increased from ~270MB
to ~437MB.
Matt
On 4/28/22 8:44 AM, Ondřej Surý wrote:
From top of my head
From top of my head - try setting the max-cache-size to infinite. The internal
views might still pre-allocate some stuff based on available memory.
Ondrej
--
Ondřej Surý (He/Him)
ond...@isc.org
My working hours and your working hours may be different. Please do not feel
obligated to reply outs
On 4/27/22 9:19 AM, Petr Špaček wrote:
On 27. 04. 22 16:04, Matt Corallo wrote:
I run a number of BIND9 (9.16-27-1~deb11u1 - Debian Stable) secondaries with some large zones (10s
of DNSSEC-signed zones with ~100k records, not counting signatures, with a smattering of other
zones). Somewhat to
On 27. 04. 22 16:04, Matt Corallo wrote:
I run a number of BIND9 (9.16-27-1~deb11u1 - Debian Stable) secondaries
with some large zones (10s of DNSSEC-signed zones with ~100k records,
not counting signatures, with a smattering of other zones). Somewhat to
my surprise, even with "recursion no" th
8 matches
Mail list logo