Re: [systemd-devel] MemoryMax not working with `systemd-run --user` using hybrid cgroups hierarchy

2018-11-07 Thread Piotr Dobrogost
On Wed, Nov 7, 2018 at 5:39 PM Lennart Poettering wrote: > (…) > Note that on hybrid all contorllers are mounted as cgroupsv1, hence > hybrid is like legacy in this regard. > > Or in other words, unless you go full unified you can't use MemoryMax > in user instances. Thanks for clarifying. Any id

[systemd-devel] Debugging active timers that do not trigger

2018-11-07 Thread Daniel Drake
Hi, On Endless we have the following eos-autoupdater.timer: [Unit] Description=Endless OS Automatic Update Timer Documentation=man:eos-autoupdater(8) ConditionKernelCommandLine=!endless.live_boot ConditionKernelCommandLine=ostree [Timer] OnBootSec=15m OnUnitInactiveSec=1h Rando

Re: [systemd-devel] MemoryMax not working with `systemd-run --user` using hybrid cgroups hierarchy

2018-11-07 Thread Lennart Poettering
On Mi, 07.11.18 15:28, Piotr Dobrogost (2...@p.dobrogost.net) wrote: > Hi > > I run `systemd-run --user -p MemoryMax=100M /usr/bin/krusader` to limit > memory usage but it seems the limit is not enforced as `cat /proc/$(pidof > krusader)/status | grep VmRSS` gives "VmRSS: 389992 kB". MemoryMax=

[systemd-devel] MemoryMax not working with `systemd-run --user` using hybrid cgroups hierarchy

2018-11-07 Thread Piotr Dobrogost
Hi I run `systemd-run --user -p MemoryMax=100M /usr/bin/krusader` to limit memory usage but it seems the limit is not enforced as `cat /proc/$(pidof krusader)/status | grep VmRSS` gives "VmRSS: 389992 kB". % systemctl --version systemd 239 +PAM +AUDIT +SELINUX +IMA -APPARMOR +SMACK +SYSVINIT +UTM