bind 8.2.4: limiting used memory?

Brad Knowles brad.knowles at skynet.be
Mon Aug 6 16:46:32 UTC 2001


At 6:07 PM +0200 8/6/01, Michael Renzmann wrote:

>  Question: is it possible to limit the amount of memory that
>  this used to cache queries in this case? If not, what is the
>  maximum amount of memory that will be used (if this can be told)?

	No, BIND 8 does not have the ability to limit the amount of 
memory that it will use.  If you try to use OS mechanisms to enforce 
limits, that will simply cause BIND 8 to crash.

	IMO, placing arbitrary limits like this on the amount of memory 
that the nameserver can use is counter-productive.  There's a reason 
why that data should be cached, and there's usually a reason why it 
should be cached for the length of time specified by the people who 
put that data into the DNS.

	Generally speaking, as incredibly cheap as RAM is these days, 
you're much, much better off just getting more RAM for the server and 
letting it take as much memory as it wants/needs.


	However, if you absolutely, positively must have this feature, 
then you should consider upgrading to the latest beta version of BIND 
9.2.0.

-- 
Brad Knowles, <brad.knowles at skynet.be>

H4sICIFgXzsCA2RtYS1zaWcAPVHLbsMwDDvXX0H0kkvbfxiwVw8FCmzAzqqj1F4dy7CdBfn7
Kc6wmyGRFEnvvxiWQoCvqI7RSWTcfGXQNqCUAnfIU+AT8OZ/GCNjRVlH0bKpguJkxiITZqes
MxwpSucyDJzXxQEUe/ihgXqJXUXwD9ajB6NHonLmNrUSK9nacHQnH097szO74xFXqtlbT3il
wMsBz5cnfCR5cEmci0Rj9u/jqBbPeES1I4PeFBXPUIT1XDSOuutFXylzrQvGyboWstCoQZyP
dxX4dLx0eauFe1x9puhoi0Ao1omEJo+BZ6XLVNaVpWiKekxN0VK2VMpmAy+Bk7ZV4SO+p1L/
uErNRS/qH2iFU+iNOtbcmVt9N16lfF7tLv9FXNj8AiyNcOi1AQAA


More information about the bind-users mailing list