mirror of
https://github.com/moby/moby.git
synced 2022-11-09 12:21:53 -05:00
Merge pull request #24307 from cyphar/remove-systemd-rlimits
contrib: systemd: set Limit* to infinity
This commit is contained in:
commit
34a9e9d051
1 changed files with 4 additions and 2 deletions
|
@ -11,8 +11,10 @@ Type=notify
|
||||||
# for containers run by docker
|
# for containers run by docker
|
||||||
ExecStart=/usr/bin/dockerd -H fd://
|
ExecStart=/usr/bin/dockerd -H fd://
|
||||||
ExecReload=/bin/kill -s HUP $MAINPID
|
ExecReload=/bin/kill -s HUP $MAINPID
|
||||||
LimitNOFILE=1048576
|
# Having non-zero Limit*s causes performance problems due to accounting overhead
|
||||||
LimitNPROC=1048576
|
# in the kernel. We recommend using cgroups to do container-local accounting.
|
||||||
|
LimitNOFILE=infinity
|
||||||
|
LimitNPROC=infinity
|
||||||
LimitCORE=infinity
|
LimitCORE=infinity
|
||||||
# Uncomment TasksMax if your systemd version supports it.
|
# Uncomment TasksMax if your systemd version supports it.
|
||||||
# Only systemd 226 and above support this version.
|
# Only systemd 226 and above support this version.
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue