Enable cgroups memory hierarchy
|11 months ago|
|debian||1 year ago|
|Dockerfile||7 years ago|
|README.md||3 years ago|
|cgroupfs-mount||1 year ago|
|cgroupfs-mount.8||6 years ago|
|cgroupfs-umount||5 years ago|
Control groups are a kernel mechanism for tracking and imposing limits on resource usage on groups of tasks.
These scripts set up cgroups at boot without doing any cgroup management or doing any classification of tasks into cgroups.
If you’re using
systemd as your init system, you do not need this, as
systemd will already configure and manage a properly mounted cgroup hierarchy.
For Debian users, simply
apt-get install cgroupfs-mount.
If you’re on Ubuntu 14.04 (Trusty), you should simply use
(the equivalent package this one was based upon).
If you’re on Ubuntu 16.04 (Xenial) or later, you’re likely using
already, and thus are unlikely to need this package.
If you’re on some other distribution, either look for a similar package in your
distribution’s packages or clone these scripts and ensure that the
cgroupfs-mount script is somehow invoked during system startup.
It is critically important for the proper operation of these scripts that you do
not manually include any cgroup mount points in
/etc/fstab. After commenting
out any extraneous cgroup entries in
/etc/fstab, you should either reboot or
manually umount them and then run