High CPU load / unresponsive OH since upgrade (even with 5.0.2)

Since upgrade to OH 5, my installation encounters performance issues, so that I’ve to restart OH latestly every second day. First, I thought, that this is the same like mentioned in

High CPU Usage since upgrade to 5.0.1 resp.

but the fix to 5.0.2 did not solve that behaviour.

After 1-2 days runtime, my system (RPi 4B / OH 5.0.2) is unresponsive. Seems to be a problem with data persistence / rrd4j - ttop shows, that OH-MapDbPersistenceService remains in waiting resp. blocking CPU ressource.

Are there any other facing a similar problem?

Thx!!

We need a thread dump to have an idea of what’s going on (the thread dump must be made when the problem is there, what OH is “stuck” or very slow)

Thx. I’ll check it tomorrow resp. the day after, when the problem is back again after today’s restart. :slight_smile:

1 Like

You failed to provide details of your setup.
If you run persistence off your SD card, you might be affected by wearout or lame card I/O.
Do you use ZRAM?

Have you ever ramped up persistence logging?
You might be seeing messages pointing to the problem.
I for instance used to have corrupted rrd4j files that OH failed to write to.
Deleting / overwriting them solved my problem.