Proxmox Out of Memory for Host: I have 132 GIGS of RAM (No Vms running!)

lawjigga

New Member
Nov 14, 2022
3
0
1
TLDR: Trying to Ubuntu 22.04 VM with 64 Gig Memory on ProxMox. Get Out of Memory Error. Won't even INSTALL.

Dear Team,

I have combed through all of the posts and I still can't seem to find out why my 128G Machine isn't able to allocate more than 32 Gigs of Ram for my Linux Server Host VM.

To help debug issue here are the stats of my current PROXMOX bare-metal machine:

Code:
                        /proc data source
root@pve:~# free
               total        used        free      shared  buff/cache   available
Mem:       131869336     3347632   128256048       58144      265656   127735980
Swap:              0           0           0
root@pve:~#


Here is the smem utility

Code:
root@pve:~# smem -tw
Area                           Used      Cache   Noncache
firmware/hardware                 0          0          0
kernel image                      0          0          0
kernel dynamic memory       2408820     166164    2242656
userspace memory            1201204      99240    1101964
free memory               128259312  128259312          0
----------------------------------------------------------
                          131869336  128524716    3344620
root@pve:~#


Code:
root@pve:~# arc_summary -s arc

------------------------------------------------------------------------
ZFS Subsystem Report                            Mon May 15 17:50:30 2023
Linux 5.15.74-1-pve                                           2.1.6-pve1
Machine: pve (x86_64)                                         2.1.6-pve1

ARC status:                                                      HEALTHY
        Memory throttle count:                                         0

ARC size (current):                                     0.6 %  405.5 MiB
        Target size (adaptive):                         6.2 %    3.9 GiB
        Min size (hard limit):                          6.2 %    3.9 GiB
        Max size (high water):                           16:1   62.9 GiB
        Most Frequently Used (MFU) cache size:         33.3 %  125.3 MiB
        Most Recently Used (MRU) cache size:           66.7 %  251.4 MiB
        Metadata cache size (hard limit):              75.0 %   47.2 GiB
        Metadata cache size (current):                  0.2 %   91.6 MiB
        Dnode cache size (hard limit):                 10.0 %    4.7 GiB
        Dnode cache size (current):                     0.3 %   12.5 MiB

ARC hash breakdown:
        Elements max:                                              10.6k
        Elements current:                              99.7 %      10.6k
        Collisions:                                                   13
        Chain max:                                                     1
        Chains:                                                        2

ARC misc:
        Deleted:                                                      18
        Mutex misses:                                                  0
        Eviction skips:                                                2
        Eviction skips due to L2 writes:                               0
        L2 cached evictions:                                     0 Bytes
        L2 eligible evictions:                                 311.0 KiB
        L2 eligible MFU evictions:                      0.0 %    0 Bytes
        L2 eligible MRU evictions:                    100.0 %  311.0 KiB
        L2 ineligible evictions:                                 4.0 KiB




Code:
root@pve:~# free -h
               total        used        free      shared  buff/cache   available
Mem:           125Gi       3.2Gi       122Gi        56Mi       257Mi       121Gi
Swap:             0B          0B          0B
root@pve:~#


Code:
root@pve:~# df -h
Filesystem        Size  Used Avail Use% Mounted on
udev               63G     0   63G   0% /dev
tmpfs              13G  1.9M   13G   1% /run
rpool/ROOT/pve-1  900G  4.1G  896G   1% /
tmpfs              63G   55M   63G   1% /dev/shm
tmpfs             5.0M     0  5.0M   0% /run/lock
rpool             896G  128K  896G   1% /rpool
rpool/ROOT        896G  128K  896G   1% /rpool/ROOT
rpool/data        896G  128K  896G   1% /rpool/data
/dev/fuse         128M   16K  128M   1% /etc/pve
tmpfs              13G     0   13G   0% /run/user/0
root@pve:~#


Code:
root@pve:~# cat /proc/sys/vm/swappiness
60


Anyw ideas?! I have combed through this entire list, and can't find an answer?!!
 

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!