-
Notifications
You must be signed in to change notification settings - Fork 40.1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
COS/GCE: bump the max pids for the docker service #51986
Conversation
cluster/gce/gci/configure-helper.sh
Outdated
mkdir -p /etc/systemd/system/docker.service.d | ||
cat <<EOF >/etc/systemd/system/docker.service.d/02tasksmax.conf | ||
[Service] | ||
TasksMax=10000 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Can we make this even bigger, something like 1048600?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The current number 4915 is the "15% of "max number of tasks on the system" according to the COS team. How about setting it to infinity
(i.e., no limit)?
This affects how many threads/processes docker can create, and should not be limited.
39907ce
to
d6de90e
Compare
Updated the PR. |
/lgtm |
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: dchen1107, yujuhong Associated issue: 51977 The full list of commands accepted by this bot can be found here.
Needs approval from an approver in each of these OWNERS Files:
You can indicate your approval by writing |
@yujuhong: The following test failed, say
Full PR test history. Your PR dashboard. Please help us cut down on flakes by linking to an open issue when you hit one in your PR. Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. I understand the commands that are listed here. |
/test pull-kubernetes-unit |
LGTM |
Automatic merge from submit-queue (batch tested with PRs 51921, 51829, 51968, 51988, 51986) |
Cherrypick for 1.7 approved. |
What this PR does / why we need it:
TasksMax limits how many threads/processes docker can create. Insufficient limit affects container starts.
Which issue this PR fixes (optional, in
fixes #<issue number>(, fixes #<issue_number>, ...)
format, will close that issue when PR gets merged):fixes #51977
Special notes for your reviewer:
Release note: