OpenVZ Memory

  • Thread starter Thread starter mefiX
  • Start date Start date
M

mefiX

Guest
Hi folks,

I'm a bit confused about the allocation of memory to OpenVZ-Guests.
My Host (the machine actually running proxmox ve) has 2GB of ram.
I assigned 1024MB of ram to one of my OpenVZ-guests via the web-interface.
But within the OpenVZ-Guest /proc/meminfo actually shows:
Code:
MemTotal:      2053328 kB          
MemFree:       1096164 kB
free -m also confirms this:
Code:
             total       used       free     shared    buffers     cached
Mem:          2005        930       1074          0          0          0
-/+ buffers/cache:        930       1074
Swap:            0          0          0
So, what happens, if 1024MB are exceeded? Will the guest start to swap, or will VE be tolerant and spend more ram?

greets,
mefiX
 
Hi folks,

I'm a bit confused about the allocation of memory to OpenVZ-Guests.
My Host (the machine actually running proxmox ve) has 2GB of ram.
I assigned 1024MB of ram to one of my OpenVZ-guests via the web-interface.

Looks you assigned 1GB RAM and 1GB SWAP? - so you can use 2GB.
 

About

The Proxmox community has been around for many years and offers help and support for Proxmox VE, Proxmox Backup Server, and Proxmox Mail Gateway.
We think our community is one of the best thanks to people like you!

Get your subscription!

The Proxmox team works very hard to make sure you are running the best software and getting stable updates and security enhancements, as well as quick enterprise support. Tens of thousands of happy customers have a Proxmox subscription. Get yours easily in our online shop.

Buy now!