Examples Openvz user_beancounters

0 like 0 dislike
5 views
Gonna cut them server containers. Intereste examples of tariff plans on OpenVZ, namely cat /proc/user_beancounters
by | 5 views

2 Answers

0 like 0 dislike
The examples do not give advice ladies.
The main parameters of change in the direction of increasing tariff plan:
kmemsize — 20M
privvmpages — the actual mulberries our memory, I do rate soft:hard 150:200% of the declared site.
numproc — it is desirable to limit, yeah, but not much. to thousands.
\r
Next, have in mind that overselling will not
vmguarpages = privvmpages
oomguarpages = privvmpages
tcpsndbuf, tcprcvbuf — more memory, more buffers
numtcpsock about 500 will be enough
othersockbuf — here in this buffer sitting Unix sockets (mysql)!
numothersock — the same
\r
In General, it is necessary to put and monitor /proc/user_beancounters on the HN to improve. And look for their limits.
by
0 like 0 dislike
Was skriptik vzsplit which gave a rough configuration based on the number of virtualk and available memory.
by

Related questions

0 like 0 dislike
1 answer
asked Apr 1, 2019 by ReklatsMasters
0 like 0 dislike
7 answers
0 like 0 dislike
1 answer
asked Mar 24, 2019 by KeepYourMind
0 like 0 dislike
1 answer
110,608 questions
257,186 answers
0 comments
1,107 users