Skip to content

Commit b06770d

Browse files
authored
Merge pull request #2249 from terev/guestagent-oomscoreadj
Adjust Guestagent OOM Parameters
2 parents 97b722c + e507f55 commit b06770d

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

cmd/lima-guestagent/lima-guestagent.TEMPLATE.service

+2
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,8 @@ Description=lima-guestagent
55
ExecStart={{.Binary}} daemon {{.Args}}
66
Type=simple
77
Restart=on-failure
8+
OOMPolicy=continue
9+
OOMScoreAdjust=-500
810

911
[Install]
1012
WantedBy=multi-user.target

0 commit comments

Comments
 (0)