#Raspberry pi unstable

1 messages · Page 1 of 1 (latest)

tacit bison
#

Hello, I am sure this must be happening to more than me. My ha has been running on a pi4 8gb for ≈3years now and has been completely fine. But recently (maby past 2 months) it has been crashing within an hour of system boot. The pi is still running and can be pinged. I have reinstalled the OS and updatedto latest ha build. Anyone know what's going on? P.s. I am slow at responding

plain umbra
sly panther
#

sd card or marginal power supply are the usual culprits.

a good usb 3 memory stick is way better than any sd card for running your os. ssd is of course even better. i use a sata ssd and a cheap chinese usb3 to sata cable. with ssd a good power supply is even more crucial. i use the original rpi one and have not had any problems

#

in some cases it has also been 3rd party add-ons. i remember there was a problem a while ago with the vscode addon as an example.

dreamy finch
#

Do you have any sources that a normal USB stick is "better" than a SD Card? Don't get me wrong, I think both options are bad.

crisp copper
#

Any memory stick I have tried, even high end "high speed" ones are WAY slower that an SSD or even an external HDD. They are built different.
I had a high speed one on my PFSense for a while which allows you to use one, and it was awful when I installed and tried to update it. Went to a little 32gb SSD on an IDE cable and it was fine. (It just holds the program, logs, and swap space)

tacit bison
dreamy finch
sly panther
# dreamy finch Do you have any sources that a normal USB stick is "better" than a SD Card? Don'...

the usb sticks i have tested have a much better throughput, both sequential and random, over a much wider span of block sizes and file sizes than sd cards. for running your os what you mostly need is very good random access. higher iops than even a2 class sd cards.

yes, ssd is far better than a good memory stick. you will not be able to see how much better with a pi i think, but even on a pi the ssd will be faster than memory stick. especially for databases (even more iops)

crisp copper
#

An issue is 1gb memory (like on a pi3) and vscode takes up most of it causing the pi to use swap extensively, be slow, and wear out the sd card in no time.

#

The fix is use something with more than 1gb of memory, or don't use vscode on a pi.

tacit bison
#

Exported the logs. I will need to sanitise them before posting. But nothing looks unusual.

tacit bison
tacit bison
#

Solved: completely unrelated to ha

dreamy finch
#

Do tell.