Merge pull request #1114 from c3d/bug/1111-agent-oom-killer

agent: Adjust OOM Score to avoid agent being killed.
This commit is contained in:
Archana Shinde
2020-12-02 11:40:35 -08:00
committed by GitHub

View File

@@ -20,3 +20,5 @@ LimitNOFILE=infinity
# the runtime handles shutting down the VM.
ExecStop=/bin/sync ; /usr/bin/systemctl --force poweroff
FailureAction=poweroff
# Discourage OOM-killer from touching the agent
OOMScoreAdjust=-997