docker.service: don't limit tasks#21491
docker.service: don't limit tasks#21491vdemeester merged 1 commit intomoby:masterfrom pcarrier:pcarrier/wtf
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 :) |
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.