Re: failcnt in privvmpages [message #48734 is a reply to message #48732] |
Mon, 12 November 2012 21:45  |
seanfulton
Messages: 105 Registered: May 2007
|
Senior Member |
|
|
If you can, upgrade to the 2.6.32 kernel series (RH6). It makes memory management very simple, just
vzctl set VEID --physpages 0:xG --save
vzctl set VEID --swappages 0:xG --save
If you can't do that, try running vzsplit. It will divide your machine into even chunks and you can tweak from there.
Just increasing privvmpages:
vzctl set VEID --privvmpages ##:## --save
is a quick fix but that setting is one of three or five that control memory and it is difficult to tweak them if you don't know what you are doing. What will happen is you will likely get things mis-aligned and then when the system gets under load you will have problems. The easiest thing to do is run RHEL6/CENTOS6/SL6--the new kernels are much, much easier to manage.
sean
|
|
|