Possibly leaking memory (RAM) or is it a bug? What causes it?

New User

New Member
Oct 13, 2017
11
2
3
39
Here is what I got. Host server with 96GB ram. Installed Proxmox 4 on it and created 1 VM (CentOS 7) with allotted 65GB ram and 1 LXC (MySQL tempalte) with 1GB allotted ram. From control panel it shows that CentOS 7 vm is using 3.5GB ram and LXC is using 77MB or ram. When I logged in to control panel yesterday, it showed that Proxmox node was using 25GB of ram out of 96GB?!! I checked CentOS vm - it was still using 3.5GB and LXC was still using 77MB. Ran update. Rebooted host server. After reboot on the node it showed 5GB or ram usage. Logged in today and now it shows 10GB of ram usage (CentOS and LXC are still using previous numbers). Not sure what causes it. I ran some commands on the host to display the ram usage. Can someone help me to spot the problem? Is it a bug or maybe configuration problem? Any input is greatly appreciated.

root@s118294:~# pveversion
pve-manager/5.1-36/131401db (running kernel: 4.10.17-4-pve)

root@s118294:~# free -m
total used free shared buff/cache available
Mem: 96651 10871 84865 54 914 85015
Swap: 20279 0 20279

root@s118294:~# cat /proc/meminfo
MemTotal: 98971528 kB
MemFree: 86902932 kB
MemAvailable: 87057736 kB
Buffers: 263876 kB
Cached: 584100 kB
SwapCached: 0 kB
Active: 10677680 kB
Inactive: 280556 kB
Active(anon): 10114792 kB
Inactive(anon): 55104 kB
Active(file): 562888 kB
Inactive(file): 225452 kB
Unevictable: 5020 kB
Mlocked: 5020 kB
SwapTotal: 20766716 kB
SwapFree: 20766716 kB
Dirty: 252 kB
Writeback: 0 kB
AnonPages: 10114732 kB
Mapped: 123428 kB
Shmem: 55984 kB
Slab: 220556 kB
SReclaimable: 89288 kB
SUnreclaim: 131268 kB
KernelStack: 8816 kB
PageTables: 34364 kB
NFS_Unstable: 0 kB
Bounce: 0 kB
WritebackTmp: 0 kB
CommitLimit: 70252480 kB
Committed_AS: 71502380 kB
VmallocTotal: 34359738367 kB
VmallocUsed: 0 kB
VmallocChunk: 0 kB
HardwareCorrupted: 0 kB
AnonHugePages: 9351168 kB
ShmemHugePages: 0 kB
ShmemPmdMapped: 0 kB
CmaTotal: 0 kB
CmaFree: 0 kB
HugePages_Total: 0
HugePages_Free: 0
HugePages_Rsvd: 0
HugePages_Surp: 0
Hugepagesize: 2048 kB
DirectMap4k: 156144 kB
DirectMap2M: 7153664 kB
DirectMap1G: 95420416 kB

root@s118294:~# vmstat -s
98971528 K total memory
11128724 K used memory
10676872 K active memory
280560 K inactive memory
86905344 K free memory
263988 K buffer memory
673472 K swap cache
20766716 K total swap
0 K used swap
20766716 K free swap
219447 non-nice user cpu ticks
0 nice user cpu ticks
134080 system cpu ticks
267659257 idle cpu ticks
5362 IO-wait cpu ticks
0 IRQ cpu ticks
1413 softirq cpu ticks
0 stolen cpu ticks
2343388 pages paged in
3473353 pages paged out
0 pages swapped in
0 pages swapped out
31978788 interrupts
64546895 CPU context switches
1509382934 boot time
174520 forks

