Skip to content

Commit

Permalink
Remove LimitNOFILE=infinity from engine unit file
Browse files Browse the repository at this point in the history
This was a change made upstream due to the value of `infinity` being too
high for certain workloads + host kernels.
The way systemd sets up the defaults now are perfectly fine these days.

Signed-off-by: Brian Goff <[email protected]>
  • Loading branch information
cpuguy83 committed Feb 9, 2024
1 parent 272bfe7 commit 40b4de8
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion moby-engine/systemd/docker.service
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,6 @@ StartLimitInterval=60s

# Having non-zero Limit*s causes performance problems due to accounting overhead
# in the kernel. We recommend using cgroups to do container-local accounting.
LimitNOFILE=infinity
LimitNPROC=infinity
LimitCORE=infinity

Expand Down

0 comments on commit 40b4de8

Please sign in to comment.