mirror of
https://github.com/mynodebtc/mynode.git
synced 2024-12-24 21:48:08 +00:00
Improve swapiness
This commit is contained in:
parent
74ef4c1d17
commit
2ef4cbdbb9
|
@ -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
|
||||
net.ipv6.conf.lo.disable_ipv6 = 1
|
||||
|
||||
# Don't swap so much
|
||||
vm.swappiness=10
|
Loading…
Reference in New Issue
Block a user