top
PID USER PR NI VIRT RES SHR S %CPU %MEM TIME+ COMMAND
6006 root 20 0 65.195g 8.955g 11988 S 5.3 9.5 27:26.10 kvm
1473 root 20 0 315708 71536 9648 S 1.3 0.1 5:09.74 pvestatd
1474 root 20 0 310860 78124 13840 S 1.0 0.1 3:56.00 pve-firewa+
25015 root 20 0 89896 152 0 S 0.3 0.0 0:00.87 pvefw-logg+
1 root 20 0 57424 7080 5208 S 0.0 0.0 0:04.96 systemd
2 root 20 0 0 0 0 S 0.0 0.0 0:00.05 kthreadd
4 root 0 -20 0 0 0 S 0.0 0.0 0:00.00 kworker/0:+
7 root 20 0 0 0 0 S 0.0 0.0 0:00.05 ksoftirqd/0
8 root 20 0 0 0 0 S 0.0 0.0 0:13.69 rcu_sched
9 root 20 0 0 0 0 S 0.0 0.0 0:00.00 rcu_bh
10 root rt 0 0 0 0 S 0.0 0.0 0:00.05 migration/0
11 root 0 -20 0 0 0 S 0.0 0.0 0:00.00 lru-add-dr+
12 root rt 0 0 0 0 S 0.0 0.0 0:00.19 watchdog/0
13 root 20 0 0 0 0 S 0.0 0.0 0:00.00 cpuhp/0
14 root 20 0 0 0 0 S 0.0 0.0 0:00.00 cpuhp/1
 
  • Like
Reactions: chrone
zpool status

Nope. Not using zfs. zpool status command not found.

Any idea what is happening? I just checked the ram on the host and it increased from 10GB to 14GB within few hours. I ran free -m on the host and guests... My math is not adding up why host is using 14GB.

********* HOST ***************************
Code:
root@s118294:~# free -m
              total           used        free      shared  buff/cache   available
Mem:          96651       14971       79508          62        2171       80882
Swap:         20279           0       20279
root@s118294:~# zpool status
-bash: zpool: command not found

********** CENTOS VM *****************
Code:
[root@srv1 ~]# free -m
               total        used        free      shared  buff/cache   available
Mem:          64265        1533       60101          24        2631       62105
Swap:         10239           0       10239

*********** MYSQL LXC ******************
Code:
root@mysql-replicant ~# free -m
              total       used       free     shared    buffers     cached               
Mem:          1024        180        843         62          0         99               
-/+ buffers/cache:         80        943                                                 
Swap:          512          0           512

Anything else I can do to pin-point the issue?
 
Last edited:
A problem with the Dynamic Memory Management? The VM requesting more memory from the host but it not being properly released?
 
ps aux --sort -rss

Code:
root@s118294:~# ps aux --sort -rss
USER       PID %CPU %MEM    VSZ   RSS TTY      STAT START   TIME COMMAND
root      6006  2.3 15.8 68361484 15647548 ?   Sl   Oct30  69:22 /usr/bin/kvm -i
root      1527  0.0  0.1 557272 121792 ?       S    Oct30   0:04 pvedaemon worke
root      1528  0.0  0.1 545492 103744 ?       S    Oct30   0:03 pvedaemon worke
root      1526  0.0  0.1 545448 103672 ?       S    Oct30   0:03 pvedaemon worke
www-data  3704  0.0  0.1 538840 102428 ?       S    06:25   0:00 pveproxy worker
www-data  3702  0.0  0.1 538840 102424 ?       S    06:25   0:00 pveproxy worker
www-data  3703  0.0  0.1 538840 102424 ?       S    06:25   0:00 pveproxy worker
www-data  3728  0.0  0.0 534736 97640 ?        S    06:25   0:00 spiceproxy work
www-data  3701  0.0  0.0 536372 95272 ?        Ss   06:25   0:00 pveproxy
root      1525  0.0  0.0 528680 93844 ?        Ss   Oct30   0:02 pvedaemon
www-data  3727  0.0  0.0 532268 93292 ?        Ss   06:25   0:00 spiceproxy
root      1531  0.0  0.0 325400 80968 ?        Ss   Oct30   0:14 pve-ha-crm
root      1542  0.0  0.0 325092 80636 ?        Ss   Oct30   0:25 pve-ha-lrm
root      1474  0.2  0.0 311916 80276 ?        Ss   Oct30   8:29 pve-firewall
root      1473  0.3  0.0 315708 71540 ?        Ss   Oct30  11:05 pvestatd
Debian-+ 14709  0.0  0.0 698820 48960 ?        Sl   Oct30   0:44 /usr/sbin/mysql
root      1312  0.0  0.0 661404 45372 ?        Ssl  Oct30   1:37 /usr/bin/pmxcfs
root     15059  0.0  0.0  68428 21100 ?        Ss   Oct30   0:02 /usr/bin/perl /
www-data 14198  0.0  0.0 241696 21024 ?        Ss   Oct30   0:00 /usr/bin/php-cg
root       584  0.0  0.0  54284 16796 ?        Ss   Oct30   0:03 /lib/systemd/sy
unbound   1282  0.0  0.0  56120 11784 ?        Ss   Oct30   0:00 /usr/sbin/unbou
root         1  0.0  0.0  57424  7080 ?        Ss   Oct30   0:09 /sbin/init
root     10125  0.0  0.0  95172  6884 ?        Ss   11:49   0:00 sshd: root@pts/
postfix  31878  0.0  0.0  83228  6760 ?        S    10:20   0:00 pickup -l -t un
postfix   1460  0.0  0.0  83396  6712 ?        S    Oct30   0:00 qmgr -l -t unix
root      1195  0.0  0.0  69944  6308 ?        Ss   Oct30   0:00 /usr/sbin/sshd
root     10145  0.0  0.0  56568  5628 ?        Ss   11:49   0:00 /lib/systemd/sy
root      1224  0.0  0.0  25484  4912 ?        S<Ls Oct30   0:00 /sbin/iscsid
root       955  0.0  0.0  46496  4732 ?        Ss   Oct30   0:01 /lib/systemd/sy
root     20776  0.0  0.0  21528  4628 pts/0    S+   Oct31   0:00 -bash
root     10170  0.0  0.0  21768  4548 pts/1    Ss   11:49   0:00 -bash
www-data 14254  0.0  0.0 241696  4516 ?        S    Oct30   0:00 /usr/bin/php-cg
root      1458  0.0  0.0  81164  4492 ?        Ss   Oct30   0:00 /usr/lib/postfi
root       957  0.0  0.0  25244  4352 ?        Ss   Oct30   0:00 /usr/sbin/smart
root      1203  0.0  0.0  42984  4352 ?        Ss   Oct30   0:00 /usr/sbin/rpc.m
root     20543  0.0  0.0  41760  4208 pts/3    Ss+  Oct31   0:00 lxc-console -n
systemd+   867  0.0  0.0 127284  4184 ?        Ssl  Oct30   0:00 /lib/systemd/sy
root     12683  0.0  0.0  50208  4076 ?        Ss   Oct30   0:10 [lxc monitor] /
root       603  0.0  0.0  46344  4040 ?        Ss   Oct30   0:00 /lib/systemd/sy
root     14985  0.0  0.0  36164  3964 ?        Ss   Oct30   0:00 /usr/lib/postfi
_apt      3305  0.0  0.0  38228  3888 ?        S    10:52   0:00 pickup -l -t un
_apt     14994  0.0  0.0  38276  3800 ?        S    Oct30   0:00 qmgr -l -t unix
message+   961  0.0  0.0  45132  3744 ?        Ss   Oct30   0:02 /usr/bin/dbus-d
root      1296  0.0  0.0 802792  3604 ?        Ssl  Oct30   0:36 /usr/bin/rrdcac
root     10199  0.0  0.0  37552  3556 pts/1    R+   11:49   0:00 ps aux --sort -
root      1193  0.0  0.0  41636  3532 ?        Ss   Oct30   0:00 /usr/lib/x86_64
root       869  0.0  0.0  49872  3516 ?        Ss   Oct30   0:00 /sbin/rpcbind -
root       958  0.0  0.0  36064  3416 ?        Ss   Oct30   0:19 /usr/sbin/irqba
root       967  0.0  0.0 250116  3148 ?        Ssl  Oct30   0:00 /usr/sbin/rsysl
root     15072  0.0  0.0  63312  2952 pts/0    Ss   Oct30   0:00 /bin/login --
root     14080  0.0  0.0  55180  2832 ?        Ss   Oct30   0:00 /usr/sbin/sshd
root     13905  0.0  0.0 258668  2696 ?        Ssl  Oct30   0:00 /usr/sbin/rsysl
root      1472  0.0  0.0  28392  2672 ?        Ss   Oct30   0:00 /usr/sbin/cron
root       954  0.0  0.0 382756  2552 ?        Ssl  Oct30   0:11 /usr/bin/lxcfs
root     14049  0.0  0.0  25900  2224 ?        Ss   Oct30   0:00 /usr/sbin/cron
root     15041  0.0  0.0  32756  2108 ?        S    Oct30   0:02 /usr/bin/monit
daemon     966  0.0  0.0  27964  2068 ?        Ss   Oct30   0:00 /usr/sbin/atd -
www-data 14194  0.0  0.0  59888  2064 ?        S    Oct30   0:03 /usr/sbin/light
root     10153  0.0  0.0  82948  2016 ?        S    11:49   0:00 (sd-pam)
root     15073  0.0  0.0  12660  1768 pts/1    Ss+  Oct30   0:00 /sbin/getty --n
root     12766  0.0  0.0  15488  1728 ?        Ss   Oct30   0:01 init [2]
root     14118  0.0  0.0   4332  1644 ?        S    Oct30   0:00 /bin/sh /usr/bi
root      1270  0.0  0.0  13292  1628 tty1     Ss+  Oct30   0:00 /sbin/agetty --
root     14000  0.0  0.0   4252  1584 ?        Ss   Oct30   0:00 /usr/sbin/acpid
root     20542  0.0  0.0  14684  1500 ?        Ss   Oct31   0:00 /usr/bin/dtach
root     13943  0.0  0.0   4236  1424 ?        Ss   Oct30   0:00 /lib/startpar/s
root       965  0.0  0.0   4216  1188 ?        Ss   Oct30   0:00 /usr/sbin/acpid
statd    14053  0.0  0.0  41484   692 ?        Ss   Oct30   0:00 /usr/bin/stunne
root       956  0.0  0.0   4048   684 ?        Ss   Oct30   0:04 /usr/sbin/watch
postfix  13945  0.0  0.0  32120   444 ?        S    Oct30   0:00 /usr/bin/shelli
postfix  13942  0.0  0.0  32120   440 ?        Ss   Oct30   0:00 /usr/bin/shelli
root      1223  0.0  0.0  24980   296 ?        Ss   Oct30   0:03 /sbin/iscsid
root     13880  0.0  0.0  24216   216 ?        Ss   Oct30   0:00 /usr/sbin/uuidd
root       859  0.0  0.0  23348   208 ?        Ss   Oct30   0:00 /usr/sbin/rpc.i
root       601  0.0  0.0  20828   180 ?        Ss   Oct30   0:00 /usr/sbin/blkma
root      3740  0.0  0.0  89896   156 ?        Ssl  06:25   0:01 /usr/sbin/pvefw
root         2  0.0  0.0      0     0 ?        S    Oct30   0:00 [kthreadd]

