Fli
11-16-2014, 08:10 PM
Hello,
please on an OpenVZ (http://internetlifeforum.com/tags/openvz/) linux server, when i set swappiness value globally in /etc/sysctl.conf, can i also set different swappines for some of the VPSs?
Update: i think this can be set only on physical, not virtual server and cant be set for individual OVZ VPSs
The vswap (https://openvz.org/VSwap) size can be defined like:
vzctl set VMID --ram 512M --swap 1G --save
in the openvz vps config file (/etc/vz/conf/vmid.conf) it is probably the line: SWAPPAGES="0:524288" (this is when i set 2048MB in Hypervm, SWAPPAGES="0:262144" is 1024MB)
please on an OpenVZ (http://internetlifeforum.com/tags/openvz/) linux server, when i set swappiness value globally in /etc/sysctl.conf, can i also set different swappines for some of the VPSs?
Update: i think this can be set only on physical, not virtual server and cant be set for individual OVZ VPSs
The vswap (https://openvz.org/VSwap) size can be defined like:
vzctl set VMID --ram 512M --swap 1G --save
in the openvz vps config file (/etc/vz/conf/vmid.conf) it is probably the line: SWAPPAGES="0:524288" (this is when i set 2048MB in Hypervm, SWAPPAGES="0:262144" is 1024MB)