[systemd-devel] Issues with docker systemd cgroups integration

Mrunal Patel mpatel at redhat.com
Tue Mar 15 16:38:11 UTC 2016


>
> >> 2. cpu.proc file itself goes missing especitally with the devices
> >> subsystemd even thought we mkdir the directory and write to the file.
> It is
> >> as if the file gets deleted by some other process.
>
> We had similar problem in the past with libvirtd and it got solved by
> introducing Delegate option (man systemd.resource-control). Setting
> Delegate=yes for unit will cause that cgroup hierarchy for this unit
> will be created in all controllers. Then you can manage cgroup
> settings for controllers not managed by systemd.
>
> I think this should work for us. How do we enable this for transient
units? Just pass Delegate=yes as a property?

> Michal
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/systemd-devel/attachments/20160315/79a11834/attachment.html>


More information about the systemd-devel mailing list