Virtuozzo and OpenVZ

Navigation:  Installation >

Virtuozzo and OpenVZ

Previous pageReturn to chapter overviewNext page



* Kernel 2.6.32-042stab088.4 or later required


CloudLinux provides limited support for OpenVZ and Virtuozzo. At this stage only the following functionality works:


PHP Selector

max entry processes


MySQL Governor


No other limits work so far.




VZ Node (needs to be done once for the server):


Note. Make sure all containers are stopped prior to doing this operation. Or reboot the server after the install.


Please make sure you have vzkernel-headers and vzkernel-devel packages installed. If no - install them with yum:


yum install vzkernel-headers vzkernel-devel

$ wget -P /etc/yum.repos.d/
$ yum install lve-kernel-module

This will setup LVE module for VZ kernel, as well as DKMS to update that module each time VZ kernel is updated.


After this is done, you can add LVE support for any container on a node, at any time.


To make CloudLinux work inside VZ container, VZ node has to be enabled. This should be done for any container where LVE support needs to be added:

$ vzctl set CT_ID --devnodes lve:rw --save

To disable LVE support for Container:

$ vzctl set CT_ID --devnodes lve:none --save

Inside container, follow standard CL installation procedures:


CloudLinux license is required for each VZ container.


Note. Some servers require increasing on host node, otherwise CageFS will throw errors. On a host node:

1. add " = 15000" to /etc/sysctl.conf;

2. apply it with 'sysctl -p' command.

In very rare cases the value should be increased higher, up to 50000.