<div dir="ltr"><br><div class="gmail_extra"><div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<span class=""><br>
>> 2. cpu.proc file itself goes missing especitally with the devices<br>
>> subsystemd even thought we mkdir the directory and write to the file. It is<br>
>> as if the file gets deleted by some other process.<br>
<br>
</span>We had similar problem in the past with libvirtd and it got solved by<br>
introducing Delegate option (man systemd.resource-control). Setting<br>
Delegate=yes for unit will cause that cgroup hierarchy for this unit<br>
will be created in all controllers. Then you can manage cgroup<br>
settings for controllers not managed by systemd.<br>
<span class="HOEnZb"><font color="#888888"><br></font></span></blockquote><div>I think this should work for us. How do we enable this for transient units? Just pass Delegate=yes as a property? <br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><span class="HOEnZb"><font color="#888888">
Michal<br>
</font></span></blockquote></div><br></div></div>