unbound: Increase number of parallel queries

The parameters are the recommended values for libevent

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
This commit is contained in:
Michael Tremer
2017-03-28 10:16:56 +01:00
parent e0174da88b
commit 0a7dca2c5f

View File

@@ -273,6 +273,10 @@ write_tuning_conf() {
echo "rrset-cache-size: $(( ${mem} / 2 ))m"
echo "msg-cache-size: $(( ${mem} / 4 ))m"
echo "key-cache-size: $(( ${mem} / 4 ))m"
# Increase parallel queries
echo "outgoing-range: 8192"
echo "num-queries-per-thread: 4096"
) > /etc/unbound/tuning.conf
}