Problem
After upgrading to Fedora 40 on my Raspberry Pi 4, the memory is almost fully consumed by the ghost process, possibly kernel.
uptime
:
15:10:25 up 1 day, 17:23, 6 users, load average: 0.08, 0.19, 0.43
uname -a
output:
Linux potato 6.8.7-300.fc40.aarch64 #1 SMP PREEMPT_DYNAMIC Wed Apr 17 19:53:21 UTC 2024 aarch64 GNU/Linux
free -mh
output:
total used free shared buff/cache available
Mem: 7.5Gi 6.3Gi 599Mi 7.2Mi 947Mi 1.3Gi
Swap: 4.0Gi 145Mi 3.9Gi
htop
screenshot:
top -o RES
output:
top - 15:07:30 up 1 day, 17:20, 6 users, load average: 0.28, 0.27, 0.50
Tasks: 245 total, 1 running, 244 sleeping, 0 stopped, 0 zombie
%Cpu(s): 1.5 us, 1.0 sy, 0.0 ni, 97.2 id, 0.0 wa, 0.2 hi, 0.1 si, 0.0 st
MiB Mem : 7726.9 total, 590.8 free, 6450.6 used, 948.9 buff/cache
MiB Swap: 4096.0 total, 3950.2 free, 145.8 used. 1276.3 avail Mem
PID USER PR NI VIRT RES SHR S %CPU %MEM TIME+ COMMAND
6204 wolf 20 0 4977832 47028 27120 S 0.3 0.6 14:43.83 podman
944 root 20 0 597712 42088 14308 S 0.0 0.5 0:03.93 firewalld
1003 root 20 0 1315724 34440 16320 S 1.0 0.4 38:52.97 tailscaled
626 root 20 0 103032 31324 30608 S 0.0 0.4 1:40.01 systemd-journal
1723 root 20 0 2039764 29352 11856 S 2.0 0.4 1:16.75 dockerd
252182 wolf 20 0 867524 27132 5380 S 0.0 0.3 0:15.59 cockpit-bridge
1758 root 20 0 1259936 23904 10588 S 1.3 0.3 17:06.29 cloudflared
... tuncated
This is very weird cuz I didn’t face same problem before I upgrade to F40, F39 just works fine and its able to run continuously for a month without rebooting.
Cause
Unknown, fix available
Related Issues
Bugzilla report: #2275290
Workarounds
See solution.