Skip to content

Commit 9bd8f6e

Browse files
dmcgowanestesp
authored andcommitted
Update containerd systemd unit file
Synchronizes unit file with CRI's version Signed-off-by: Derek McGowan <[email protected]>
1 parent c7bd047 commit 9bd8f6e

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

containerd.service

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,7 @@ Type=notify
1111
Delegate=yes
1212
KillMode=process
1313
Restart=always
14+
RestartSec=5
1415
# Having non-zero Limit*s causes performance problems due to accounting overhead
1516
# in the kernel. We recommend using cgroups to do container-local accounting.
1617
LimitNPROC=infinity
@@ -19,6 +20,7 @@ LimitNOFILE=1048576
1920
# Comment TasksMax if your systemd version does not supports it.
2021
# Only systemd 226 and above support this version.
2122
TasksMax=infinity
23+
OOMScoreAdjust=-999
2224

2325
[Install]
2426
WantedBy=multi-user.target

0 commit comments

Comments
 (0)