mirror of
https://gitea.blesmrt.net/mikaela/shell-things.git
synced 2024-11-22 03:09:22 +01:00
sysctl: increase vm.swappiness to 10
This commit is contained in:
parent
9c219aa7b3
commit
314a03ee24
@ -3,8 +3,8 @@
|
||||
# Core files appear with filename <binary>-<PID>-<hostname>.core
|
||||
kernel.core_pattern = %e-%p-%h.core
|
||||
|
||||
# Only use swap when you have to, ~99% of RAM in use
|
||||
vm.swappiness = 1
|
||||
# Start swapping when 90% of memory is in use.
|
||||
vm.swappiness = 10
|
||||
|
||||
# When binding to IPv6, only bind to IPv6. Avoids dotted-decimals
|
||||
net.ipv6.bindv6only=1
|
||||
|
Loading…
Reference in New Issue
Block a user