OpenVZ Forum


Home » General » Support » Allocate memory to a VE
Re: Allocate memory to a VE [message #21424 is a reply to message #21423] Mon, 08 October 2007 20:59 Go to previous messageGo to previous message
mccharlet is currently offline  mccharlet
Messages: 15
Registered: October 2007
Location: Switzerland
Junior Member
Hi,

Sorry this not "I can't" but "i don't know"

I find this commande for allocate 128Mo
page = 128*1024*1024/4096 ---> 32768

vzctl set 102 --privvmpages 32768:32768 --oomguarpages 32768:32768 --physpages 32768:32768 --vmguarpages 32768:32768 --save

And this for the memory information on the VE
vzctl set 102 --meminfo pages:32768 --save

But on the VE, swap memory as zero
102:~# free
total used free shared buffers cached
Mem: 65536 13300 52236 0 0 0
-/+ buffers/cache: 13300 52236
Swap: 0 0 0


How to allocate swap file?


Thanks

Sorry for my english

mccharlet

http://www.ateliernetcreation.com
 
Read Message icon5.gif
Read Message
Read Message
Read Message
Read Message icon14.gif
Read Message
Previous Topic: application on host
Next Topic: Problems receiving multicast data in VE (using IGMP snooping)
Goto Forum:
  


Current Time: Sun Sep 29 05:00:13 GMT 2024

Total time taken to generate the page: 0.04259 seconds