Plesk

RAM and CPU are not available in Resource Controller (cgroups) on Debian 8

Symptoms

Cause

Bug in Debian 8: its kernel does not support the cgroups CPU and RAM resource usage.

Resolution

Note: This article is intended for use by server administrators. In case there is no administrative SSH access to the server, contact the server administrator or server provider.

As a workaround, install the newer kernel version from the debian-backports repository:

  1. Connect to the server using SSH.

  2. Enable debian-backports repo:

    # echo deb http://http.debian.net/debian jessie-backports main > /etc/apt/sources.list.d/jessie-backports.list

  3. Run the following commands to update kernel:

    # apt-get update

    # apt-get -t jessie-backports install linux-image-amd64

  4. Open /etc/default/grub in any text editor and set the following parameters:

    GRUB_CMDLINE_LINUX_DEFAULT="cgroup_enable=memory swapaccount=1"
    GRUB_CMDLINE_LINUX="cgroup_enable=memory swapaccount=1"

  5. Reboot the server

Exit mobile version