Merge pull request #1251 from Random-Liu/add-task-max
Add TaskMax=infinity in the systemd unit.
This commit is contained in:
commit
f304b16a16
@ -45,6 +45,7 @@ write_files:
|
||||
# in the kernel. We recommend using cgroups to do container-local accounting.
|
||||
LimitNPROC=infinity
|
||||
LimitCORE=infinity
|
||||
TasksMax=infinity
|
||||
ExecStartPre=/sbin/modprobe overlay
|
||||
ExecStart=/home/containerd/usr/local/bin/containerd
|
||||
|
||||
|
@ -45,6 +45,7 @@ write_files:
|
||||
# in the kernel. We recommend using cgroups to do container-local accounting.
|
||||
LimitNPROC=infinity
|
||||
LimitCORE=infinity
|
||||
TasksMax=infinity
|
||||
ExecStartPre=/sbin/modprobe overlay
|
||||
ExecStart=/home/containerd/usr/local/bin/containerd
|
||||
|
||||
|
@ -16,6 +16,7 @@ LimitNOFILE=1048576
|
||||
# in the kernel. We recommend using cgroups to do container-local accounting.
|
||||
LimitNPROC=infinity
|
||||
LimitCORE=infinity
|
||||
TasksMax=infinity
|
||||
|
||||
[Install]
|
||||
WantedBy=multi-user.target
|
||||
|
@ -44,6 +44,7 @@ write_files:
|
||||
# in the kernel. We recommend using cgroups to do container-local accounting.
|
||||
LimitNPROC=infinity
|
||||
LimitCORE=infinity
|
||||
TasksMax=infinity
|
||||
ExecStartPre=/sbin/modprobe overlay
|
||||
ExecStart=/home/containerd/usr/local/bin/containerd
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user