raise wmem_max/rmem_max for non-autotuned buffers

Unbound now requests 4M for the send buffer by default and we might as
well permit that for both the send and receive buffers. We set the max
auto-tuned send buffer size on a per-server basis but don't currently
have much use for tuning the maximum manually specified buffer size
across servers. It can be moved in the future if needed.
This commit is contained in:
Daniel Micay 2025-09-18 12:08:08 -04:00
parent 348cdf9d74
commit 47062b9c68

View file

@ -10,6 +10,9 @@ net.ipv6.conf.*.accept_redirects = 0
net.ipv4.conf.default.rp_filter = 0
net.ipv4.conf.*.rp_filter = 0
net.core.wmem_max=4194304
net.core.rmem_max=4194304
# use BBR and disable ECN since BBRv1 doesn't support it
net.ipv4.tcp_congestion_control = bbr
net.ipv4.tcp_ecn = 0