A scheduled CloudLinux kernel update or LVE Manager upgrade finishes overnight. By morning, half the shared tenants are reporting 503s, PHP workers refuse to spawn, or — worse — one tenant is silently consuming the whole CPU budget because the LVE limits stopped being enforced. The update completed without errors, but the runtime is in a bad state.
What’s happening
CloudLinux ships its kernel as a distribution. An LVE patch can affect three independent layers: the loaded kernel, the LVE Manager userland, and the per-user PHP selector cage. A mismatch between them is the usual failure mode. The kernel got patched but the box wasn’t rebooted, so the new LVE syscalls aren’t actually live. Or LVE Manager updated cleanly but cagefs wasn’t remounted for active users, so PHP sessions started before the update see one filesystem view and new sessions see another.
The third pattern: limits were silently reset to package defaults because the customer’s per-package overrides lived in a config that the update version-bumped.
How to verify
Confirm the running kernel matches the installed one:
uname -r
rpm -q kernel | tail -1
cldetect --check-lve
A mismatch on the first two lines means the box needs a reboot to use the patched kernel. cldetect will surface whether LVE is actually enforced on the running kernel.
Then check current limits against what each tenant is supposed to have:
lvectl list | head -20
cloudlinux-config --get | grep -E 'cpu|io|pmem|nproc'
cagefsctl --display-user-mode <username>
If lvectl list shows uniform package defaults where you expect per-account overrides, the override file was discarded. Restore it from backup before continuing.
The fix
For a kernel/userland mismatch, reboot during a scheduled window. There is no live-patch path for LVE — the kernel module has to be the patched one. After the reboot:
systemctl restart lvestats lve-stats
cagefsctl --force-update
cagefsctl --remount-all
/scripts/restartsrv_apache_php_fpm
If limits got reset, restore the per-package config from /etc/container/<package>.yaml backups (you do back these up, ideally), then lvectl apply all. Verify a representative tenant’s effective limits with lvectl limits <uid> and run a synthetic load test in their cage to confirm throttling kicks in at the expected point.
The pattern we look for after recovery: lveinfo --period=1h --by=cpu showing no single tenant pinning a full core. If one is, the override didn’t apply.
Stack Harbor handles CloudLinux patch windows and LVE incident recovery as part of deployment management, with active limit monitoring through monitoring and support. To bring a tenant runtime back under control after a bad LVE upgrade, reach our team.