Accepting request 487502 from home:cyphar:containers

- Set TasksMax=infinity to make sure runC doesn't start failing randomly.

OBS-URL: https://build.opensuse.org/request/show/487502
OBS-URL: https://build.opensuse.org/package/show/Virtualization:containers/containerd?expand=0&rev=46
This commit is contained in:
Jordi Massaguer 2017-04-12 08:37:07 +00:00 committed by Git OBS Bridge
parent 7efe4a265a
commit b7e9874a22
2 changed files with 10 additions and 0 deletions

View File

@ -1,3 +1,8 @@
-------------------------------------------------------------------
Wed Apr 12 08:02:59 UTC 2017 - asarai@suse.com
- Set TasksMax=infinity to make sure runC doesn't start failing randomly.
-------------------------------------------------------------------
Fri Feb 24 18:08:41 UTC 2017 - jmassaguerpla@suse.com

View File

@ -10,10 +10,15 @@ ExecStart=/usr/sbin/containerd --listen fd:// $CONTAINERD_OPTS
LimitNOFILE=1048576
LimitNPROC=1048576
LimitCORE=infinity
# While containerd doesn't directly modify cgroups, we have to make sure that
# systemd doesn't suddenly decide to mess around with runC's cgroup setup.
Delegate=true
# TasksMax is set to a silly value by default, so we need to bump it up to
# infinity so that containers don't randomly fail to spawn.
TasksMax=infinity
[Install]
WantedBy=multi-user.target