Since 5th July, I’m getting the error in the title happening on a daily basis.
The full error is:-
2024-07-09 09:38:56.637 ERROR (MainThread) [homeassistant.components.recorder.core] The recorder backlog queue reached the maximum size of 178958 events; usually, the system is CPU bound, I/O bound, or the database is corrupt due to a disk problem; The recorder will stop recording events to avoid running out of memory.
This seems to be related to a CPU spike that happens at 4am (When the CPU goes to 50%) every morning:-
I ran the command:-
sqlite3 home-assistant_v2.db 'pragma integrity_check;'
Which returned ‘ok’.
I don’t have any automations that trigger at 4am, and the dips in the chart above are me restarting HA.
Any clues on how to diagnose this ?
I’m running HA as a VM on proxmox with an SSD.and its had no problems in a couple of years.
FYI, I did update the system to the current version (2024.7.1) on the 4th July… so there might be something in that ?