Improve swapiness

This commit is contained in:
Taylor Helsper 2019-12-08 21:45:16 -06:00
parent 74ef4c1d17
commit 2ef4cbdbb9

View File

@ -73,10 +73,13 @@ net.ipv4.ip_forward=1
# Protects against creating or following links under certain conditions
# Debian kernels have both set to 1 (restricted)
# See https://www.kernel.org/doc/Documentation/sysctl/fs.txt
#fs.protected_hardlinks=0
#fs.protected_hardlinks=/ /0C
#fs.protected_symlinks=0
# Disable IPv6
net.ipv6.conf.all.disable_ipv6 = 1
net.ipv6.conf.default.disable_ipv6 = 1
net.ipv6.conf.lo.disable_ipv6 = 1
# Don't swap so much
vm.swappiness=10