[systemd-devel] issues setting limits on the fly for services/scopes in user slice

jsl6uy js16uy js16uy at gmail.com
Fri May 27 14:30:23 UTC 2016


Understood
thanks much sir
and now at least I know I'm not crazy for that reason ;)

On Fri, May 27, 2016 at 9:27 AM, Lennart Poettering <lennart at poettering.net>
wrote:

> On Fri, 27.05.16 09:03, jsl6uy js16uy (js16uy at gmail.com) wrote:
>
> > systemctl --user set-property foo.scope CPUQuota='5%'
> > or
> > systemctl set-property --user --runtime foo.scope CPUQuota='5%'
>
> This is not supported with the classic cgroups hierarchy, as resource
> controller delegation to unprivileged clients is not safe. Thus,
> setting these properties for "--user" instances has no effect.
>
> For the new cgroups-v2 hierarchy safe delegation to unprivileged
> clients is finally supported, but the "cpu" cgroup resource controller
> has not been ported over yet to cgroups-v2, hence this isn't available
> still either yet, but will be in one of the next kernel and systemd
> versions.
>
> Sorry,
>
> Lennart
>
> --
> Lennart Poettering, Red Hat
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/systemd-devel/attachments/20160527/2cd6d5a5/attachment.html>


More information about the systemd-devel mailing list