Replies: 3 comments 1 reply
-
You can run this via developer SSH or keyboard & monitor to see what uses the SWAP. I got most of the command from here. for file in /proc/*/status ; do awk '/VmSwap|Name/{printf $2 " " $3}END{ print ""}' $file; done | sort -k 2 -n | tail -n50 | column -t Does this actually cause any problems? SWAP usage itself is not necessarily an issue. |
Beta Was this translation helpful? Give feedback.
-
As some crazy things pop up recently, like (within the last hour)
(so @Impact123 answering your
YES, it seems like it creates some (serious) issues meanwhile https://community.home-assistant.io/t/influxdb-restarting/485508/7 So I'd like to urently rule out the 100 % SWAP usage is a root cause for this.
How to make any progress here?Is it maybe a known issue in HA OS 14.2 with Raspberry Pi 5? |
Beta Was this translation helpful? Give feedback.
-
My recommendation is still the same. Set up developer SSH or connect a keyboard and monitor and run my command to see what uses the swap. If you visit the discord server I can help you with that. |
Beta Was this translation helpful? Give feedback.
-
Since switching hardware from Pi 4 to Pi 5 (NVMe SSD) I noticed HA OS prefers to use almost all available SWAP space instead of using RAM (like before on the Pi 4 with a quite slow disk storage).
In general I am wondering whats the reason for this behavior. I mean there's plenty of disk space and it is quite fast, but also there's plenty of (even faster) RAM available not used at all.
During nightly backup it uses even all available SWAP space (100 % usage).
HA OS 14.2.
Beta Was this translation helpful? Give feedback.
All reactions