On Fri, 27.05.16 09:03, jsl6uy js16uy ([email protected]) 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
_______________________________________________
systemd-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/systemd-devel

Reply via email to