albertogeniola / ha-meross-local-broker

HomeAssistant addon that handles LAN-local MQTT and API service for Meross Devices.
Apache License 2.0
33 stars 14 forks source link

CPU Usage #46

Closed TheHolyRoger closed 8 months ago

TheHolyRoger commented 8 months ago

With the latest release i'm seeing huge CPU usage after several hours of running - only way it resolves is with a reboot. Checked all the various logs and not seeing anything obvious... Anyone else getting this?

TheHolyRoger commented 8 months ago

running top inside the meross container I can see this:

meross-cpu

TheHolyRoger commented 8 months ago

meross-cpu2

All fine after a restart- seems to last 1-2 hours

TheHolyRoger commented 8 months ago

As a workaround I'm just restarting the addon every 2 hours now - ugly but works

albertogeniola commented 8 months ago

Hi @TheHolyRoger : why is the debug running? Can you please post the configuration page of the addon? I'm under the impression you don't need to keep debugger enabled and that might have some side-effects on the CPU load.

TheHolyRoger commented 8 months ago

@albertogeniola ah oops! Let me turn it off and report back after a few hours

TheHolyRoger commented 8 months ago

@albertogeniola seems fine since disabling debug thanks!