Hello,
can someone help me to find how pve using 7GB RAM w/o running any vm and almost all services stopped.
Here is some stats:
As you see all process summ like 1GB, cache is almost not exist, "/proc/sys/vm/drop_caches" do not help, I do not use zfs, only ext4 and mdraid.
I can't understand where 6GB RAM go, what's using it.
Please help to figure it out, as for me it's not normal for newly installed server to use 7.5 GB RAM out of box.
can someone help me to find how pve using 7GB RAM w/o running any vm and almost all services stopped.
Here is some stats:
Code:
arcstat
time read ddread ddh% dmread dmh% pread ph% size c avail
20:34:16 0 0 0 0 0 0 0 5.6K 3.9G 114G
Code:
free -m
total used free shared buff/cache available
Mem: 128419 7455 121656 3 280 120963
Swap: 2047 0 2047
Code:
top
top - 20:31:11 up 6:21, 2 users, load average: 0.00, 0.00, 0.00
Tasks: 349 total, 1 running, 348 sleeping, 0 stopped, 0 zombie
%Cpu(s): 0.0 us, 0.0 sy, 0.0 ni,100.0 id, 0.0 wa, 0.0 hi, 0.0 si, 0.0 st
MiB Mem : 128419.8 total, 121661.7 free, 7450.5 used, 280.1 buff/cache
MiB Swap: 2048.0 total, 2048.0 free, 0.0 used. 120969.3 avail Mem
Code:
cat /proc/meminfo
MemTotal: 131501824 kB
MemFree: 124575920 kB
MemAvailable: 123867088 kB
Buffers: 12384 kB
Cached: 251904 kB
SwapCached: 0 kB
Active: 120988 kB
Inactive: 187036 kB
Active(anon): 46972 kB
Inactive(anon): 0 kB
Active(file): 74016 kB
Inactive(file): 187036 kB
Unevictable: 1876 kB
Mlocked: 0 kB
SwapTotal: 2097144 kB
SwapFree: 2097144 kB
Zswap: 0 kB
Zswapped: 0 kB
Dirty: 0 kB
Writeback: 0 kB
AnonPages: 45636 kB
Mapped: 54384 kB
Shmem: 3236 kB
KReclaimable: 23004 kB
Slab: 165680 kB
SReclaimable: 23004 kB
SUnreclaim: 142676 kB
KernelStack: 6128 kB
PageTables: 2716 kB
SecPageTables: 0 kB
NFS_Unstable: 0 kB
Bounce: 0 kB
WritebackTmp: 0 kB
CommitLimit: 67848056 kB
Committed_AS: 200464 kB
VmallocTotal: 34359738367 kB
VmallocUsed: 208860 kB
VmallocChunk: 0 kB
Percpu: 13728 kB
HardwareCorrupted: 0 kB
AnonHugePages: 0 kB
ShmemHugePages: 0 kB
ShmemPmdMapped: 0 kB
FileHugePages: 0 kB
FilePmdMapped: 0 kB
Unaccepted: 0 kB
HugePages_Total: 0
HugePages_Free: 0
HugePages_Rsvd: 0
HugePages_Surp: 0
Hugepagesize: 2048 kB
Hugetlb: 0 kB
DirectMap4k: 262944 kB
DirectMap2M: 5625856 kB
DirectMap1G: 128974848 kB
Code:
ps -e -o pid,vsz,comm= | sort -n -k 2
2 0 kthreadd
3 0 pool_workqueue_release
4 0 kworker/R-rcu_g
......................................
13077 0 kworker/u51:0-cqp_cmpl_wq
13457 0 kworker/u51:2-cqp_cmpl_wq
3522 2644 sftp-server
1361 2892 agetty
1367 2936 agetty
12486 4716 bash
1384 5192 proxmox-firewal
944 5308 qmeventd
3525 5432 bash
766 7516 mdadm
914 7880 rpcbind
934 7920 dbus-daemon
14559 8664 ps
1026 8828 lxc-monitord
1031 10676 chronyd
953 11340 smartd
1099 15432 sshd
3505 17672 sshd
3419 17980 sshd
12484 18116 mc
1028 18860 chronyd
3490 19272 systemd
14560 19492 sort
968 25048 systemd-logind
608 27440 systemd-udevd
1057 28700 unattended-upgr
568 41204 systemd-journal
1340 42660 master
11897 42684 pickup
1344 42728 qmgr
6188 48436 tlsmgr
1456 79184 pvefw-logger
988 101412 zed
1 103064 systemd
3491 103672 (sd-pam)
937 278156 pve-lxc-syscall
1378 430836 pmxcfs
As you see all process summ like 1GB, cache is almost not exist, "/proc/sys/vm/drop_caches" do not help, I do not use zfs, only ext4 and mdraid.
I can't understand where 6GB RAM go, what's using it.
Please help to figure it out, as for me it's not normal for newly installed server to use 7.5 GB RAM out of box.