diff --git a/containerd.service b/containerd.service index 38a345945..cf7c6efed 100644 --- a/containerd.service +++ b/containerd.service @@ -28,11 +28,12 @@ Delegate=yes KillMode=process Restart=always RestartSec=5 + # Having non-zero Limit*s causes performance problems due to accounting overhead # in the kernel. We recommend using cgroups to do container-local accounting. LimitNPROC=infinity LimitCORE=infinity -LimitNOFILE=infinity + # Comment TasksMax if your systemd version does not supports it. # Only systemd 226 and above support this version. TasksMax=infinity