Quantcast
Channel: Configuration - Home Assistant Community
Viewing all articles
Browse latest Browse all 105808

Possible memory-leak and CPU usage increasing over time - how to debug?

$
0
0

Hi,

I noticed an alarming increase in memory usage and also a high CPU-load. I’m running Supervisor 229, Home-Assistant 0.113.3 and no custom integrations (actually HACS is still installed but I already removed all custom integrations installed from HACS). Home-Assistant runs on an Intel NUC (intel i7 CPU) and “eats” about 40% of the available CPU power. Memory usage is about 500MB but increasing steadily. See these graphs from the last 7 days.


The dips in memory usage are from Home-Assistant restarts.

I use the following integrations:

  • Brother printer
  • iOS
  • Homekit Bridge
  • IKEA TRADFRI
  • iRobot
  • MQTT
  • Sonos
  • Ubiquiti UniFi
  • Z-Wave

I did a py-spy profiling for 5minutes, this is the result: https://app.box.com/s/dttogbrxax81fl176yr3l4tabzt05pke
Sorry, you need to download the file there as it is no longer clickable.

Any advice where I should start or how to do a CPU profiling? Home-Assistant still works and is very fast. It’s used daily and “productive”.

5 posts - 3 participants

Read full topic


Viewing all articles
Browse latest Browse all 105808

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>