Hi,
I’m experiencing the same! The lowest I cant get to on a RPi 3 B+ is a load average of 2 and above…
Rules load extremely slow (5min for a simple jython rule file with one rule).
Even when I let it calm down it won’t get better. Karaf console is also super unresponisve - I set karaf to DEBUG output but I don’t see much…
Here’s my /var/lib/openhab/config/org/openhab/addons.config:
[19:36:28] openhabian@openHABianPi:~$ cat /var/lib/openhab/config/org/openhab/addons.config
:org.apache.felix.configadmin.revision:=L"38"
action=""
automation="jythonscripting"
binding="hue,network,nest,zwave,astro,openweathermap,bosesoundtouch,systeminfo,chromecast,coronastats,pushbullet,miio,dwdunwetter,icalendar,nuki,mqtt"
legacy=B"true"
misc=""
package="standard"
persistence="influxdb,rrd4j"
remote=B"true"
service.pid="org.openhab.addons"
transformation="jsonpath,javascript,regex,map"
ui="basic,habpanel,habot"
voice="marytts,voicerss,googletts"
And shell:threads --list gives the top 20:
Id Name State CPU time Usr time
57 Dir Watcher WAITING 159391 153480
14 Start Level: Equinox Container: 00b4dd77-4602-46bc-988a-67011f40d03e WAITING 157955 154240
385 OH-scriptwatcher-1 TIMED_WAITING 65349 62220
293 OH-thingHandler-2 TIMED_WAITING 65164 59370
299 OH-thingHandler-4 TIMED_WAITING 63814 57410
267 OH-thingHandler-1 WAITING 62848 57000
296 OH-thingHandler-3 TIMED_WAITING 62341 56460
302 OH-thingHandler-5 TIMED_WAITING 61254 55300
97 features-3-thread-1 WAITING 60262 57610
387 OH-rulesRefresher-1 WAITING 51348 48620
110 SocketListener(openHABianPi-fritz-box.local.) RUNNABLE 49647 47030
114 OH-eventexecutor-1 WAITING 43551 39870
4884 OH-rule-set-1-1 WAITING 36990 35920
240 OH-usb-serial-discovery-linux-sysfs-1 TIMED_WAITING 24182 16920
61 OH-OSGiEventManager TIMED_WAITING 23337 20950
237 pool-14-thread-1 TIMED_WAITING 16872 14570
111 JmDNS(openHABianPi-fritz-box.local.).Timer TIMED_WAITING 15490 13470
5518 OH-rule-temp-1-1 WAITING 13142 12860
128 upnp-main-2 RUNNABLE 12675 11330
3605 qtp15820476-3605 RUNNABLE 11882 11460
424 RXTXPortMonitor(/dev/ttyAMA0) RUNNABLE 11310 5300
4866 OH-rule-roborock-1-1 WAITING 11046 10720
3598 qtp15820476-3598 RUNNABLE 10718 10100
4869 OH-rule-garden-6-1 WAITING 10509 10250
371 pool-21-thread-1 RUNNABLE 9719 8940
I have started deactivating bindings that I supect, but no luck so far…
Any advice would be welcome!
Thank you so much!
Edit: @ljsquare can you check if you also get this line when setting karaf to debug:
[DEBUG] [core.karaf.internal.FeatureInstaller] - Running scheduled sync job
I get it every minute and don’t know if that is normal…