Open main menu
OpenVZ Virtuozzo Containers Wiki
β
Search
Edit
UBC interdependencies table
User Beancounters
Definition
/proc/user_beancounters
/proc/bc/
General information
Units of measurement
VSwap
Parameters description
Primary parameters
numproc
,
numtcpsock
,
numothersock
,
vmguarpages
Secondary parameters
kmemsize
,
tcpsndbuf
,
tcprcvbuf
,
othersockbuf
,
dgramrcvbuf
,
oomguarpages
,
privvmpages
Auxiliary parameters
lockedpages
,
shmpages
,
physpages
,
numfile
,
numflock
,
numpty
,
numsiginfo
,
dcachesize
,
numiptent
,
swappages
Internals
User pages accounting
RSS fractions accounting
On-demand accounting
UBC consistency
Consistency formulae
System-wide configuration
vzubc(8)
Configuration examples
Basic
Derived
Intermediate configurations
Tables
List of parameters
Parameter properties
Consistency
Config examples
Interdependency
Importance
k
m
e
m
s
i
z
e
b
a
r
≥
40
K
B
⋅
a
v
n
u
m
p
r
o
c
+
d
c
a
c
h
e
s
i
z
e
l
i
m
{\displaystyle kmemsize_{bar}\geq 40KB\cdot avnumproc+dcachesize_{lim}}
Mandatory
p
r
i
v
v
m
p
a
g
e
s
b
a
r
≥
v
m
g
u
a
r
p
a
g
e
s
b
a
r
{\displaystyle privvmpages_{bar}\geq vmguarpages_{bar}}
Recommended
t
c
p
s
n
d
b
u
f
l
i
m
−
t
c
p
s
n
d
b
u
f
b
a
r
≥
2.5
K
B
⋅
n
u
m
t
c
p
s
o
c
k
{\displaystyle tcpsndbuf_{lim}-tcpsndbuf_{bar}\geq 2.5KB\cdot numtcpsock}
Mandatory
o
t
h
e
r
s
o
c
k
b
u
f
l
i
m
−
o
t
h
e
r
s
o
c
k
b
u
f
b
a
r
≥
2.5
K
B
⋅
n
u
m
o
t
h
e
r
s
o
c
k
{\displaystyle othersockbuf_{lim}-othersockbuf_{bar}\geq 2.5KB\cdot numothersock}
Mandatory
t
c
p
r
c
v
b
u
f
l
i
m
−
t
c
p
r
c
v
b
u
f
b
a
r
≥
2.5
K
B
⋅
n
u
m
t
c
p
s
o
c
k
{\displaystyle tcprcvbuf_{lim}-tcprcvbuf_{bar}\geq 2.5KB\cdot numtcpsock}
Recommended
t
c
p
r
c
v
b
u
f
b
a
r
≥
64
K
B
{\displaystyle tcprcvbuf_{bar}\geq 64KB}
Recommended
t
c
p
s
n
d
b
u
f
b
a
r
≥
64
K
B
{\displaystyle tcpsndbuf_{bar}\geq 64KB}
Recommended
d
g
r
a
m
r
c
v
b
u
f
b
a
r
≥
129
K
B
{\displaystyle dgramrcvbuf_{bar}\geq 129KB}
Optional
o
t
h
e
r
s
o
c
k
b
u
f
b
a
r
≥
129
K
B
{\displaystyle othersockbuf_{bar}\geq 129KB}
Optional
n
u
m
f
i
l
e
≥
a
v
n
u
m
p
r
o
c
⋅
32
{\displaystyle numfile\geq avnumproc\cdot 32}
Recommended
d
c
a
c
h
e
s
i
z
e
b
a
r
≥
n
u
m
f
i
l
e
⋅
384
(
b
y
t
e
s
)
{\displaystyle dcachesize_{bar}\geq numfile\cdot 384\ {\rm {(bytes)}}}
Recommended
b
a
r
r
i
e
r
≤
l
i
m
i
t
{\displaystyle barrier\leq limit}
Mandatory
See also
Edit
UBC consistency check
user:grin/openvz checker.pl