Is it something to do with KVM?

I have stopped CENTOS 7 VM and RAM usage went from 17GB to 1.47GB. Here is the same request but with only MYSQL-LXC running.
Code:
root@s118294:~# ps aux --sort -rss
USER       PID %CPU %MEM    VSZ   RSS TTY      STAT START   TIME COMMAND
root      1527  0.0  0.1 563592 122020 ?       S    Oct30   0:04 pvedaemon worker
www-data  3704  0.0  0.1 547004 105664 ?       S    06:25   0:00 pveproxy worker
www-data  3703  0.0  0.1 546944 105576 ?       S    06:25   0:00 pveproxy worker
www-data  3702  0.0  0.1 546620 105144 ?       S    06:25   0:00 pveproxy worker
root      1528  0.0  0.1 545504 103756 ?       S    Oct30   0:03 pvedaemon worker
root      1526  0.0  0.1 545468 103692 ?       S    Oct30   0:03 pvedaemon worker
www-data  3728  0.0  0.0 534736 97640 ?        S    06:25   0:00 spiceproxy worker
www-data  3701  0.0  0.0 536372 95272 ?        Ss   06:25   0:00 pveproxy
root      1525  0.0  0.0 528680 93844 ?        Ss   Oct30   0:02 pvedaemon
www-data  3727  0.0  0.0 532268 93292 ?        Ss   06:25   0:00 spiceproxy
root      1531  0.0  0.0 325400 80968 ?        Ss   Oct30   0:14 pve-ha-crm
root      1542  0.0  0.0 325092 80636 ?        Ss   Oct30   0:25 pve-ha-lrm
root      1474  0.2  0.0 311916 80304 ?        Ss   Oct30   8:31 pve-firewall
root      1473  0.3  0.0 315708 71540 ?        Ss   Oct30  11:07 pvestatd
root      1312  0.0  0.0 680016 54772 ?        Ssl  Oct30   1:38 /usr/bin/pmxcfs
Debian-+ 14709  0.0  0.0 698820 48960 ?        Sl   Oct30   0:44 /usr/sbin/mysqld --basedir=/usr --datadir=/var/lib/m
root     15059  0.0  0.0  68428 21100 ?        Ss   Oct30   0:02 /usr/bin/perl /usr/share/webmin/miniserv.pl /etc/web
www-data 14198  0.0  0.0 241696 21024 ?        Ss   Oct30   0:00 /usr/bin/php-cgi
root       584  0.0  0.0  54284 16796 ?        Ss   Oct30   0:03 /lib/systemd/systemd-journald
unbound   1282  0.0  0.0  56120 11784 ?        Ss   Oct30   0:00 /usr/sbin/unbound -d
root         1  0.0  0.0  57424  7080 ?        Ss   Oct30   0:09 /sbin/init
root     10125  0.0  0.0  95172  6884 ?        Ss   11:49   0:00 sshd: root@pts/1
postfix  31878  0.0  0.0  83228  6760 ?        S    10:20   0:00 pickup -l -t unix -u -c
postfix   1460  0.0  0.0  83396  6712 ?        S    Oct30   0:00 qmgr -l -t unix -u
root      1195  0.0  0.0  69944  6308 ?        Ss   Oct30   0:00 /usr/sbin/sshd -D
root     10145  0.0  0.0  56568  5628 ?        Ss   11:49   0:00 /lib/systemd/systemd --user
root      1224  0.0  0.0  25484  4912 ?        S<Ls Oct30   0:00 /sbin/iscsid
root       955  0.0  0.0  46496  4732 ?        Ss   Oct30   0:01 /lib/systemd/systemd-logind
root     20776  0.0  0.0  21528  4628 pts/0    S+   Oct31   0:00 -bash
root     10170  0.0  0.0  21768  4580 pts/1    Ss   11:49   0:00 -bash
www-data 14254  0.0  0.0 241696  4516 ?        S    Oct30   0:00 /usr/bin/php-cgi
root      1458  0.0  0.0  81164  4492 ?        Ss   Oct30   0:00 /usr/lib/postfix/sbin/master -w
root       957  0.0  0.0  25244  4352 ?        Ss   Oct30   0:00 /usr/sbin/smartd -n
root      1203  0.0  0.0  42984  4352 ?        Ss   Oct30   0:00 /usr/sbin/rpc.mountd --manage-gids -p 4002
root     20543  0.0  0.0  41760  4208 pts/3    Ss+  Oct31   0:00 lxc-console -n 101
systemd+   867  0.0  0.0 127284  4184 ?        Ssl  Oct30   0:00 /lib/systemd/systemd-timesyncd
root     12683  0.0  0.0  50208  4076 ?        Ss   Oct30   0:10 [lxc monitor] /var/lib/lxc 101
root       603  0.0  0.0  46344  4040 ?        Ss   Oct30   0:00 /lib/systemd/systemd-udevd
root     14985  0.0  0.0  36164  3964 ?        Ss   Oct30   0:00 /usr/lib/postfix/master
_apt      3305  0.0  0.0  38228  3888 ?        S    10:52   0:00 pickup -l -t unix -u -c
_apt     14994  0.0  0.0  38276  3800 ?        S    Oct30   0:00 qmgr -l -t unix -u
message+   961  0.0  0.0  45132  3744 ?        Ss   Oct30   0:02 /usr/bin/dbus-daemon --system --address=systemd: --n
root      1296  0.0  0.0 802792  3604 ?        Ssl  Oct30   0:36 /usr/bin/rrdcached -B -b /var/lib/rrdcached/db/ -j /
root     11151  0.0  0.0  37552  3548 pts/1    R+   11:57   0:00 ps aux --sort -rss
root      1193  0.0  0.0  41636  3532 ?        Ss   Oct30   0:00 /usr/lib/x86_64-linux-gnu/lxc/lxc-monitord --daemon
root       869  0.0  0.0  49872  3516 ?        Ss   Oct30   0:00 /sbin/rpcbind -f -w
root       958  0.0  0.0  36064  3416 ?        Ss   Oct30   0:19 /usr/sbin/irqbalance --foreground
root       967  0.0  0.0 250116  3148 ?        Ssl  Oct30   0:00 /usr/sbin/rsyslogd -n
root     15072  0.0  0.0  63312  2952 pts/0    Ss   Oct30   0:00 /bin/login --
root     14080  0.0  0.0  55180  2832 ?        Ss   Oct30   0:00 /usr/sbin/sshd
root     13905  0.0  0.0 258668  2696 ?        Ssl  Oct30   0:00 /usr/sbin/rsyslogd
root      1472  0.0  0.0  28392  2672 ?        Ss   Oct30   0:00 /usr/sbin/cron -f
root       954  0.0  0.0 382756  2552 ?        Ssl  Oct30   0:11 /usr/bin/lxcfs /var/lib/lxcfs/
root     14049  0.0  0.0  25900  2224 ?        Ss   Oct30   0:00 /usr/sbin/cron
root      3740  0.0  0.0  89896  2172 ?        Ssl  06:25   0:01 /usr/sbin/pvefw-logger
root     15041  0.0  0.0  32756  2108 ?        S    Oct30   0:02 /usr/bin/monit -c /etc/monit/monitrc
daemon     966  0.0  0.0  27964  2068 ?        Ss   Oct30   0:00 /usr/sbin/atd -f
www-data 14194  0.0  0.0  59888  2064 ?        S    Oct30   0:03 /usr/sbin/lighttpd -f /etc/lighttpd/lighttpd.conf
root     10153  0.0  0.0  82948  2016 ?        S    11:49   0:00 (sd-pam)
root     15073  0.0  0.0  12660  1768 pts/1    Ss+  Oct30   0:00 /sbin/getty --noclear 38400 tty2
root     12766  0.0  0.0  15488  1728 ?        Ss   Oct30   0:01 init [2]
root     14118  0.0  0.0   4332  1644 ?        S    Oct30   0:00 /bin/sh /usr/bin/mysqld_safe
root      1270  0.0  0.0  13292  1628 tty1     Ss+  Oct30   0:00 /sbin/agetty --noclear tty1 linux
root     14000  0.0  0.0   4252  1584 ?        Ss   Oct30   0:00 /usr/sbin/acpid
root     20542  0.0  0.0  14684  1500 ?        Ss   Oct31   0:00 /usr/bin/dtach -A /var/run/dtach/vzctlconsole101 -r
root     13943  0.0  0.0   4236  1424 ?        Ss   Oct30   0:00 /lib/startpar/startpar -f -- shellinabox
root       965  0.0  0.0   4216  1188 ?        Ss   Oct30   0:00 /usr/sbin/acpid
statd    14053  0.0  0.0  41484   692 ?        Ss   Oct30   0:00 /usr/bin/stunnel4 /etc/stunnel/stunnel.conf
root       956  0.0  0.0   4048   684 ?        Ss   Oct30   0:04 /usr/sbin/watchdog-mux
postfix  13945  0.0  0.0  32120   444 ?        S    Oct30   0:00 /usr/bin/shellinaboxd -q --background=/var/run/shell
postfix  13942  0.0  0.0  32120   440 ?        Ss   Oct30   0:00 /usr/bin/shellinaboxd -q --background=/var/run/shell
root      1223  0.0  0.0  24980   296 ?        Ss   Oct30   0:03 /sbin/iscsid
root     13880  0.0  0.0  24216   216 ?        Ss   Oct30   0:00 /usr/sbin/uuidd
root       859  0.0  0.0  23348   208 ?        Ss   Oct30   0:00 /usr/sbin/rpc.idmapd
root       601  0.0  0.0  20828   180 ?        Ss   Oct30   0:00 /usr/sbin/blkmapd
 
