1

Is there an equivalent to apache's start-servers, spare-servers, and server-limit configuration options in BIND?

5

You need to edit the relevant startup script (based on your system) and pass in -n <number_of_processes> to bind (or named).

-n #cpus
        Create #cpus worker threads to take advantage of multiple CPUs. If not 
        specified, named will try to determine the number of CPUs present and 
        create one thread per CPU. If it is unable to determine the number of 
        CPUs, a single worker thread will be created.
1

Edit /etc/sysconfig/named and set the OPTIONS variable, e.g. the below limits BIND to 8 threads:

OPTIONS="-N 8"

Editing the relevant startup script does not seem to work these days (2021).

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.