datasize, how to use ?

Jim Reid jim at rfc1035.com
Sat Jul 6 14:49:51 UTC 2002


>>>>> "Marc" == Marc Dubach <2fast at birdhouse.ch> writes:

    Marc> "top" shows me that the named daemon is using 25% of the
    Marc> local memeroy (this means it uses 128MB). But after reaching
    Marc> this 25% it stopps using more memory (and it reaches this
    Marc> 25% in a short time after starting it).

    Marc> Does it make sense, to set the datasize from "default" to
    Marc> maybe "384MB" ?

Probably not: is the default more or less than 384M? What do you think
you'd achieve by setting the limit to 384M? (And why that value in
particular?) Are there any other memory-intensive processes running on
the same computer?

You should only limit the size of the server's cache if there are
strong operational reasons for doing that: ie the computer doesn't
have enough VM/RAM to accommodate the name server's requirements. And
if that's the case, you should throw more hardware at the problem,
either by adding RAM or spreading the load of resolving across more
caching name servers. The other reason for limiting the name server's
cache is to stop the name server for asking for more memory that the
OS or hardware will allow which usually causes the name server to die.
Other than that, you're better off letting the name server use as much
memory as it needs.


More information about the bind-users mailing list