I am running smahub in a docker container to just monitor a Sunny Energy Meter 2 and publish to MQTT. After a few hours I notice my CPU usage is over 100% and my system becomes sluggish. I run "top" and the culprit is "python3" and when I run "htop" the culprit is smahub.py running in "./src"
If I stop the container and restart it the excess CPU usage stops for a few hours. I'm going to try and capture the logs with "sudo docker logs smahub" when it next occurs.
Any tips in the right direction would be good to hear...
I am running smahub in a docker container to just monitor a Sunny Energy Meter 2 and publish to MQTT. After a few hours I notice my CPU usage is over 100% and my system becomes sluggish. I run "top" and the culprit is "python3" and when I run "htop" the culprit is smahub.py running in "./src"
If I stop the container and restart it the excess CPU usage stops for a few hours. I'm going to try and capture the logs with "sudo docker logs smahub" when it next occurs.
Any tips in the right direction would be good to hear...