[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

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

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

2018-11-08 Thread Piotr Dobrogost
On Thu, Nov 8, 2018 at 9:27 AM Lennart Poettering wrote: > > Would love to switch Fedora over yesterday. But Docker/Kubernetes and > the whole container mess doesn't like cgroupsv2 so far, and given how > important that is for Fedora I fear it'll not be happening anytime > soon. > > Yes, Google's/

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

2018-11-08 Thread Piotr Dobrogost
Additional question; is there a way to find out which type of hierarchy does systemd use? Piotr ___ systemd-devel mailing list systemd-devel@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/systemd-devel

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

2018-11-08 Thread Piotr Dobrogost
On Thu, Nov 8, 2018 at 11:33 AM Lennart Poettering wrote: > > On Do, 08.11.18 11:24, Piotr Dobrogost (2...@p.dobrogost.net) wrote: > > > Additional question; is there a way to find out which type of hierarchy > > does systemd use? > > Try this: > > stat -fc %T /s

Re: [systemd-devel] systemd-devel Digest, Vol 103, Issue 11

2018-11-14 Thread Piotr Dobrogost
> Date: Thu, 8 Nov 2018 14:15:18 +0100 > From: Piotr Dobrogost > Message-ID: < caa6tfmuar3vnz3bap6fpdjbftutk3gdfkmch_cr7d+by1yj...@mail.gmail.com> > I enabled unified hierarchy by passing "systemd.unified_cgroup_hierarchy" > kernel parameter and stat reports &

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

2018-11-23 Thread Piotr Dobrogost
ader)/status | grep VmRSS` reports "VmRSS: 225452 kB" This is follow-up to my original question "MemoryMax not working with `systemd-run --user` using hybrid cgroups hierarchy" ( https://lists.freedesktop.org/archives/systemd-devel/2018-Nov

[systemd-devel] Different behavior when OpenVPN is started as a service through systemd

2016-03-31 Thread Piotr Dobrogost
.pid ExecStartPre=/usr/bin/env ExecStart=/usr/sbin/openvpn --daemon --writepid /var/run/openvpn/%i.pid --cd /etc/openvpn/ --config %i.conf [Install] WantedBy=multi-user.target == /etc/systemd/system/openvpn xxx.service.d/env.conf [Service] Environment=OPENSSL_ENABLE_MD5_VERIFY=1 Thanky you in adva

Re: [systemd-devel] Different behavior when OpenVPN is started as a service through systemd

2016-04-01 Thread Piotr Dobrogost
Reindl Harald thelounge.net> writes: > Am 31.03.2016 um 23:07 schrieb Piotr Dobrogost: > > > > Please help Harald, thanks for taking time to reply. > get rid of MD5 and SHA1 certs in 2016 Thanks for suggestion. However it's not helpful. > openvpn works pretty

Re: [systemd-devel] Different behavior when OpenVPN is started as a service through systemd

2016-04-01 Thread Piotr Dobrogost
Hat/Fedora) and lack of appropriate SELinux policy in Fedora 24 (Interestingly enough such policy was added in Fedora 21 but it seems it has since been removed). Details at http://article.gmane.org/gmane.network.openvpn.user/36775 and https://bugzilla.redhat.com/show_bug.cgi?id=1174915 Again, thanks fo

[systemd-devel] XDG standardization for applications – allow using dash delimited names in application's unit name

2025-03-03 Thread Piotr Dobrogost
omment at https://discuss.kde.org/t/limit-application-memory-usage-with-systemd-kde-blogs/23804/11?u=piotr_dobrogost in the discussion pertaining to "Limit Application Memory Usage with systemd" blog post at https://blogs.kde.org/2024/10/18/limit-application-memory-usage-with-systemd/ Regards, Piotr Dobrogost