This is very first, and very raw beta, but it brings in something that we have been asked for by so many people. Now you can set LVE limits on a per package bases.
To install new LVE Manager, do:
# yum install lvemanager --enablerepo=cloudlinux-updates-testing
It will overwrite existing LVE Manager, and it will be available in Main->Server Configuration->CloudLinux LVE Manager
This package will also bring in new version of lve-utils, which allow control over new LVE limits, such as:
- Physical memory limits -- allows to limit physical instead of virtual memory -- which should allow for much easier to understand memory limits. This is true memory used, not memory allocated -- and as such should be much smaller. Especially when accounting for multiple PHP processes running
- Number of processes limit -- while it is possible to control number of processes via RLimitNRPOC, this should provide you with more flexibility and as new lve-stats package will be available -- better visibility on the usage patterns among your clients.
One side effect of new lve-utils is that it will respect UBC settings in /etc/container/ve.cfg. It means that you would need to enable memory limits even on CloudLinux 6 by default. Also, the new limits are not yet available on current CloudLinux 5 kernel, but we should have a new kernel in beta later next week that would allow you to use physical memory limits, and number of processes limits on CloudLinux 5 as well.