Reseller Hosting (XL packages, cPanel) comes with VPS-like server resources, and resellers can set server resources (LVE limits) for their Sub Accounts.
If you have a resource-hungry website, setting the limits can ensure efficient use of server resources. If you are unsure, you can leave the limits at default.
This article applies to:
cPanel Reseller Hosting (XL Packages), and CloudLinux-based VPS, Quasi Dedicated, and Dedicated Server
Note:
You will need to create hosting packages before setting limits for your Sub Accounts.
View Resource Limits and Usage
cPanel/DirectAdmin > Resource Usage:
The easiest way to determine whether a Sub Account has reached its resource limit is to go to cPanel > Resource Usage (or DirectAdmin > Resource Usage).
When you access Resource usage the first time after the Sub Account hits a limit, it will display a notice saying, "You have reached the limits within the past 24 hours." Below that message, it will display which resource limit it hit.
More information in this article:
How to view resource usage?
WHM/DirectAdmin > CloudLinux Manager:
You can view resource limits and usage at WHM > Plugins > CloudLinux Manager.
On DirectAdmin: DirectAdmin > Extra Features > CloudLinux Manager.
- Historical Usage: Reseller account's total resources and historical usage.
- Packages: Hosting package limits.
- Users: Sub Account limits.
- Current Usage: Live resource usage.
- Statistics: Statistical reports of the resource usage and limits of Sub Accounts.
In the above interfaces:
- SPEED refers to CPU.
- PMEM refers to Physical Memory (RAM).
- IO refers to disk IO Speed.
- IOPS refers to number of IO Operations.
- EP refers to Entry Processes.
- NPROC refers to Number of Processes.
Set Resource Limits
Note:
- Do not set resource limits on individual users.
Due to a technical limitation in CloudLinux, resource limits on users will not be carried over when we upgrade or migrate servers. - Do not create hosting packages with spaces in the package name.
Please follow this walkthrough to set resource limits for Sub Accounts under reseller hosting.
- Go to CloudLinux Manager > Packages.
On cPanel: WHM > Plugins > CloudLinux Manager.
On DirectAdmin: DirectAdmin > Extra Features > CloudLinux Manager. - Click the Edit icon next to the hosting package name.
- Enter the values you need.
Recommended minimum values:SPEED 100%
PMEM 1024M
IO 20MB/s
IOPS 1024
EP 20
NPROC 100
SPEED 100% is equivalent to 1 CPU Core, 200% is 2 Cores, etc.
Do not set limits below the recommended minimum. Doing so will deteriorate your reseller hosting performance.
Do not set the CPU limit to fractions of 100% (e.g., 150%). Instead, use multiples of 100, e.g., 200%, 300%, etc.
You can leave the limits at default if you want. - Click Save.
- Done!
The new limits will apply to all Sub Accounts on this specific hosting package. Repeat the steps to assign limits to your other hosting packages.