Disabling Virtual Memory Limit
It is recommended to disable VMEM limits (set them to 0) in your system for all users and packages.
The VMEM limit is deprecated in CloudLinux 6 and 7 system and can cause unexpected issues.
There are several ways to disable VMEM limits.
The following command will replace all VMEM related entries in the limits configuration file “ve.cfg” to the correct value:
$ sed -r -i.old 's|<(v?)mem\s[^>]*>|<\1mem limit="0"/>|g' /etc/container/ve.cfg && lvectl apply all
Please note that changing the default limit alone, like this (for example):
$ lvectl set default --vmem=0
$ lvectl apply all
is usually not enough, since it will just change the default limit set.
All the accounts with package limits and personal limits will stay intact.
So if you are about to change the limits via the LVEmanager - please make sure to change limits for all accounts and packages.