For a few weeks now, I’ve been experiencing a latency of a few seconds in my scenes and in the dashboard display. For example, I press a Zigbee button, and the Zigbee lamp only turns on 3-4 seconds later. But this isn’t systematic, and generally, everything is quite responsive. In fact, it seems to happen for a few minutes every hour…
I think my mini-PC running Gladys is overloaded, but I’m not sure how to identify which process is causing the issue.
I observe this in the information sent every minute from my probes in Node-RED (ignore the label ‹ raspberri-pi4 ›, I just didn’t rename it after switching to a mini-PC):
You can see significant RAM usage (increasing it would probably help…) and especially a CPU spike from 15% to 35%, corresponding to the period when Gladys loses its responsiveness.
What can I analyze to identify the source of the problem?
Nothing else but Gladys is running on my mini-PC.

