** Package changed: ubuntu => linux (Ubuntu) -- You received this bug notification because you are a member of Kernel Packages, which is subscribed to linux in Ubuntu. https://bugs.launchpad.net/bugs/1990292
Title: Mistery memory usage in linux Kernel >= 5.14 Status in linux package in Ubuntu: New Bug description: My hardware is SuperMicro X11SDV-8C-TP8F with Intel D-2146NT. I've tested this issue with: * Ubuntu 22.04 Kernel 5.15 * Ubuntu 22.04 Kernel 5.17 * Ubuntu 20.04 Kernel 5.15 * Ubuntu 20.04 Kernel 5.14 Using Ubuntu 20.04 with kernel 5.13 or lower will NOT trigger this issue. The issue is that I have high RAM usage from the server startup I cannot explain. At startup without any services active I have nearly 6GiB of RAM used: ``` # free -m total used free shared buff/cache available Mem: 15663 5998 8936 155 728 9213 Swap: 0 0 0 ``` Using ps the sum of RSS memory does not adds up: it shows less than 1GiB used: ``` # ps aux | awk '{sum+=$6} END {print sum / 1024}' 944.879 ``` This is the meminfo output ``` cat /proc/meminfo MemTotal: 16039044 kB MemFree: 8486372 kB MemAvailable: 9607120 kB Buffers: 79440 kB Cached: 1300092 kB SwapCached: 0 kB Active: 575856 kB Inactive: 1141004 kB Active(anon): 24184 kB Inactive(anon): 369940 kB Active(file): 551672 kB Inactive(file): 771064 kB Unevictable: 27884 kB Mlocked: 27884 kB SwapTotal: 2097148 kB SwapFree: 2097148 kB Dirty: 36 kB Writeback: 0 kB AnonPages: 365256 kB Mapped: 304856 kB Shmem: 50208 kB KReclaimable: 110308 kB Slab: 455680 kB SReclaimable: 110308 kB SUnreclaim: 345372 kB KernelStack: 7664 kB PageTables: 6352 kB NFS_Unstable: 0 kB Bounce: 0 kB WritebackTmp: 0 kB CommitLimit: 10116668 kB Committed_AS: 2497484 kB VmallocTotal: 34359738367 kB VmallocUsed: 31940 kB VmallocChunk: 0 kB Percpu: 12800 kB HardwareCorrupted: 0 kB AnonHugePages: 4096 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: 315700 kB DirectMap2M: 11919360 kB DirectMap1G: 6291456 kB ``` And this is the `slabtop` header: ``` Active / Total Objects (% used) : 1095487 / 1172800 (93.4%) Active / Total Slabs (% used) : 28258 / 28258 (100.0%) Active / Total Caches (% used) : 121 / 176 (68.8%) Active / Total Size (% used) : 401911.16K / 415423.19K (96.7%) Minimum / Average / Maximum Object : 0.01K / 0.35K / 10.62K ``` This is the `df -h` output: ``` df -h Filesystem Size Used Avail Use% Mounted on tmpfs 1.6G 50M 1.5G 4% /run /dev/mapper/ubuntu--vg-ubuntu--lv 14G 3.8G 9.0G 30% / tmpfs 7.7G 20K 7.7G 1% /dev/shm tmpfs 5.0M 0 5.0M 0% /run/lock /dev/sda2 2.0G 127M 1.7G 7% /boot /dev/mapper/vg0-var_log 9.8G 127M 9.2G 2% /var/log /dev/mapper/vg0-tmp 9.8G 68K 9.3G 1% /tmp /dev/mapper/vg0-var_tmp 9.8G 96K 9.3G 1% /var/tmp /dev/mapper/vg0-var_lib_docker 1.7T 11G 1.6T 1% /var/lib/docker tmpfs 1.6G 0 1.6G 0% /run/user/2010 tmpfs 1.6G 0 1.6G 0% /run/user/2023 ``` To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1990292/+subscriptions -- Mailing list: https://launchpad.net/~kernel-packages Post to : kernel-packages@lists.launchpad.net Unsubscribe : https://launchpad.net/~kernel-packages More help : https://help.launchpad.net/ListHelp