| From 28ce7f925a0f118e0d5af57a41e431f4d6645a6d Mon Sep 17 00:00:00 2001 |
| From: kevin liu <zhihuil@google.com> |
| Date: Thu, 24 Jul 2025 01:13:05 +0000 |
| Subject: [PATCH] Revert "fix: Remove `LimitNOFILE` from `containerd.service`" |
| |
| This reverts commit 3ca39ef01608fdd44245c0173bf071682b3bfe3c. |
| --- |
| containerd.service | 3 +-- |
| 1 file changed, 1 insertion(+), 2 deletions(-) |
| |
| diff --git a/containerd.service b/containerd.service |
| index d477baf5c..4ee5d9312 100644 |
| --- a/containerd.service |
| +++ b/containerd.service |
| @@ -26,12 +26,11 @@ 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 |
| -- |
| 2.50.0.727.gbf7dc18ff4-goog |
| |