CloudLinux

Also known as: CloudLinux OS · LVE

On this page 7

CloudLinux, officially CloudLinux OS, is a commercial Linux distribution built for shared hosting servers that places every hosting account in its own Lightweight Virtual Environment (LVE) with enforced caps on CPU, memory, processes and disk I/O. In the management of server resources, it is the standard answer to the noisy neighbor problem, where one busy website slows down hundreds of others on the same machine.

CloudLinux is binary compatible with Red Hat Enterprise Linux family distributions such as AlmaLinux, and it integrates with control panels such as cPanel, Plesk and DirectAdmin. Its kernel-level limits are what distinguish it from ordinary per-user quotas.

How the Lightweight Virtual Environment works

An LVE is a kernel-level container that groups all processes belonging to one hosting account and applies a common set of resource limits to the group. Unlike a virtual machine, an LVE shares the kernel and file system with other accounts, so it adds almost no overhead while still preventing one account from consuming the whole server.

The kernel enforces limits continuously, building on mechanisms comparable to Linux control groups (cgroups). When an account reaches its CPU limit, its processes are throttled rather than killed; when it reaches its memory or process limits, new allocations or new processes are refused, and the web server typically returns an error such as HTTP 503 or 508 to visitors of that site only.

The main limits an administrator assigns to each LVE are listed below.

LimitWhat it controlsEffect when reached
SPEEDCPU time as a share of one or more coresProcesses are throttled and pages load slowly
PMEMPhysical memory used by all account processesAllocations fail, often producing 503 errors
EP (entry processes)Concurrent connections entering the accountNew requests receive 508 errors
NPROCTotal number of processes, including cron and SSHNew processes cannot be started
IODisk read and write throughputDisk operations are slowed
IOPSDisk operations per secondHeavy small-file workloads are slowed
Core LVE limits in CloudLinux

Components beyond resource limits

CloudLinux bundles several security and usability layers around the LVE core, which is why hosting providers treat it as a platform rather than a single feature. Each component addresses a typical weakness of shared hosting.

ComponentPurposeBenefit for hosting
CageFSVirtualized file system per accountUsers cannot see other accounts or sensitive system files
PHP SelectorPer-account choice of PHP version and extensionsOld and new applications coexist on one server
MySQL GovernorTracks and limits database usage per accountHeavy queries no longer slow the whole database server
SecureLinks and symlink protectionKernel hardening against link-based attacksReduces cross-account file access exploits
LVE ManagerInterface for limits, statistics and alertsAdministrators see which accounts hit limits and why
Key CloudLinux components

CageFS is often as important as the resource limits themselves. By giving every user a separate view of the file system, it limits the damage when one compromised website tries to read configuration files or credentials from neighboring accounts.

CloudLinux compared with other isolation methods

CloudLinux occupies the middle ground between plain shared hosting and full virtualization. It is far denser than giving every customer a virtual private server, yet it provides much stronger guarantees than per-user quotas on a standard Linux distribution.

ApproachIsolation levelOverheadTypical density
Plain shared hostingUser permissions onlyVery lowHundreds of sites, high contention risk
CloudLinux LVEKernel-enforced per-account limitsVery lowHundreds of sites with controlled contention
ContainersNamespaces and cgroups per tenantLowDozens to hundreds of tenants
Virtual private serversSeparate guest kernelsModerate to highTens of tenants per host
Isolation approaches for multi-tenant servers

The trade-off is that all LVEs share one kernel. A kernel vulnerability or a kernel-level misconfiguration affects every account, so CloudLinux reduces resource contention but does not replace the stronger separation of virtual machines for customers with strict security or compliance needs.

Setting limits and planning capacity

Good limit values come from capacity planning, not from copying defaults. Administrators usually define limits per hosting package and then adjust individual accounts based on fault statistics, which record how often each account reached each limit.

Hosting planCPU limitPhysical memoryEntry processes
Entry shared plan100% of one core1 GB20
Business shared plan200% of one core2 GB40
Reseller account400% of one core4 GB60
Example limit profiles by hosting plan

These values are illustrative; the right figures depend on server core count, total RAM and the typical application mix. A useful rule is that the sum of limits may exceed the physical resources, because not all accounts peak together, but the overcommit ratio should be monitored and kept within the headroom the server can actually deliver.

Limitations and common mistakes

Most complaints about CloudLinux come from limits that are set without context or from misreading what a limit fault means.

  • Treating every fault as a server problem: frequent EP or memory faults usually signal an inefficient application or a traffic spike on that account, not a host failure.
  • Setting entry processes too low: modern sites with many parallel asset requests and slow PHP can exhaust EP quickly, producing 508 errors under modest traffic.
  • Ignoring database load: without MySQL Governor, a single slow query can still saturate the shared database server despite LVE limits.
  • Assuming full security isolation: LVE and CageFS reduce risk significantly but do not equal virtual machine isolation.
  • Forgetting licensing: CloudLinux is a paid, per-server licensed product, which belongs in the hosting cost model.

The short version

Picture an apartment building where every flat shares the same water and electricity. If one tenant runs every tap at once, the neighbors get nothing. CloudLinux gives each website its own fair share of the server, like a meter and a valve on every apartment.

When one site gets very busy or misbehaves, only that site slows down, while the hundreds of other websites on the same server keep working normally.

Where it makes a difference

A mid-sized hosting provider runs about 600 small business websites on a server with 32 CPU cores and 128 GB of RAM. Before installing CloudLinux, a single online shop running a badly written plugin regularly drove the load average above 60, and every site on the server became slow during its sales campaigns.

After migrating to CloudLinux, the provider assigns that shop a limit of two cores, 2 GB of memory and 40 entry processes. During the next campaign the shop reaches its CPU limit and its own pages slow down, the LVE Manager alerts support, and the customer is offered a larger plan. The other 599 websites keep normal response times, and support tickets about slow sites drop sharply.