Skip to content
This repository has been archived by the owner on Mar 9, 2022. It is now read-only.

Commit

Permalink
Merge pull request #1251 from Random-Liu/add-task-max
Browse files Browse the repository at this point in the history
Add TaskMax=infinity in the systemd unit.
  • Loading branch information
mikebrow committed Aug 29, 2019
2 parents 567cd57 + 523f344 commit f304b16
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 0 deletions.
1 change: 1 addition & 0 deletions cluster/gce/cloud-init/master.yaml
Expand Up @@ -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
Expand Down
1 change: 1 addition & 0 deletions cluster/gce/cloud-init/node.yaml
Expand Up @@ -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
Expand Down
1 change: 1 addition & 0 deletions contrib/systemd-units/containerd.service
Expand Up @@ -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
1 change: 1 addition & 0 deletions test/e2e_node/init.yaml
Expand Up @@ -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
Expand Down

0 comments on commit f304b16

Please sign in to comment.