This guide will show you how to add resources plan and assign it to the users.
NOTE: This feature will work only if cgroups v2 is enabled in your Operating System.
If cGroups v2 is not enabled then you can follow the guide to enable the cGroups v2 .
You can add resources plans from your Webuzo Admin Panel > Users > Resource Limits
Click on the "Add Resource Limit Plan" button to add the plans.
CPU Quota : - Percentage of CPU limit. [Value must be greater than 25]
IO Read Bandwidth Max :- Max rate data can be read from a disk. [Example: 256K, 256M, 256G, 256T]
IO Write Bandwidth Max :- Max rate data can be written to a disk. [Example: 256K, 256M, 256G, 256T]
IOPS Read Max :- Max disk read operations per second. [Value must be greater than 256]
IOPS Write Max :- Max disk write operations per second. [Value must be greater than 256]
Memory Max :- Absolute Memory Limit. Triggers Out-Of-Memory Killer. [Example: 128K, 128M, 128G, 128T]
Memory High :- Throttle Memory above this Limit. [Example: 128K, 128M, 128G, 128T]
Tasks Max :- Max Tasks that may be created in the unit. [Value must be greater than 10]
Set the limits and save the plan.
To assign created plan to the users click on "Assign Plan to Users" button.
You can edit, delete plans and also can delete user assigned to a plan