Open main menu

OpenVZ Virtuozzo Containers Wiki β

Changes

VSwap

418 bytes added, 14:07, 18 July 2012
How to distinguish between vswap and non-vswap configs?
Now your config is vswap enabled, and when you (re)start it, vswap mechanism will be used by the kernel for this CT.
 
== How to distinguish between vswap and non-vswap configs? ==
 
Both <code>vzctl</code> and the kernel treats a configuration file as vswap one if PHYSPAGES limit is '''not''' set to <code>unlimited</code> (a.k.a. [[LONG_MAX]]).
 
In addition, vzctl checks if kernel support vswap, and refuses to start a vswap-enabled container on a non vswap capable kernel. The check is presence of <code>/proc/vz/vswap</code> file.
== See also ==