Raising LVE limits for an account is a five-second command that often ends a customer’s “my site is slow” ticket. It is also the easiest way to silently overcommit a host: every limit you raise reduces the safety margin for everyone else. A workflow that includes notification, scheduling, and monitoring keeps the host predictable and gives a paper trail when the next capacity question comes up. We treat LVE upgrades as small changes, not one-off commands.
What’s happening
LVE limits are not just resource caps; they are the contract between the customer’s package and the host’s total capacity. Raising one account’s CPU limit by 100% means the host can no longer guarantee everyone else their CPU if the host is fully booked. Over time, ad-hoc raises drift the host out of its design envelope, and the next incident hits a host that is 40% overcommitted without anyone realizing.
The fix is to treat LVE upgrades as a change-management event: documented, notified, scheduled, and monitored. The first three are simple. Monitoring is the part most teams skip and that catches over-commitment.
How to verify
Current limits and overage history:
lvectl limits <username>
lveinfo --period=7d --user=<username> --show-incidents
lveinfo --period=24h --user=<username> --by=hour
Host-level commitment: total of all per-user limits compared to host capacity:
for u in $(lvectl list | awk 'NR>1 {print $1}'); do
lvectl limits $u | grep -E '^cpu' | awk '{print $2}'
done | awk '{sum += $1} END {print "Total committed CPU%:", sum}'
A total committed CPU% over 200x the core count is heavily overcommitted. Most hosts hold up because not every account uses its full allocation at once — but that breaks down under sustained load.
The fix
The workflow:
- Confirm the case.
lveinfo --user=<u> --period=7d --show-incidentsshould show consistent incidents on the limit being raised. If it does not, the slowness is not from LVE throttling and the upgrade will not help. - Notify the customer. Send a brief email: “We saw your account hit CPU/EP limits N times last week. We propose raising your limit from X to Y effective
<date>. Reply by<date>to proceed or discuss.” This frames it as a service improvement, not a billing change. - Schedule the change. Apply during a low-traffic window, not at peak.
lvectl set <username> --cpu=200 --ep=40thenlvectl save. For per-package changes that affect many accounts, edit/etc/container/<package>.yamlandlvectl apply allduring the window. - Monitor the next 24-72 hours.
lveinfo --user=<u> --period=24h --show-incidents. Confirm incidents are now zero or near-zero. If they are still high, the raise was insufficient — repeat the diagnosis. - Update the customer record. Note in the customer’s account: limit raised on
<date>, from<X>to<Y>, due to<reason>. Next operator can see the history. - Audit host overcommit quarterly. Sum the limits across all accounts; compare to host capacity. If overcommit drifts above the threshold the host can absorb, the answer is either moving accounts to less-loaded hosts or adding capacity.
The workflow is overkill for a single account in isolation. It pays for itself the third time someone raises a limit and forgets to write it down. Stack Harbor handles LVE limit changes as part of environment management.