I was using package cgmanager
to automatically manage processes into memory cgroups in Ubuntu 16.04 LTS environment.
However, I did a fresh install of Ubuntu 18.04 and package cgmanager
is no longer available. Is there any known good alternative?
Background info: It seems that cgmanager
was removed because it cannot live nicely with systemd
(bug 1649310).
According to comment 20 in bug 1649310
cgmanager
was removed because it has been replaced bysystemd
. I guesscgmanager
was removed also because it conflicts too hard withsystemd
as documented in Debian bug 761389.Some history about
systemd
andcgmanager
can be found at LWN article about cgroups. According to that, Lennart Poettering does not want to support runningsystemd
with any othercgroup
manager (such ascgmanager
).So the answer seems to be one needs to convert any
cgmanager
configuration one has intosystemd
configuration. Unfortunately I cannot find any info about how to do that so probably the only way is to start readingsystemd
documentation and restart from the scratch.