Setting the Global Memory Limit for Backups and Migrations
To make sure that no backup, restore, or migration operation will occupy too much of the Node's memory, potentially leading to an out-of-memory situation, you can set a global memory consumption limit for such operations. To do this, edit the Virtuozzo global configuration file /etc/vz/vz.conf as follows:
- Uncomment the
VZ_TOOLS_BCID parameter to enable resource limits for backup, restore, and migration operations. Make sure that the specified ID is not used by any Container on the Hardware Node. - Uncomment the
VZ_TOOLS_MEMLIMIT parameter and set a global memory consumption limit, in bytes.
|