sysctl: increase vm.swappiness to 10

This commit is contained in:
Aminda Suomalainen 2016-07-25 17:01:12 +03:00
parent 9c219aa7b3
commit 314a03ee24
No known key found for this signature in database
GPG Key ID: 0C207F07B2F32B67

View File

@ -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