OpenVZ Forum


Home » General » Support » increase ram memory in a VPS
Re: increase ram memory in a VPS [message #35963 is a reply to message #4540] Wed, 06 May 2009 16:48 Go to previous message
narcisgarcia is currently offline  narcisgarcia
Messages: 41
Registered: May 2009
Member
You can get the memory page size of the computer with:
getconf PAGE_SIZE


In Bash you can show the complete calculation for how many pages are 256MB with:
echo $(($((256 * 1024)) / $(($(getconf PAGE_SIZE) / 1024))))


But I've found this:
http://www.digipedia.pl/man/vzctl.8.html
And it seems to be able to modify the VPS memory with (I'm not sure):
vzctl set [vpsid] --vmguarpages 256M:257M --save


Narcis Garcia
 
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: Sat Oct 12 10:00:35 GMT 2024

Total time taken to generate the page: 0.07418 seconds