Quantcast
Viewing all articles
Browse latest Browse all 5103

Troubleshooting • Pi4B / 8GB randomly hangs on Raspberry Pi OS 64-bit

I have a Raspberry Pi 4B, 8GB , in an Flirc case (https://www.amazon.com/gp/product/B07WG ... =UTF8&th=1) and a Pishop.us power supply (https://www.pishop.us/product/usb-c-pow ... ul-listed/) .
I use it with an old SATA dock (https://www.amazon.com/gp/product/B00N1 ... UTF8&psc=1), which has its own separate power supply - not USB bus-powered. And my boot drive is an even older Corsair Force GT 120GB SATA SSD.

The Pi4 is connected to my LAN via Gigabit Ethernet. It's also connected to a KVM switch for local access.
I mainly use it with Raspberry Pi OS 64-bit to run a program called Smokeping to monitor my network. Basically, it pings all my devices (nearly 200 of them), and records the latency and packet loss. I also run Firefox and the POP3 fetcher extension for Gmail to refresh external accounts, and occasionally remote access via VNC. The OS and firmware are both up-to-date. The load on the system is quite low.

Code:

pi@pi64:~ $ vmstat 5 -w--procs-- -----------------------memory---------------------- ---swap-- -----io---- -system-- --------cpu--------   r    b         swpd         free         buff        cache   si   so    bi    bo   in   cs  us  sy  id  wa  st   0    0            0      2830556       108332      4046356    0    0   453   111  239  328   8   3  89   0   0   0    0            0      2834160       108340      4044644    0    0     0     7  406  529   0   1  99   0   0   1    0            0      2845344       108348      4048212    0    0     0     7  312  482   1   1  99   0   0   0    0            0      2847212       108356      4048216    0    0     0    14  624  805   0   1  99   0   0   0    0            0      2847240       108356      4047724    0    0     8   164  702  801   1   1  98   0   0   0    0            0      2847240       108388      4048256    0    0     0    48  300  448   0   0  99   0   0
The problem is that the Pi4 hangs periodically, for no apparent reason. I have to manually power cycle it when that happens. I have no indication of what might be wrong. Not certain if it's a software or hardware bug. I setup a cron job to reboot it every 24 hours, and that seemed to help. But lately, the Pi4 has been hanging every couple days, which makes it nearly useless for monitoring my network.

I tried to isolate the issue by using a microSD card to boot from, but it didn't solve the hanging problem, and only made the system slower.
The Pi is definitely hot to the touch, as the Flirc case uses passive cooling. But I'm not running anything CPU or GPU intensive on the Pi4, so at least in theory, it shouldn't be an issue.

How can I determine what the root cause is ?

Statistics: Posted by madbrain76 — Thu May 09, 2024 2:39 am



Viewing all articles
Browse latest Browse all 5103

Trending Articles