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
commit f96cdc1a67
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

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