Skip to content

Excessive CPU usage after a few hours. #55

@daserra23

Description

@daserra23

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...

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions