On Tue, 10 Dec 2019 at 10:42, Arjit Chaudhary <arji...@gmail.com> wrote:
> Hi, > Is there any difference between setting vSwap on the OpenVZ 7 based > virtual machine? > > vzctl set $VMID --ram $RAM --swap $SWAP --save > > vs > > vzctl set $VMID --ram $RAM --swappages $SWAP --save > > > does --swap end up using real swap on the host-node > > and > > --swappages use the RAM as swap (ie, vswap) ? > > > or are both the same ? > Please take a look at vzctl man page, it's all described in there. In short, you should use --swap; --swappages is working but obsolete.
_______________________________________________ Users mailing list Users@openvz.org https://lists.openvz.org/mailman/listinfo/users