Re: Significant memory usage
Ondřej Surý <[email protected]>
| Newsgroups | gmane.network.dns.bind9.user |
|---|---|
| Message-ID | <4B758A79-3184-4E1D-9577-F2CF36A869FC__48391.7528575816$1749442696$gmane$org@isc.org> |
Yes, there's no math involved, it just honors the limit. FTR you can also say: max-cache-size 2GB; You don't have to specify it to the last byte. Ondrej -- Ondřej Surý (He/Him) [email protected] My working hours and your working hours may be different. Please do not feel obligated to reply outside your normal working hours. > On 9. 6. 2025, at 6:12, Philip Prindeville <[email protected]> wrote: > > 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ý <[email protected]> wrote: >> >> The 1.7GB is what the system is reporting. That’s why I asked as I’ve seen OpenWRT reporting weird or no values before. >> >> 171MB cache is little on a low side and negative effects from overmem LRU cleaning will going to hurt the performance. >> >> I would suggest to set a fixed size for the cache - 1.6GB-2GB should be more than enough for your purposes. >> >> 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 hours. >> >>> On 9. 6. 2025, at 5:45, Philip Prindeville <[email protected]> wrote: >>> >>> Jun 8 21:34:08 OpenWrt named[8106]: /etc/bind/named.conf:42: 'max-cache-size 10%' - setting to 171MB (out of 1714MB) >>> >>> but no idea where the 1741MB that it is basing that off of is coming from. >> > -- Visit https://lists.isc.org/mailman/listinfo/bind-users to unsubscribe from this list ISC funds the development of this software with paid support subscriptions. Contact us at https://www.isc.org/contact/ for more information. bind-users mailing list [email protected] https://lists.isc.org/mailman/listinfo/bind-users