
Managing Resources
56
tcprcvbuf
The total size of receive buffers for TCP sockets, i.e. the amount of
kernel memory allocated for the data received from the remote side,
but not read by the local application yet.
V
othersockbuf
The total size of UNIX-domain socket buffers, UDP, and other
datagram protocol send buffers.
V
dgramrcvbuf
The total size of receive buffers of UDP and other datagram protocols.
V
oomguarpages
The out-of-memory guarantee, in pages (one page is 4 Kb). Any VPS
process will not be killed even in case of heavy memory shortage if the
current memory consumption (including both physical memory and
swap) does not reach the
oomguarpages
barrier.
V
Auxiliary parameters
Parameter
Description
File
lockedpages
The memory not allowed to be swapped out (locked with the
mlock()
system call), in pages.
V
shmpages
The total size of shared memory (including IPC, shared anonymous
mappings and
tmpfs
objects) allocated by the processes of a
particular VPS, in pages.
V
privvmpages
The size of private (or potentially private) memory allocated by an
application. The memory that is always shared among different
applications is not included in this resource parameter.
V
numfile
The number of files opened by all VPS processes.
V
numflock
The number of file locks created by all VPS processes.
V
numpty
The number of pseudo-terminals, such as an
ssh
session, the
screen
or
xterm
applications, etc.
V
numsiginfo
The number of
siginfo
structures (essentially, this parameter limits
the size of the signal delivery queue).
V
dcachesize
The total size of
dentry
and
inode
structures locked in the
memory.
V
physpages
The total size of RAM used by the VPS processes. This is an
accounting-only parameter currently. It shows the usage of RAM by
the VPS. For the memory pages used by several different VPSs
(mappings of shared libraries, for example), only the corresponding
fraction of a page is charged to each VPS. The sum of the
physpages
usage for all VPSs corresponds to the total number of
pages used in the system by all the accounted users.
V
numiptent
The number of IP packet filtering entries.
V
You can edit any of these parameters in the
/etc/sysconfig/vz-
scripts/
vpsid
.conf
file of the corresponding VPS by means of your favorite text editor
(for example,
vi
or
emacs
), or by running the
vzctl set
command. For example:
# vzctl set 101 --kmemsize 2211840:2359296 --save
Saved parameters for VPS 101