mirror of
https://github.com/vincentmli/bpfire.git
synced 2026-04-28 11:43:25 +02:00
unbound: Increase size of send/receive buffers
This will allow to not drop any packets when there is a peak in queries Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
This commit is contained in:
@@ -278,6 +278,10 @@ write_tuning_conf() {
|
|||||||
# Increase parallel queries
|
# Increase parallel queries
|
||||||
echo "outgoing-range: 8192"
|
echo "outgoing-range: 8192"
|
||||||
echo "num-queries-per-thread: 4096"
|
echo "num-queries-per-thread: 4096"
|
||||||
|
|
||||||
|
# Use larger send/receive buffers
|
||||||
|
echo "so-sndbuf: 4m"
|
||||||
|
echo "so-rcvbuf: 4m"
|
||||||
) > /etc/unbound/tuning.conf
|
) > /etc/unbound/tuning.conf
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user