In message <cc8cdd00405c5c498ffe95d153a482fe0e058...@misout7msgusrcc.itservices.sbc.com>, "MURTARI, JOHN" writes: > > Folks, > From some lab testing it appears the answer to the above > question is NO.... but hope springs eternal! > > We'd like to limit RAM usage by BIND (9.9.8/RHEL) on some > authoritative test servers. A load of configured zones would require > over 10 Gig of RAM, but the boxes only have 4 Gig. We actually query > only a few zones for testing (response time is not an issue) and didn't > want to do the work of changing some standard zone lists and data we use.
Named by default holds authoritative data in memory. You can use VM to load very large configurations but it will be slower that without. If you use dlz then you can use alternative databases. Again this results in a speed penalty. > Hoped we could set max-cache-size to something like > "1000M" and the server would load zones up to that limit in RAM. If it > got a query for another zone, it would bounce an "older" zone out of RAM > and load the zone needed for the query. Eventually the cache would > stabilize. It appears max-cache-size is just a resolver setting and BIND > always expects enough memory to load all cofigured zones to RAM. > > On a larger test server I even tried setting "datasize > 1000M" - and that didn't seem to have any effect. BIND started fine and > grew to about 10 Gig. Didn't expect that. Some mallocs use mmap to work past datasize limits. > Appreciate anyone aware of a config setting that would > limit usage. > Many thanks! > John > > ---------------- > John Murtari - jm5...@att.com<mailto:jm5...@att.com> > Ciberspring > office: 315-944-0998 -- Mark Andrews, ISC 1 Seymour St., Dundas Valley, NSW 2117, Australia PHONE: +61 2 9871 4742 INTERNET: ma...@isc.org _______________________________________________ Please visit https://lists.isc.org/mailman/listinfo/bind-users to unsubscribe from this list bind-users mailing list bind-users@lists.isc.org https://lists.isc.org/mailman/listinfo/bind-users