[Support]: Frigate may be causing my entire Home Assistant to randomly restart #15447
Unanswered
hashamori
asked this question in
Config Support
Replies: 1 comment 14 replies
-
is the camera set up with 1x interframe spacing? and constant framerate? |
Beta Was this translation helpful? Give feedback.
14 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Describe the problem you are having
For the past two months, my Home Assistant has been restarting randomly, and I haven’t been able to figure out why. I tried troubleshooting but had no luck. Eventually, I suspected some custom components might be causing the issue, so I disabled them one by one to see if anything changed.
Frigate appears to be responsible for the restarts. Could it have something to do with my CPU? I’m using an Intel(R) Core(TM) i7-2600K CPU @ 3.40GHz (a bit old, right?). I have a dashboard to monitor hardware stats, and the CPU usage has never been high. It sometimes peaks at 20% for a moment but stays very low most of the time. RAM also doesn’t seem to be an issue since it has 16 GB and is barely used. This PC was purchased as a pre-configured plug-and-play system from a local tech store.
I haven’t been able to figure out why Frigate is causing these restarts. I recently noticed that after shutting down Frigate entirely for a few days, Home Assistant stopped restarting. The restarts happen at completely random intervals—sometimes Home Assistant runs for 10 hours, and other times it restarts after just 5 minutes. There aren’t many logs to look at, aside from some Python threading errors.
Additionally, recordings occasionally stop with the following error message:
"WARNING: Unable to keep up with recording segments in cache for camera. Keeping the 6 most recent segments out of 7 and discarding the rest..."
Following this guide (link), I found that the copy times were under 1 second. This might suggest a CPU bottleneck, although CPU usage appears normal.
Should I consider setting up a separate PC just to run Frigate on my network? Or is there something else I should check?
Summary of Issues:
Version
0.14.1-f4f3cfa
Frigate config file
Relevant Frigate log output
Relevant go2rtc log output
Frigate stats
No response
Operating system
HassOS
Install method
HassOS Addon
docker-compose file or Docker CLI command
n/a
Object Detector
Coral
Screenshots of the Frigate UI's System metrics pages
Any other information that may be helpful
What I’ve tried so far:
• Disabled recording temporarily.
• Switched from Frigate Card to WebRTC Card.
• Used the "Frigate (For old x86_64 CPU without AVX)" add-on.
None of above helped.
Hardware I'm using for now:
Reolink Doorbell PoE
Beta Was this translation helpful? Give feedback.
All reactions