Symptoms
-
RAM and CPU are not available in Resource Controller (cgroups) on Debian 8.
-
Following entries in
/var/log/plesk/panel.log
CONFIG_TEXT: resctrl failed: CPU quota limit does not support this OS configuration Failure to parse command line arguments on option: --cpu-quota 20
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:
-
Connect to the server using SSH.
-
Enable debian-backports repo:
# echo deb http://http.debian.net/debian jessie-backports main > /etc/apt/sources.list.d/jessie-backports.list
-
Run the following commands to update kernel:
# apt-get update
# apt-get -t jessie-backports install linux-image-amd64
-
Open
/etc/default/grub
in any text editor and set the following parameters:CONFIG_TEXT: GRUB_CMDLINE_LINUX_DEFAULT="cgroup_enable=memory swapaccount=1"
GRUB_CMDLINE_LINUX="cgroup_enable=memory swapaccount=1" -
Reboot the server
Comments
0 comments
Please sign in to leave a comment.