[systemd-devel] Delegate=yes and user instance's resource controlling

Lennart Poettering lennart at poettering.net
Mon Jan 5 09:32:35 PST 2015


On Thu, 25.12.14 23:38, Ivan Shapovalov (intelfx100 at gmail.com) wrote:

> Hi!
> 
> Judging from commit a931ad47a8623163a29d898224d8a8c1177ffdaf,
> the systemd user instance is intentionally restricted from touching
> !systemd hierarchies. So, things like
> "systemctl --user set-property foo.service MemoryLimit=XYZ"
> do not work.
> 
> Is this restriction going to be lifted in the future? If not, are there any
> alternative ways to achieve resource controlling per-user-service?

No, this is currently not available, simply because it is not safe
from the kernel side of things.

We will open up some of the properties eventually, when the kernel
folks consider them safe.

Lennart

-- 
Lennart Poettering, Red Hat


More information about the systemd-devel mailing list