Explorar o código

sysctl: Set swappines to 1 to decourage machines from swapping.

Signed-off-by: Maximilian Wilhelm <max@sdn.clinic>
Maximilian Wilhelm %!s(int64=5) %!d(string=hai) anos
pai
achega
3ab4af0dd4
Modificáronse 1 ficheiros con 4 adicións e 0 borrados
  1. 4 0
      sysctl/global.conf

+ 4 - 0
sysctl/global.conf

@@ -61,3 +61,7 @@ net.ipv4.netfilter.ip_conntrack_tcp_be_liberal = 1
 net.bridge.bridge-nf-call-iptables = 0
 net.bridge.bridge-nf-call-ip6tables = 0
 net.bridge.bridge-nf-call-arptables = 0
+
+#
+# Prevent swapping
+vm.swappiness = 1