image: lower file limit for containerd (#2815)

This commit is contained in:
3u13r 2024-01-11 12:47:38 +01:00 committed by GitHub
parent 9a814f91b1
commit 120ae9d227
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -1,3 +1,11 @@
[Service] [Service]
ExecStart= ExecStart=
ExecStart=/usr/bin/containerd --config /usr/etc/containerd/config.toml ExecStart=/usr/bin/containerd --config /usr/etc/containerd/config.toml
# Until https://github.com/containerd/containerd/pull/8924 lands in our
# containerd version, we need to decrease the default ulimit that
# is set in the upstream containerd service of infinity which newer
# systemd versions resolve to 2**30 which is way too large and
# results in various inspecific errors such as excessive resource (e.g., memory)
# usage.
LimitNOFILE=524288