[systemd-devel] how to make systemd ignore the memory cgroup controller and hierarchy

Lennart Poettering lennart at poettering.net
Thu May 10 15:07:30 UTC 2018


On Do, 10.05.18 15:01, john terragon (terragonjohn at yahoo.com) wrote:

>  
>   On Wednesday, May 9, 2018, 10:02:14 PM GMT+2, Simon McVittie <smcv at collabora.com> wrote: 
> 
> >I don't think this is supported. systemd behaves as though cgroups v2 is
> >in use (single unified cgroup hierarchy) even if you are currently using
> >cgroups v1 (one parallel hierarchy per controller).
> 
> 
> According to this
> 
> https://github.com/systemd/systemd/issues/7624
> they seemed to agree to change the behavior of
> DefaultMemoryAccounting so that, if set to "never", systemd should
> leave the memory controller alone. Did they implement it?

No, the issue is still open. I'd be happy to review a patch for that!

Lennart

-- 
Lennart Poettering, Red Hat


More information about the systemd-devel mailing list