-
Notifications
You must be signed in to change notification settings - Fork 1.4k
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
High cpu/disk usage after upgrading MariaDB to plugin version 2.5.2 #2998
Comments
The CPU/Disk usage goes to normal if I restart MariaDB manually in the Add-on. However after restarting Home Assistant it returns and I will have to restart it trough the Add-on again to stop it. Disabling Add-ons and integrations did not change this behavior. Updated to HomeAssitant core 2023.4.6 today. I have tried logging al queries being executed on the database but this revealed nothing out of the ordinary. This is what I used for logging queries: SET global general_log = 1; I will update if I find anything else. For now I will have to restart MariaDB after every HA restart to resolve this. |
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions. |
@Jelmerl101 DId you find a solution? I'm facing a similar issue right now. High CPU load spikes combines with huge disk reads. Restarting the MAriaDB Add-on does not fx it for me. |
@dhzl84 No I didn't but it resolved itself after a few updates and never returned. I'm not sure exactly which version fixed it. |
Describe the issue you are experiencing
HomeAssistant used to idle with 1-2% cpu usage and after upgrading the MariaDB plugin from 2.5.0 to 2.5.2 this has increased to almost 50% (full load on one core). I used glances to trace it to MariaDB, this has been going on for ~18 hours now.
Monitoring the processes on the database doesn't reveal anyhing out of the ordinary, just generic updates on states/events.
What type of installation are you running?
Home Assistant OS
Which operating system are you running on?
Home Assistant Operating System
Which add-on are you reporting an issue with?
Almond
What is the version of the add-on?
2.5.2
Steps to reproduce the issue
System Health information
System Information
Home Assistant Community Store
Home Assistant Cloud
Home Assistant Supervisor
Dashboards
Recorder
Anything in the Supervisor logs that might be useful for us?
No response
Anything in the add-on logs that might be useful for us?
Additional information
No response
The text was updated successfully, but these errors were encountered: