Building bind 9.19.24 on Openwrt w/ MUSL

2024-06-01 Thread Philip Prindeville via bind-users
Hi, Having some more issues building 9.19.24 on MUSL. configure.ac isn't correctly detecting the following: ac_cv_func_setresuid=yes ac_cv_type_size_t=yes ac_cv_type_ssize_t=yes ac_cv_type_uintptr_t=yes And even passing this manually via ./configure's environment isn't causing it to work... i

Re: Building bind 9.19.24 on Openwrt w/ MUSL

2024-07-14 Thread Philip Prindeville via bind-users
j Surý — ISC (He/Him) > > My working hours and your working hours may be different. Please do not feel > obligated to reply outside your normal working hours. > >> On 1. 6. 2024, at 23:19, Philip Prindeville via bind-users >> wrote: >> >> Hi, >> &

Significant memory usage

2025-05-18 Thread Philip Prindeville via bind-users
Hi, I’ve been running 9.20.7 on OpenWRT for over a year without issues. Yesterday, however, it died because of OOM (out-of-memory) kill from the kernel. I use it with isc-dhcp service for IPv4, and do split horizon for internal domains. What I’ve noticed is that at startup I’m using about 33K

Re: Significant memory usage

2025-06-08 Thread Philip Prindeville via bind-users
> On May 21, 2025, at 3:38 PM, Ben Scott 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 > >>

Re: Significant memory usage

2025-06-08 Thread Philip Prindeville via bind-users
> On Jun 8, 2025, at 3:07 PM, Philip Prindeville via bind-users > wrote: > > > >> On May 21, 2025, at 3:38 PM, Ben Scott wrote: >> >> - Original Message ----- >>> From: "Philip Prindeville via bind-users" >>> To: "

Re: Significant memory usage

2025-06-08 Thread Philip Prindeville via bind-users
> On May 21, 2025, at 3:38 PM, Ben Scott 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 > >>

Re: Significant memory usage

2025-06-08 Thread Philip Prindeville via bind-users
Working on it: https://github.com/openwrt/packages/pull/26721 Here’s my statistics-channel output: named-stats.xml Description: XML document > On May 18, 2025, at 10:30 PM, Ondřej Surý wrote: > > Well, you’ve provided basically nothing as leads, so it is hard to tell > what’s going on w

Re: Significant memory usage

2025-06-08 Thread Philip Prindeville via bind-users
Something like: > > 'max-cache- > size 90%' - setting to 86522MB (out of 96136MB) > > Ondrej > -- > Ondřej Surý — ISC (He/Him) > > My working hours and your working hours may be different. Please do not feel > obligated to reply outside your normal working

Re: Significant memory usage

2025-06-09 Thread Philip Prindeville via bind-users
I’ve been running for 12+ hours with a max-cache-size of 256M (since I’m on a machine with 2GB that does a lot of data reduction as it’s a honeypot firewall). This is what I’ve collected. +++ Statistics Dump +++ (1749514002) ++ Incoming Requests ++ 203077 QUERY 12014

Re: Significant memory usage

2025-06-09 Thread Philip Prindeville via bind-users
10:46 PM, Philip Prindeville via bind-users > wrote: > > I read: > > https://bind9.readthedocs.io/en/v9.20.9/reference.html#namedconf-statement-max-cache-size > > and it doesn’t explain the notation for . > > > > >> On Jun 8, 2025, at 10:39 PM, Ondřej Sur

Re: Significant memory usage

2025-06-08 Thread Philip Prindeville via bind-users
Jun 8 22:22:10 OpenWrt named[15142]: /etc/bind/named.conf:42: expected integer and optional unit or percent near '1638MB' > On Jun 8, 2025, at 10:17 PM, Ondřej Surý wrote: > > Yes, there's no math involved, it just honors the limit. > > FTR you can also say: > > max-cache-size 2GB; > > You

Re: Significant memory usage

2025-06-08 Thread Philip Prindeville via bind-users
I read: https://bind9.readthedocs.io/en/v9.20.9/reference.html#namedconf-statement-max-cache-size and it doesn’t explain the notation for . > On Jun 8, 2025, at 10:39 PM, Ondřej Surý wrote: > > What If you actually read the manual that I sent you - syntax of sizeval is > explained there. >

Re: Significant memory usage

2025-06-08 Thread Philip Prindeville via bind-users
Odd. I tried: max-cache-size 1717986918; and restarted and I don’t see anything in the logs about it. But I did when I used a percentage. > On Jun 8, 2025, at 10:02 PM, Ondřej Surý wrote: > > The 1.7GB is what the system is reporting. That’s why I asked as I’ve seen > OpenWRT repo

Re: Significant memory usage

2025-06-08 Thread Philip Prindeville via bind-users
I’ll try to get a smoking gun. How do you configure an explicit number of bytes with max-cache-size? The manpage says: max-cache-size ( default | unlimited | | ); but doesn’t explain the syntax of “sizeval”. I tried “1638M” but that doesn’t seem to have an effect. > On Jun 8, 2025, at 10

Re: Significant memory usage

2025-06-08 Thread Philip Prindeville via bind-users
Maybe GB is the only unit it groks. Jun 8 22:31:52 OpenWrt named[19145]: /etc/bind/named.conf:42: expected integer and optional unit or percent near ‘1536MB’ Nope: Jun 8 22:32:48 OpenWrt named[19609]: /etc/bind/named.conf:43: expected integer and optional unit or percent near ‘2GB' > On