» Linux » Examen sur Linux » Examen 202 : Networking Administration » Section 5 » Question 20/27
20.You are the primary nameserver for an international corporation. You have found that your DNS cache is utilizing 1GB of total system memory and is severely affecting system performance. What is the correct directive to limit the amount of memory to 256MB?

memlimit { 256M };
datasize { 256M };
cache-limit { (256* 1024) };
cachesize { 256; };

Explanation: The ‘datasize’ option is used to set the maximum amount of system memory the server may use. This is a hard limit on server memory usage. If the server attempts to allocate memory in excess of this limit, the allocation will fail, which may in turn leave the server unable to perform DNS service.

Reference: http://www.csd.uwo.ca/staff/magi/doc/bind9/Bv9ARM.ch06.html

Incorrect Answers
A: This is the incorrect option to set the maximum amount of system memory to be used.
C: This is the incorrect option to set the maximum amount of system memory to be used.
D: This is the incorrect option to set the maximum amount of system memory to be used.

« Question 19 Question 21 »