It seems that memory is shared. Now I understand that a container
is different in this way compared with traditional virtualization.
But it seems that some companies wants to implement this shared
memory model in order to increase the vm density.
Back to my question.
It is an Ubuntu Server 8.04 LTS 64 bit with 4 GB of RAM
root@ubu01:~# free -m
total used free shared buffers cached
Mem: 3954 3813 140 0 328 2976
-/+ buffers/cache: 508 3445
Swap: 7632 46 7585
root@ubu01:~# vzlist
VEID NPROC STATUS IP_ADDR HOSTNAME
777 27 running 192.168.1.1 vps1
778 24 running 192.168.2.1 vps2
root@ubu01:~# vzcpucheck
Current CPU utilization: 3000
Power of the node: 281530
778 is a default centos5 32 bit template using 256 MB of ram
But 777 is the one that I am interested in with, it is
an Ubuntu 8.04 64 bit default template running a webserver.
I would like to double its memory from 256MB to 512MB
considering all the aspects of the default template.
Can you please give me an example of how to do this?
Thank you