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
70.89k stars 29.56k forks source link

Homeassistant crashes and restarts #117541

Closed umrath closed 16 hours ago

umrath commented 3 months ago

The problem

Seemingly randomly Homeassistant crashes and restarts

What version of Home Assistant Core has the issue?

2024.5.3

What was the last working version of Home Assistant Core?

core-2024.1 (maybe)

What type of installation are you running?

Home Assistant Supervised

Integration causing the issue

unknown

Link to integration documentation on our website

No response

Diagnostics information

home-assistant.log.zip

Example YAML snippet

No response

Anything in the logs that might be useful for us?

No response

Additional information

I cannot pinpoint it to anything special. It started a while ago and I just realized that it's not a random error of an integration but a full crash of HA itself.

bdraco commented 3 months ago

The only thing that seems to be the same in your fault log is an ssl send. How old is the fault log?

Please follow the instructions at https://community.home-assistant.io/t/2024-5-tracking-down-instability-issues-caused-by-integrations/724441

umrath commented 3 months ago

I have a new fault-Log from yesterday: home-assistant.log.zip

I'm a bit hesitant to enable the debug mode on a production system because debug-Logging is already causing problems as the amount of log generated is massive. I'm currently in the process of preparing to move HA to a lcx-container in Proxmox and debundle as much as I can to minimize the vector for potential problems. It will also grant me the option to do extensive debugging which I cannot really do on a small HA blue.

bdraco commented 3 months ago

Since you have been having segfaults even since python 3.11 all in different places in the python stack its possible there is a hardware issue or a bug in some native code that has gone unnoticed for a long time (even between python versions). Hopefully moving to the container will rule out or confirm the hardware being the issue.

issue-triage-workflows[bot] commented 1 week ago

There hasn't been any activity on this issue recently. Due to the high number of incoming GitHub notifications, we have to clean some of the old issues, as many of them have already been resolved with the latest updates. Please make sure to update to the latest Home Assistant version and check if that solves the issue. Let us know if that works for you by adding a comment 👍 This issue has now been marked as stale and will be closed if no further activity occurs. Thank you for your contributions.