Skip to content

CloudLinux LVE policy — hard limit vs soft limit philosophy

The philosophical choice between hard-capping tenants at their LVE ceiling and letting them burst, and how to set the policy that fits your customer expectations.

LVE limits aren’t just numbers. They’re a statement to the customer about how the host behaves under load. “Hard cap” tells the tenant “you get exactly this much, regardless of what’s available”. “Soft burst” tells them “you usually get more, but we’ll throttle you if it hurts neighbours”. Pick the philosophy first, then the numbers.

The trade-off

Hard limit philosophy (LVE limits enforced strictly, no bursting):

  • Predictable. Performance is the same at 2am and at 2pm.
  • Easier to reason about capacity — sum of allocations equals real capacity.
  • Customers on small plans hit walls visibly; some perceive this as “you’re throttling me”.
  • Easier to upsell — “your plan caps at X; the next tier gives you Y”.

Soft burst philosophy (LVE limits as floor, tenants can use spare capacity):

  • Better average performance — most tenants benefit from headroom most of the time.
  • Worse worst-case — a busy tenant can degrade neighbours during peaks.
  • Harder to reason about capacity — sum of allocations exceeds real capacity.
  • Customers don’t see walls; they see “the site felt slow yesterday”.

CloudLinux supports both via lvectl policies. The hardware enforces what you configure.

How to decide

Walk the customer mix:

  1. Resellers selling to end customers with strict plans? Hard limits. The reseller’s pricing model depends on predictable per-tier behaviour.
  2. Direct customers, mixed plans, customer service oriented? Soft burst with monitored ceiling. Bursting up to 2x the floor is a common compromise.
  3. High-density, low-revenue plans (cheap shared hosting)? Hard limits. The economics depend on dense packing; bursting eats the margin.
  4. Premium plans, higher revenue per tenant? Soft burst is fine. These customers expect headroom and will tolerate the small risk of neighbour degradation.
  5. Compliance-sensitive workload (one tenant must never affect another)? Hard limits with low ceilings. Predictable isolation is the priority.

What to do

  1. Pick one philosophy per server. Mixing policies on one host is operationally chaotic.
  2. Set the policy in lvectl set-default --cpu=X --pmem=Y --io=Z --iops=W (or per-account with lvectl set USER).
  3. Document the policy in the plan description. Customers should know whether their plan is “hard 1 CPU” or “1 CPU floor, burstable to 2”.
  4. Monitor faults per account daily. Faulting accounts on a soft-burst policy are tenants who’ve outgrown their plan; on a hard-limit policy, they’re tenants hitting expected ceilings.
  5. Review thresholds quarterly. Customer workloads change; LVE limits set two years ago might be wrong now.
  6. Cross-reference with capacity planning by signal — fault rates feed both per-account and fleet-level decisions.

Stack Harbor sets and tunes LVE policy per fleet as part of cPanel server management.