Skip to content

Commit

Permalink
Remove LimitNOFILE from containerd.service
Browse files Browse the repository at this point in the history
  • Loading branch information
mzaian committed Jan 7, 2025
1 parent 6e60d98 commit 5c8dc3e
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 2 deletions.
1 change: 0 additions & 1 deletion roles/container-engine/containerd/defaults/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -90,7 +90,6 @@ containerd_registry_auth: []
# Configure containerd service
containerd_limit_proc_num: "infinity"
containerd_limit_core: "infinity"
containerd_limit_open_file_num: "infinity"
containerd_limit_mem_lock: "infinity"

# OS distributions that already support containerd
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,6 @@ RestartSec=5
# in the kernel. We recommend using cgroups to do container-local accounting.
LimitNPROC={{ containerd_limit_proc_num }}
LimitCORE={{ containerd_limit_core }}
LimitNOFILE={{ containerd_limit_open_file_num }}
LimitMEMLOCK={{ containerd_limit_mem_lock }}
# Comment TasksMax if your systemd version does not supports it.
# Only systemd 226 and above support this version.
Expand Down

0 comments on commit 5c8dc3e

Please sign in to comment.