by tianon

Simple scripts to properly mount the cgroupfs hierarchy, especially structured for Debian packaging

142 Stars 121 Forks Last release: Not found 45 Commits 5 Releases

Available items

No Items, yet!

The developer of this repository has not created any items for sale yet. Need a bug fixed? Help with integration? A different license? Create a request here:


Light-weight package to set up cgroupfs mounts

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.

Do I need this?

If you're using

as your init system, you do not need this, as
will already configure and manage a properly mounted cgroup hierarchy.

How do I install this?

For Debian users, simply

apt-get install cgroupfs-mount

If you're on Ubuntu 14.04 (Trusty), you should simply use

instead (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

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

. After commenting out any extraneous cgroup entries in
, you should either reboot or manually umount them and then run

We use cookies. If you continue to browse the site, you agree to the use of cookies. For more information on our use of cookies please see our Privacy Policy.