Last edited:
I have no idea.
You could try stopping the VM and see what happens. Then setting the VM to a fixed memory size and see what happens.
If it only happens with the dynamic memory setting you've at least narrowed it down.

As to the actual problem someone with more indepth knowledge will need to answer that.
 
I have no idea.
You could try stopping the VM and see what happens. Then setting the VM to a fixed memory size and see what happens.
If it only happens with the dynamic memory setting you've at least narrowed it down.

As to the actual problem someone with more indepth knowledge will need to answer that.

That's exactly what I'm doing right now. Trying to switch memory size and set it to fixed size and wait to see what will happen. I know linux likes to cache into ram. It is just strange that when I got to the point on the host using 25GB of ram but vm is using only 3.5GB of ram... Maybe I just don't understand something? Or missing something?
 
  • Like
Reactions: chrone
Bumping this....
I have a centos vm, with fixed 32GB.

Proxmox is showing:
Memory usage:
89.73% (28.04 GiB of 31.25 GiB)

but htop:

8.44G/30.5G

free
total used free shared buff/cache available
Mem: 32003948 8165308 7630540 207268 16208100 22739436
Swap: 16121852 0 16121852

I did not install the Guest Agent properly, not sure if it'll resolve the issue?

restarting the VM is not an option at the moment but will make a plan in the next few weeks.
 

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!