proxmox node uses more ram than underlying containers.

eth

Well-Known Member
Feb 24, 2016
68
3
48
37
Proxmox node:
Code:
root@pve:~# free -mh
             total       used       free     shared    buffers     cached
Mem:           31G        30G       791M        46M        16M       416M
-/+ buffers/cache:        30G       1.2G
Swap:         8.0G       3.1G       4.9G

Container 1:
Code:
ree -mh
             total       used       free     shared    buffers     cached
Mem:           29G        17G        11G        46M         0B        81M
-/+ buffers/cache:        17G        11G
Swap:         4.9G       1.2G       3.7G

Container 2:
Code:
free -mh
             total       used       free     shared    buffers     cached
Mem:          2.0G       130M       1.9G        46M         0B        46M
-/+ buffers/cache:        83M       1.9G
Swap:         2.0G        71M       1.9G

I tried dropping the caches on the proxmox node:
Code:
echo 3 > /proc/sys/vm/drop_caches

But ram usage was still the same.

Any ideas?
 
Don't drop the cache.... this nonsense if often written but it'll free up your ram, yes, but will tremendously slow down your whole system.

Linux uses RAM differently than Windows. Please refer to this: http://www.linuxatemyram.com/

What about your system? Do you use ZFS?
 

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!