I am having a similar issue to @asmar. The people who jumped on afterwards talk about Windows VM's but this isn't related to Windows VM's. My proxmox node is reporting 29 gigs memory usage, when the CT & VM's only allocate a total of 18 gigs and are reporting to be using 13 gigs. So this is a disparity of at least 11 gigs, if not more (depending your point of view).
See attached screenshots of the summary/totals as well as a few commands below:
See attached screenshots of the summary/totals as well as a few commands below:
Code:
root@proxmox:/var/tmp# free -m
total used free shared buff/cache available
Mem: 31975 29804 1052 60 1117 1684
Swap: 8191 347 7844
Code:
root@proxmox:/var/tmp# cat /proc/meminfo
MemTotal: 32742448 kB
MemFree: 1077204 kB
MemAvailable: 1724024 kB
Buffers: 482812 kB
Cached: 568792 kB
SwapCached: 77524 kB
Active: 10727828 kB
Inactive: 5975228 kB
Active(anon): 9979808 kB
Inactive(anon): 5754120 kB
Active(file): 748020 kB
Inactive(file): 221108 kB
Unevictable: 171620 kB
Mlocked: 171488 kB
SwapTotal: 8388604 kB
SwapFree: 8033020 kB
Dirty: 432 kB
Writeback: 0 kB
AnonPages: 15767060 kB
Mapped: 203588 kB
Shmem: 62092 kB
KReclaimable: 93000 kB
Slab: 2007316 kB
SReclaimable: 93000 kB
SUnreclaim: 1914316 kB
KernelStack: 7456 kB
PageTables: 47240 kB
NFS_Unstable: 0 kB
Bounce: 0 kB
WritebackTmp: 0 kB
CommitLimit: 24759828 kB
Committed_AS: 21602504 kB
VmallocTotal: 34359738367 kB
VmallocUsed: 328456 kB
VmallocChunk: 0 kB
Percpu: 4384 kB
HardwareCorrupted: 0 kB
AnonHugePages: 2510848 kB
ShmemHugePages: 0 kB
ShmemPmdMapped: 0 kB
FileHugePages: 0 kB
FilePmdMapped: 0 kB
HugePages_Total: 0
HugePages_Free: 0
HugePages_Rsvd: 0
HugePages_Surp: 0
Hugepagesize: 2048 kB
Hugetlb: 0 kB
DirectMap4k: 2643496 kB
DirectMap2M: 30789632 kB
DirectMap1G: 0 kB
Code:
root@proxmox:/var/tmp# vmstat -s
32742448 K total memory
30526940 K used memory
10733988 K active memory
5970972 K inactive memory
1070720 K free memory
482924 K buffer memory
661864 K swap cache
8388604 K total swap
355584 K used swap
8033020 K free swap
3190710 non-nice user cpu ticks
277 nice user cpu ticks
2131722 system cpu ticks
44981616 idle cpu ticks
888413 IO-wait cpu ticks
0 IRQ cpu ticks
75778 softirq cpu ticks
0 stolen cpu ticks
83749139 pages paged in
257274312 pages paged out
132034 pages swapped in
303521 pages swapped out
450347241 interrupts
849085830 CPU context switches
1687607506 boot time
1762136 forks