From c7dd594604d34772042ccf0de4eb256750c3eba0 Mon Sep 17 00:00:00 2001 From: Mrunal Patel Date: Fri, 23 Jun 2017 09:04:27 -0700 Subject: [PATCH] contrib: Set the OOM Score Adjust of cri-o service to be low We don't want cri-o to be OOM killed easily. Signed-off-by: Mrunal Patel --- contrib/systemd/crio.service | 1 + 1 file changed, 1 insertion(+) diff --git a/contrib/systemd/crio.service b/contrib/systemd/crio.service index 6eca1268..70a3d26b 100644 --- a/contrib/systemd/crio.service +++ b/contrib/systemd/crio.service @@ -16,6 +16,7 @@ TasksMax=8192 LimitNOFILE=1048576 LimitNPROC=1048576 LimitCORE=infinity +OOMScoreAdjust=-999 TimeoutStartSec=0 Restart=on-abnormal