-
Notifications
You must be signed in to change notification settings - Fork 18.9k
docker.service: don't limit tasks #21491
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
Conversation
|
Actually, we had this change, but it caused issues on older kernels, so was removed again; #20167 |
|
And nobody thought to leave it as a comment?? |
|
Let's leave it commented with an explanation, so people can uncomment it themselves: |
|
Should we go the other way around and leave it uncommented by default, Pierre Carrier
|
|
I don't think we should; when installing docker for production, there's more things that need to be tuned/configured (e.g. properly setting up devicemapper) We may need to change that comment though; because people shouldn't edit the default docker.service, but use a drop-in file |
|
Updated with the last comment suggestion; feel free to suggest something different or open a separate PR and close this one at your convenience :) |
contrib/init/systemd/docker.service
Outdated
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.
s/avobe/above/
Signed-off-by: Pierre Carrier <[email protected]>
|
@thaJeztah @cyphar anything else? |
|
A weak LGTM for me, because of what @thaJeztah said. It cannot hurt to have a comment in there though but I think we might want to document this option in the systemd article still.
|
|
When you include things like: I assume this file is ready to consume, not some minimal demo. So if it's not, I think a comment is in order. FWIW the impact for us was http://status.meteor.com/incidents/0nx4lggyggcp |
|
@clnperez we install docker without going through a deb, but SGTM ;) |
|
LGTM |
|
LGTM 😄 |
Since we can't use the TasksMax value in the docker.service file by default, we can uncomment it at buildtime. See moby/pull/21491 for some background. Signed-off-by: Christy Perez <[email protected]>
From 33a8ab29ed9e51697772a0642b8d651b9a845532 Mon Sep 17 00:00:00 2001 Origin: moby/moby#21491 Signed-off-by: Pierre Carrier <[email protected]> Gbp-Pq: Name debian-systemd-unit-tasksmax.patch
Default is 512 tasks.