From 40b4de895461e8d3ded408debe9abd93c3d99de0 Mon Sep 17 00:00:00 2001 From: Brian Goff Date: Fri, 9 Feb 2024 17:52:43 +0000 Subject: [PATCH] Remove LimitNOFILE=infinity from engine unit file 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 --- moby-engine/systemd/docker.service | 1 - 1 file changed, 1 deletion(-) diff --git a/moby-engine/systemd/docker.service b/moby-engine/systemd/docker.service index c011eb0..f7d049c 100644 --- a/moby-engine/systemd/docker.service +++ b/moby-engine/systemd/docker.service @@ -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