Knowledgebase

LVE limits default values and recommended values

LVE (Lightweight Virtual Environment) is a feature provided by CloudLinux to control and limit resource usage on a shared hosting server. Here are some default and recommended values for LVE limits:

Default LVE Limits:

  1. CPU Limit:

    • Default Value: 100% (which means the user can use up to 100% of one CPU core).
    • Description: This is the maximum CPU usage allowed for a user within their LVE.
  2. Memory Limit:

    • Default Value: Unlimited (meaning the user can use all available memory).
    • Description: This is the maximum amount of physical memory (RAM) that a user can use.
  3. IO (Input/Output) Limit:

    • Default Value: Unlimited (meaning there's no restriction on disk I/O).
    • Description: This limit controls the amount of data a user can read from or write to disk.
  4. IOPS (Input/Output Operations Per Second) Limit:

    • Default Value: Unlimited.
    • Description: This limits the number of I/O operations per second a user can perform.
  5. EP (Entry Processes) Limit:

    • Default Value: 20.
    • Description: This limits the number of simultaneous processes a user can have.
  6. NPROC (Number of Processes) Limit:

    • Default Value: 100.
    • Description: This limits the number of processes a user can have at any given time.
  7. Inodes Limit:

    • Default Value: Unlimited.
    • Description: This limits the number of inodes a user can have (inodes represent files and directories).

Recommended LVE Limits:

The recommended values for LVE limits may vary depending on the specific requirements of your hosting environment, the types of applications hosted, and the hardware capabilities of your server. It's important to carefully analyze the needs of your users and adjust the limits accordingly.

Here are some general recommendations:

  1. CPU Limit:

    • Recommended values can range from 50% to 100% based on the type of applications and expected load.
  2. Memory Limit:

    • Allocate memory based on the requirements of the applications hosted. Avoid setting it too low, as it may lead to performance issues.
  3. IO/IOPS Limit:

    • It's often recommended to leave these values at their default settings, especially for web hosting environments. Adjust if you have specific I/O-intensive applications.
  4. EP (Entry Processes) Limit:

    • Recommended values can range from 10 to 30 based on the expected usage patterns.
  5. NPROC (Number of Processes) Limit:

    • Recommended values can range from 50 to 150 based on the expected number of concurrent processes.
  6. Inodes Limit:

    • Set this limit based on the typical usage patterns of your users. It's generally good to have a reasonably high limit, but be mindful of potential abuse.

It's important to monitor server performance and adjust these limits as needed. Regular analysis of usage patterns will help you fine-tune the limits for optimal performance and resource utilization.

  • 0 Users Found This Useful
Was this answer helpful?