1
0
Fork 0
mirror of https://github.com/moby/moby.git synced 2022-11-09 12:21:53 -05:00

Merge pull request #19391 from cdauth/systemd_tasks_max

Set TasksMax in addition to LimitNPROC in systemd service files
This commit is contained in:
Brian Goff 2016-01-18 13:33:07 -05:00
commit 2cd74f9932
2 changed files with 2 additions and 0 deletions

View file

@ -11,6 +11,7 @@ MountFlags=slave
LimitNOFILE=1048576
LimitNPROC=1048576
LimitCORE=infinity
TasksMax=1048576
TimeoutStartSec=0
[Install]

View file

@ -88,6 +88,7 @@ In this example, we'll assume that your `docker.service` file looks something li
ExecStart=/usr/bin/docker daemon -H fd://
LimitNOFILE=1048576
LimitNPROC=1048576
TasksMax=1048576
[Install]
Also=docker.socket