User`s guide
Reference 85
Resource management parameters control the amount of resources a VPS can consume. They
are described in the
Managing Resources chapter in detail; here is only a list of parameters
allowed in VPS configuration file.
All resource management parameters can be subdivided into the general, disk, and system
categories for your convenience. Any parameter can be set with the
vzctl set command and
the corresponding option name (in the lower case, e.g.
--kmemsize for KMEMSIZE, etc.). See
the
OpenVZ Command Line Interface section for more details. The Typical value column specifies
a range of reasonable parameter values for different applications, from light to huge heavy
loaded VPS (consuming 1/8 of hardware node with 2 GB memory). If barrier and limit fields
are in use, ranges for both thresholds are given.
General and disk parameters:
Parameter Description Typical value
ORIGIN_SAMPLE
The configuration sample the VPS was based on
when created.
CONFIG_CUSTOMIZED
Indicates whether any of the VPS configuration
parameters have been modified as regards its original
configuration sample. If this parameter is omitted, its
value is considered as "no".
CPUUNITS
Guaranteed CPU power. This is a positive integer
number, which determines the minimal guaranteed
share of the CPU the Virtual Private Server receives.
The total CPU power in
CPUUNITS is its Bogomips
number multiplied by 25. OpenVZ reporting tools
consider one 1 GHz PIII Intel processor to be
approximately equivalent to 50,000 CPU units.
250…1000
CPULIMIT
Allowed CPU power. This is a positive number
indicating the share of the CPU time in per cent the
VPS may never exceed. You may estimate this share
as (allowed VPS CPUUNITS/CPU power)*100%.
1…4
DISKSPACE
Total size of disk space consumed by VPS, in 1 Kb
blocks.
204800…10485760
-
204800…11534340
DISKINODES
Total number of disk inodes (files, directories,
symbolic links) a Virtual Private Server can allocate.
80000…400000-
88000…440000
QUOTATIME
The grace period of the disk quota. It is defined in
seconds. Virtual Private Server is allowed to
temporarily exceed its quota soft limits for not more
than the
QUOTATIME period.
0…604800
QUOTAUGIDLIMIT
Number of user/group IDs allowed for VPS internal
disk quota. If set to 0, UID/GID quota will not be
enabled.
0…500
System parameters:
NUMPROC
Number of processes and threads allowed. Upon
hitting this limit, VPS will not be able to start new
process or thread.
40…400