OpenVZ Forum


Home » General » Support » failcnt in privvmpages
Re: failcnt in privvmpages [message #48734 is a reply to message #48732] Mon, 12 November 2012 21:45 Go to previous message
seanfulton is currently offline  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
 
Read Message
Read Message
Read Message
Read Message
Previous Topic: problem sharing folder using bind mounts
Next Topic: OpenVZ via Veth with Proxmox
Goto Forum:
  


Current Time: Wed Oct 01 00:16:14 GMT 2025

Total time taken to generate the page: 0.07731 seconds