OpenVZ Forum


Home » General » Support » increase ram memory in a VPS
Re: increase ram memory in a VPS [message #5624 is a reply to message #4540] Thu, 24 August 2006 16:33 Go to previous messageGo to previous message
gral is currently offline  gral
Messages: 34
Registered: May 2006
Member

To limit the memory i used a strange method...

In in my vps server (Hardware Node) i run the cat /proc/user_beancounters ... and dividi the number..

Example, i want to create a VPS of 256 MB of Ram in a hardware of 1 GB of ram 

root@hardwarenode#cat /proc/user_beancounters

.......
privvmpages       77431      77666     750000     825000
.......

So i divide the Limit and the barrier by 4...

(All the numbers are illustrated)



Is too bad do it by this way ??

Thanks!!!


Argentina
--Vz--
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: updated from centos 5.2 to 5.3, yum error now on VEs
Next Topic: ovzkernel at Itanium 2
Goto Forum:
  


Current Time: Mon Sep 09 21:49:05 GMT 2024

Total time taken to generate the page: 0.04579 seconds