Managing LVE Packages & Resource Limits on CloudLinux (cPanel Servers) Print

  • cloudlinux, LVE, whm, cPanel, packages, server, admin, resource limits, managed server, unmanaged server
  • 0

Applies to: Administrators of unmanaged and managed servers running CloudLinux with cPanel/WHM. Note: On managed servers we do not make direct per-account adjustments for you, but we can review usage and provide recommendations. If you are unmanaged (root access), you can follow the steps below.


What Are LVE Packages?

LVE (Lightweight Virtual Environment) technology isolates each hosting account on a CloudLinux server and enforces resource limits. Instead of setting limits manually for each account, you create LVE Packages. These packages can then be assigned to hosting plans in WHM (via CloudLinux Manager) to simplify management.

LVE Packages control limits such as:

  • CPU (percentage of a core or multiple cores)
  • Memory (pMem) (RAM available to processes)
  • EP (Entry Processes) (concurrent PHP/web entries)
  • I/O (disk throughput)
  • IOPS (disk operations per second)
  • NPROC (max number of processes per user)
  • Inodes (file count limits)

Accessing LVE Manager in WHM

  1. Log in to WHM as root.
  2. Navigate to Plugins → CloudLinux LVE Manager.
  3. From here, you can view current usage, create/edit packages, and assign packages to accounts.

Creating a New LVE Package

  1. In WHM, open CloudLinux LVE Manager.
  2. Select the Packages tab.
  3. Click Create New Package.
  4. Enter a Package Name (e.g., Business-Plus).
  5. Set the desired limits for:
    • Speed (CPU %) — e.g., 200 = 2 CPU cores
    • Memory (pMem) — e.g., 2 GB
    • Entry Processes — e.g., 20–40
    • I/O — e.g., 10 MB/s
    • IOPS — e.g., 10,240
    • NPROC — e.g., 100–200
  6. Click Save.

Assigning LVE Packages to Accounts

Once packages are created, you can assign them to accounts in two ways:

Method 1: Link to WHM Packages

  1. In WHM, go to Packages → Edit a Package.
  2. Edit an existing cPanel package (e.g., Basic, Business).
  3. Scroll to the CloudLinux LVE Settings section.
  4. Select the LVE Package you created.
  5. Save changes.

Any accounts using that WHM package will now inherit the new LVE limits.

Method 2: Assign Per-Account

  1. In LVE Manager, go to the Users tab.
  2. Find the account you want to modify.
  3. Assign the desired LVE Package.

Adjusting Limits for an Existing Package

  1. In WHM → LVE Manager, go to the Packages tab.
  2. Click Edit next to the package you want to adjust.
  3. Update CPU, Memory, EP, IO, or other settings as required.
  4. Click Save. All accounts linked to this package will be updated automatically.

Monitoring Resource Usage

  • From LVE Manager → Current Usage, you can view live account activity.
  • The Statistics tab provides historical usage trends to help identify accounts frequently hitting limits.
  • Frequent “Faults” (limits exceeded) may indicate a need for optimisation or a higher LVE package.

CLI Management (Advanced)

On unmanaged servers you can also manage LVE via the command line:

# Show all current limits
lvectl list

# Set limits for a user (example: user123)
lvectl set-user user123 --speed=200% --pmem=2G --io=10M --nproc=100 --ep=20

Note: CLI changes override package assignments. If you want consistency, manage limits via packages wherever possible.


Best Practices

  • Create tiered packages (e.g., Starter, Business, Enterprise) rather than unique limits per account.
  • Review Resource Usage graphs before adjusting limits—optimisation (caching, plugins, CDN) may solve issues without raising limits.
  • Avoid setting packages too high—this can defeat the purpose of isolation and impact overall server stability.
  • Document your packages and keep them aligned with your hosting plans.

References

Last updated: September 2025


Was this answer helpful?

« Back