Python3 high CPU Usage

And the issue was this: Xiaomi Cloud Map Extractor

Here is your event loop graph. Most of the time in there is spent on denonavr but overall its not that much.

after having finally managed to run py-spy in my HAOS system, please let me ask this:

we have to start that process with

docker exec -it homeassistant /bin/bash

but shouldn’t we somehow finish that too? how can we leave the container again, which command is used for that?

exit

1 Like


dear o dear… it was that simple… thing is, in unprotected mode, I didnt dare just go hit an run :wink:

thanks Tom

1 Like

Sorry to raise an old thread. Do you happen to remember how you did it?
I am on the lastest build of HA OS and I have portainer addon as well
what were your steps please?
My HA instance keep pegging at 100 cpu sometimes which makes it crash and reboot.