Merge pull request #8924 from polarathene/fix/use-implicit-nofile-limit

fix: Remove `LimitNOFILE` from `containerd.service`
This commit is contained in:
Derek McGowan 2023-10-03 09:08:32 -07:00 committed by GitHub
commit 59134b5b3a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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