]> git.ipfire.org Git - thirdparty/pdns.git/commit
Tuning unit file for medium sized setups
authorWinfried Angele <winfried.angele@gmail.com>
Tue, 31 Jan 2017 06:27:56 +0000 (07:27 +0100)
committerGitHub <noreply@github.com>
Tue, 31 Jan 2017 06:27:56 +0000 (07:27 +0100)
commit6e7a8652cd03fecf8fe6d3e741d9f08d28e72fb2
treebaede81d227cc7f8d43f6b9aebf7a81ae2f46f99
parent38695501353df937e88862ac7f3f1f8efde3bffb
Tuning unit file for medium sized setups

We would propose to introduce the TasksMax setting in the unit file. The default value of 512 seems too low, at least for our setup. In addition, if present in the unit file, people will be aware of it.

LimitNOFILE seems also a little bit low.

Our setup consists of 8 DNS backend servers. Each Server with 5 IPv4 and 5 IPv6 addresses. That means dnsdist has to deal with 80 backends. For this setup TasksMax=512 (default) was too low and dnsdist stopped working correctly. We saw many of these messages:

Error creating a TCP thread: Resource temporarily unavailable
Had an error accepting new webserver connection: Resource temporarily unavailable
pdns/dnsdistdist/dnsdist.service.in