Re: Allocate memory to a VE [message #21424 is a reply to message #21423] |
Mon, 08 October 2007 20:59 |
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
|
|
|