Set RAM for a container on openvz

vzctl set 101 --vmguarpages $((2048*256)) --save

Sets 2 GB on container

If you’re using Proxmox, set it from the GUI, as directly setting it via shell seems to be overridden by the Proxmox configuration.


You are reading this post on Joel G Mathew’s tech blog. Joel's personal blog is the Eyrie, hosted here.