I am experiencing high CPU usage in OH3.1 after a few hours. CPU usage is normally around 1 to 10% and suddenly increases and remains at 100% forever.
My system runs on an Intel Celeron N3450 4 cores / Windows 10-64.
I tried the following with no success:
- clearing the cache/tmp folders and restarted the system several times,
- stopping the bindings one by one using
bundle:stop xxx
, expecting a CPU usage drop that would have helped me to find the binding responsible for the issue, - stopping
org.openhab.core.model.script.runtime
in case my scripts or threads would be looping infinitely, - stopping ALL bundles (including core) to determine if one of them could be the cause,
- setting the log to DEBUG for all bindings (and even ROOT) to see some log flooding,
- use systeminfo binding to detect when the CPU increase happens but unfortunately, monitoring the Java PID for process#load channel always returns 0 and cpu#load1 is never updated
Any advice on other troubleshooting methods (excluding reinstall of OH that will be the last option…) is really appreciated! Thank you in advance for your suggestions!