• Debian 11 is approaching its end-of-life (vendor EOL date - August 31, 2026). Plesk Obsidian 18.0.80 will be the last release to support it.
    If you are running Plesk Obsidian on Debian 11, we recommend you upgrade those servers to Debian 12 using our dist-upgrade tool.
  • We plan to deprecate and remove the support for XML RPC protocol versions earlier than 1.6.9.1 in Plesk Obsidian 18.0.82. We strongly recommend that you update all existing integrations using earlier versions of the XML RPC protocol to comply with the version 1.6.9.1 specification.

Resolved How to interpret Cgroups limits

klowet

Basic Pleskian
Server operating system version
Debian 12
Plesk version and microupdate number
18.0.68 Update #2
Hi

I have a question about Cgroups. See eg. the settings below.
When the 'period to check' is set to '1 hour', what exactly does that mean?
  • May the CPU/RAM usage never exceed its limit?
  • Or not more then x-minutes?
  • Or not more than 1 full hour?
For example the RAM limit of 2 GB: is this subscription able to use 3 GB for 1 hour and does Cgroups kicks in after that hour?

1745580044523.png
 
"Period to check" is only related to the "Notify when exceeded" option. Cgroups Manager counts the average consumption for each 5-minute interval. So, if you set it to an hour that will make a total of 12 intervals. If the threshold is exceeded in all 12 intervals Cgroups Manager will send a notification. Here's the documentation for further reference:

 
Okay, so:
  • 'Period to check CPU/RAM usage' is only related to the 'Notify when exceeded' threshold is exceeded for that period of time.
  • The 'Limit' is checked for the consumption for the last 5 minutes and kills the processes consuming more CPU / RAM?
Correct?
 
'Period to check CPU/RAM usage' is only related to the 'Notify when exceeded' threshold is exceeded for that period of time.

Correct

The 'Limit' is checked for the consumption for the last 5 minutes and kills the processes consuming more CPU / RAM?

The 5 minute interval is applied for the monitoring/notification purposes. As far as I am aware, the limit enforcement is in real time.
 
Back
Top