6,534
edits
Changes
<ol>
<li>Get the current values for the parameter's barrier and limit. For example, we want to increase kmemsize values from the example at . Say, from From <code>/proc/user_beancounters</code> example given [[UBC|here]] we see that <code>kmemsize </code> barrier is 2752512, and its limit is 2936012.
</li>
<li>Increase the values. Say, we want to increase <code>kmemsize </code> by 2 times. This is how it can be done using built-in bash arithmetics:
<pre>
# vzctl set 123 --kmemsize $((2752512*2)):$((2936012*2)) --save