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

Piotr Dobrogost 2018 at p.dobrogost.net
Wed Nov 7 14:28:30 UTC 2018


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 +UTMP +LIBCRYPTSETUP
+GCRYPT +GNUTLS +ACL +XZ +LZ4 +SECCOMP +BLKID +ELFUTILS +KMOD +IDN2
-IDN +PCRE2 default-hierarchy=hybrid
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/systemd-devel/attachments/20181107/afe83910/attachment.html>


More information about the systemd-devel mailing list