Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Ha constantly crashes almost every hour #115695

Open
DerWeller opened this issue Apr 16, 2024 · 11 comments
Open

Ha constantly crashes almost every hour #115695

DerWeller opened this issue Apr 16, 2024 · 11 comments

Comments

@DerWeller
Copy link

DerWeller commented Apr 16, 2024

The problem

Hello everyone,
I recently started having a strange problem. HA was running very stable, but suddenly it restarts every 70-80 minutes. I have already deactivated all unnecessary programs. There is nothing unusual in the log.
I haven't changed the hardware either.

What version of Home Assistant Core has the issue?

System Information version | core-2024.4.3 -- | -- installation_type | Home Assistant OS dev | false hassio | true docker | true user | root virtualenv | false python_version | 3.12.2 os_name | Linux os_version | 6.1.73-haos-raspi arch | aarch64 timezone | Europe/Berlin config_dir | /config
Home Assistant Community Store GitHub API | ok -- | -- GitHub Content | ok GitHub Web | ok GitHub API Calls Remaining | 4885 Installed Version | 1.34.0 Stage | running Available Repositories | 1403 Downloaded Repositories | 19
Home Assistant Cloud logged_in | false -- | -- can_reach_cert_server | ok can_reach_cloud_auth | ok can_reach_cloud | ok
Home Assistant Supervisor host_os | Home Assistant OS 12.2 -- | -- update_channel | stable supervisor_version | supervisor-2024.04.0 agent_version | 1.6.0 docker_version | 25.0.5 disk_total | 457.7 GB disk_used | 76.4 GB healthy | true supported | true board | rpi4-64 supervisor_api | ok version_api | ok installed_addons | Samba share (12.3.1), Mosquitto broker (6.4.0), Advanced SSH & Web Terminal (17.2.0), chrony (3.0.1), go2rtc (1.8.5), Frigate (Full Access) (0.13.2), eufy-security-ws (1.8.0-2), Samba Backup (5.2.0), Studio Code Server (5.15.0), ESPHome (2024.3.2), eufyp2pstream (0.1-alpha.9), Zigbee2MQTT (1.36.1-1)
Dashboards dashboards | 4 -- | -- resources | 6 views | 16 mode | storage
Recorder oldest_recorder_run | 6. April 2024 um 02:36 -- | -- current_recorder_run | 16. April 2024 um 10:21 estimated_db_size | 651.35 MiB database_engine | sqlite database_version | 3.44.2
Sonoff version | 3.6.0 (8dd8af9) -- | -- cloud_online | 16 / 17 local_online | 14 / 14

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

Tasks

No tasks being tracked yet.
@DerWeller
Copy link
Author

home-assistant.log

@DerWeller
Copy link
Author

Power supply is original.
The SSD and the additional stick are connected to a pwowerd is hub.
RPi is actively cooled.

@erkr
Copy link

erkr commented Apr 16, 2024

Just another user thinking along: Enough memory? Those Frigate errors, are they normal? Did you run without frigate?

@DerWeller
Copy link
Author

The Frigate errors have unfortunately always been there... for whatever reason. but they work without any problems.
I have 4 GB of RAM - 1.8 of which is occupied.

I'll turn Frigate off and have a look, but it's worked perfectly so far.

@DerWeller
Copy link
Author

i have just looked at the HA again to check whether it has restarted again. i noticed that it is almost always restarted at 1 hour and 11 minutes. and no :) i do not have any automation running that gives the command to do so.
the HA is currently stable at 1:45 hours

Bildschirmfoto 2024-04-16 um 21 41 34

@DerWeller DerWeller closed this as not planned Won't fix, can't repro, duplicate, stale Apr 16, 2024
@DerWeller DerWeller reopened this Apr 16, 2024
@erkr
Copy link

erkr commented Apr 16, 2024

🤞

@bdraco
Copy link
Member

bdraco commented Apr 17, 2024

might be rospogrigio/localtuya#1700

@DerWeller
Copy link
Author

Problems with frigate seem to have been the trigger.
The system has been stable for 14 hours.
Thanks @erkr

@erkr
Copy link

erkr commented Apr 17, 2024

Frigate could have a memory leak, that eats your memory in 70-80 minutes. Did you check your free memory over time?

@DerWeller
Copy link
Author

Frigate could have a memory leak, that eats your memory in 70-80 minutes. Did you check your free memory over time?

Thanks for the information. How to prevent this?

@erkr
Copy link

erkr commented Apr 17, 2024

Check if that is the case, and file an issue at frigate: https://github.com/blakeblackshear/frigate-hass-integration/issues

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants