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
72.96k stars 30.52k forks source link

crash: media_player took longer than the scheduled update interval #124385

Closed amosstorkey closed 1 month ago

amosstorkey commented 2 months ago

The problem

This is the same as https://github.com/home-assistant/core/issues/67854 which was closed a couple of weeks ago despite it still being a significant issue.

All media_player entities take ages to update. when there are multiple media_players on the system, this grinds HASS to a halt and eventually causes a complete HASS.IO crash, apparently by creating timeouts on more critical components.

In the logs there are repeated cases of

[homeassistant.helpers.entity] Update of media_player. is taking over 10 seconds

What version of Home Assistant Core has the issue?

2024.8.2

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

media_player

Link to integration documentation on our website

No response

Diagnostics information

No response

Example YAML snippet

N/A

Anything in the logs that might be useful for us?

Repeated cases of [homeassistant.helpers.entity] Update of media_player.<whatever> is taking over 10 seconds

Evntually interleaved with multiple [homeassistant.components.hassio.handler] Timeout on <whatever>

prior to a full system crash and reboot

Additional information

Longstanding issue, but needs a fix.

https://github.com/home-assistant/core/issues/67854

joostlek commented 2 months ago

This is an issue that can be raised for any integration, please provide more information

issue-triage-workflows[bot] commented 1 month 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.