LVE physical memory accounting change for shared memory in kmod-lve 2.1-68

Incident Report for CloudLinux

Monitoring

The kmod-lve 2.1-68 package is already in our beta repository, and we are monitoring for any issues.
Posted Jul 05, 2026 - 03:06 UTC

Investigating

Starting with kmod-lve 2.1-68, shared memory allocated by applications will be counted toward each LVE PMEM limit on CloudLinux OS 8 and 7 hybrid.

On these platforms, shared memory was previously not included in PMEM accounting. CloudLinux OS 9 and 10 have always accounted for it correctly, so this update brings 8/7h in line with them and makes PMEM consistent across all CloudLinux versions.

If you prefer to retain the pre-update behavior and not account shared memory toward PMEM, kmod-lve 2.1-68 adds the module parameter lve_pmem_noshmem:

"N": Default, shmem accounting enabled.
"Y": Disable shmem accounting and restore the previous behavior.

It can be applied as follows:

- At runtime:
echo Y > /sys/module/kmodlve/parameters/lve_pmem_noshmem

- Persistently:
Add to a file under /etc/modprobe.d/, e.g. /etc/modprobe.d/kmodlve.conf:
options kmodlve lve_pmem_noshmem=Y
Posted Jun 24, 2026 - 17:21 UTC