Proxmox Showing RAM Usage High

sujan-inspheris

New Member
Feb 20, 2023
4
0
1
Hello, I have setup a new proxmox of a latest version 7.4-3 and migrated the VM from the older proxmox in which the RAM USage was showing perfectly fine of about 40 GB but after migrating the same VM to a new one it is showing the high RAM usage. Please help me to solve the problem how that can be minimized so that i can use all the rescources.I have attached the screenshot from both terminal and console of details to show the RAM usage.

Thanks
 

Attachments

  • summary.png
    summary.png
    17.5 KB · Views: 20
  • qmlist.png
    qmlist.png
    24.8 KB · Views: 21
Please provide the full output from the PVE-host in code-tags each of:
  • arc_summary -s arc
  • free -h
 
i have noticed the same, just for single VMs. the VM 1GB use, in the Summary of the VM shows 10GB use.
 
Please provide the full output from the PVE-host in code-tags each of:
  • arc_summary -s arc
  • free -hT
The output is:
Code:
ZFS Subsystem Report                            Wed Apr 19 09:06:04 2023
Linux 5.15.104-1-pve                                          2.1.9-pve1
Machine: sd-176475 (x86_64)                                   2.1.9-pve1

ARC status:                                                      HEALTHY
        Memory throttle count:                                         0

ARC size (current):                                   100.1 %   94.5 GiB
        Target size (adaptive):                       100.0 %   94.4 GiB
        Min size (hard limit):                          6.2 %    5.9 GiB
        Max size (high water):                           16:1   94.4 GiB
        Most Frequently Used (MFU) cache size:         47.5 %   42.8 GiB
        Most Recently Used (MRU) cache size:           52.5 %   47.3 GiB
        Metadata cache size (hard limit):              75.0 %   70.8 GiB
        Metadata cache size (current):                  7.5 %    5.3 GiB
        Dnode cache size (hard limit):                 10.0 %    7.1 GiB
        Dnode cache size (current):                   < 0.1 %    1.5 MiB

ARC hash breakdown:
        Elements max:                                              14.5M
        Elements current:                             100.0 %      14.5M
        Collisions:                                                 3.8M
        Chain max:                                                     7
        Chains:                                                     2.4M

ARC misc:
        Deleted:                                                      15
        Mutex misses:                                                544
        Eviction skips:                                                9
        Eviction skips due to L2 writes:                               0
        L2 cached evictions:                                     0 Bytes
        L2 eligible evictions:                                  28.4 GiB
        L2 eligible MFU evictions:                      6.1 %    1.7 GiB
        L2 eligible MRU evictions:                     93.9 %   26.7 GiB
        L2 ineligible evictions:                                 2.8 Gi


and output of free -h:

Code:
               total        used        free      shared  buff/cache   available
Mem:           188Gi       141Gi        17Gi        54Mi        29Gi        45Gi
Swap:          8.8Gi          0B       8.8Gi
 
to limit the arc,

Code:
nano /etc/modprobe.d/zfs.conf

# Min 2048MB / Max 4096 MB Limit with 32 gigs of ram
options zfs zfs_arc_min=2147483648
options zfs zfs_arc_max=4294967296

then update-initramfs -u

and reboot
 

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!