home-assistant / core

:house_with_garden: Open source home automation that puts local control and privacy first.
https://www.home-assistant.io
Apache License 2.0
73.76k stars 30.87k forks source link

HA unresponsive every day #130583

Open oaktek opened 4 days ago

oaktek commented 4 days ago

The problem

This started a few weeks ago, initially saw that my HA on a Ras Pi4 would become unresponsive at 8pm and only come back on around 8am. I checked everything I could, turned off schedules on anything, tried to fix any errors and initially it started happening again but on another time frame, now its just random and not even rebooting the Pi makes it work, it comes on when it comes on. I thought maybe the SD card was done for so I replaced it and its still happening, Ive tried fixing any errors I could see, after the latest webrtc updates I saw a lot of errors so I thought it was bombing out with 1000's of errors so I removed all my cameras and it still happens.... when I look at the Pi, the 2 netowork lights flash at the same time about every 2 seconds. Im starting to see that Im going to have to do a new fresh setup which is going to take forever as Ive been running for years, can anybody help? I cant put more info on here yet cause Im waiting for it to start working again.

What version of Home Assistant Core has the issue?

latest

What was the last working version of Home Assistant Core?

No response

What type of installation are you running?

Home Assistant OS

Integration causing the issue

No response

Link to integration documentation on our website

No response

Diagnostics information

No response

Example YAML snippet

No response

Anything in the logs that might be useful for us?

No response

Additional information

No response

oaktek commented 4 days ago

Finally came back on, went down about 2:19am and came back on at 9:41am, heres the logs home-assistant_2024-11-14T08-21-05.645Z.log

make-all commented 4 days ago

RAM? I've been running on a 1GB Pi4 for a few years now, but the last couple of months it has become unstable. RAM use was constantly above 80% so I suspect it is running out of RAM that is causing the restarts. I replaced it this week with a 8GB NUC and it is running smoothly again after I figured out that to restore from backup on a new install you have to go into the command line and update the supervisor with "ha su update" otherwise the "restoring backup" screen just sits there and spins for hours.

oaktek commented 4 days ago

RAM? I've been running on a 1GB Pi4 for a few years now, but the last couple of months it has become unstable. RAM use was constantly above 80% so I suspect it is running out of RAM that is causing the restarts. I replaced it this week with a 8GB NUC and it is running smoothly again after I figured out that to restore from backup on a new install you have to go into the command line and update the supervisor with "ha su update" otherwise the "restoring backup" screen just sits there and spins for hours.

out of 4gb of RAM its only using 1.9, processor is sitting on like 16% usage......i just cant figure out whats going on. Im going to spin up a virtual machine, recover the backup and see if it does the same thing, if it doesnt then the problem must be the Pi

oaktek commented 3 days ago

ok so, i got Home Assistant running on a Virtual Machine, recovered my latest backup and its been running since 18:00 yesterday and hasnt become unresponsive, so now im down to 3 things......either the network cable is not ok, the network port or the pi itself......think its time to retire the pi4