OpenVZ Forum


Home » General » Support » Allocate more RAM to a VPS
Re: Allocate more RAM to a VPS [message #37328 is a reply to message #37304] Thu, 03 September 2009 08:32 Go to previous messageGo to previous message
dragos2 is currently offline  dragos2
Messages: 15
Registered: August 2009
Junior Member
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
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: sock_sendpage() kernel vulnerability
Next Topic: Calculating kmemsize
Goto Forum:
  


Current Time: Sun Jul 14 20:00:18 GMT 2024

Total time taken to generate the page: 0.02317 seconds