• Introducing WebPros Cloud - a fully managed infrastructure platform purpose-built to simplify the deployment of WebPros products !  WebPros Cloud enables you to easily deliver WebPros solutions — without the complexity of managing the infrastructure.
    Join the pilot program today!
  • The Horde component is removed from Plesk Installer. We recommend switching to another webmail software supported in Plesk.
  • The BIND DNS server has already been deprecated and removed from Plesk for Windows.
    If a Plesk for Windows server is still using BIND, the upgrade to Plesk Obsidian 18.0.70 will be unavailable until the administrator switches the DNS server to Microsoft DNS. We strongly recommend transitioning to Microsoft DNS within the next 6 weeks, before the Plesk 18.0.70 release.

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