2,253
edits
Changes
m
Virtual Environment container are explained below. The meaning of the parametersis illustrated assuming that the Virtual Environment container runs some network
Robot: Automated text replacement (-Virtual Environment +container)
The most important parameters determining the resources available to
server applications.
== numproc ==
Maximum number of processes and kernel-level threads allowed for this Virtual Environmentcontainer.
Many server applications (like Apache Web server, FTP and mail servers)
The <code>barrier</code> of this parameter should be set equal to the <code>limit</code>.
If each Virtual Environment container has it's own set of IP addresses (which is
the only way a OpenVZ system can be configured), there are no direct
limits on the total number of TCP sockets in the system. The number
more memory it needs.
The amount of memory that Virtual Environmentcontainer's applications are
guaranteed to be able to allocate is specified as the <code>barrier</code> of
<code>vmguarpages</code> parameter. The current amount of allocated memory space
If the current amount of allocated memory space does not exceed the
guaranteed amount (the <code>barrier</code> of <code>vmguarpages</code>),
memory allocations of Virtual Environmentcontainer's applications always succeed.
If the current amount of allocated memory space exceeds the guarantee but below
the <code>barrier</code> of <code>privvmpages</code>, allocations may or may not succeed,
made by the applications fail.
The memory allocation guarantee (<code>vmguarpages</code>) is a primary tool for
controlling the memory available to Virtual Environmentscontainers, because
it allows administrators to provide Service Level Agreements — agreements
guaranteeing certain quality of service, certain amount of resources
and general availability of the service. The unit of measurement
of vmguarpages values is memory pages (4KB on x86 and x86_64 processors).
The total memory allocation guarantees given to Virtual Environmentscontainers
are limited by the physical resources of the computer — the size of RAM
and the swap space — as discussed in [[UBC systemwide configuration]].