Hi all,
i run currently 3.4.2 on my RPi4. I suffered a long time from the UI freezes caused by heap, but that was finally solved by @florian-h05 with a fix in 3.4.1 https://github.com/openhab/openhab-addons/pull/13824
Unfortunetally as written in my last post above the issues on the NTP binding still happen and became worse.
Openhab runs w/o freeze since 20 days. I just experienced temporary “freezes” of NTP binding, but most likely that is a different topic maybe coming from 3.4.1.
I am getting aware the issue, because I have a current datetime item updated via the NTP binding. That item is displayed on my MainUI page. Randomly i notice that this item is not updated anymore. Then different other issues happen:
- Spotify, amazonechocontrol, NTP binding stops working, things shows error status
- actions triggered by javascript rules are not being executed, e.g. a rule triggers a shell command. the rule is triggered but the exec binding action is not executed
What usually helps is to restart the Spotify binding via console. Then also the datetime item is being updated properly and also the others bindings start working again. But sometimes also that does not help, so then i need to restart openhab.
It is a quite strange situation so I would be very thankful on hints on how to further proceed and narrow down the potential root causes.
Many thanks in advance.
Below my systeminfo:
Karaf
Karaf version 4.3.7
Karaf home /usr/share/openhab/runtime
Karaf base /var/lib/openhab
OSGi Framework org.eclipse.osgi-3.17.200.v20220215-2237
JVM
Java Virtual Machine OpenJDK Client VM version 11.0.15+10-LTS
Version 11.0.15
Vendor Azul Systems, Inc.
Pid 12958
Uptime 1 day 2 hours
Process CPU time 3 hours 17 minutes
Process CPU load 0.00
System CPU load 0.00
Open file descriptors 327
Max file descriptors 102,642
Total compile time 26.293 seconds
Threads
Live threads 286
Daemon threads 140
Peak 339
Total started 103893
Memory
Current heap size 393,294 kbytes
Maximum heap size 1,496,704 kbytes
Committed heap size 678,092 kbytes
Pending objects 0
Garbage collector Name = 'Copy', Collections = 1799, Time = 51.987 seconds
Garbage collector Name = 'MarkSweepCompact', Collections = 7, Time = 4.853 seconds
Classes
Current classes loaded 27,238
Total classes loaded 28,965
Total classes unloaded 1,727
Operating system
Name Linux version 5.15.84-v7l+
Architecture arm
Processors 4
The only things I see in the logs dont seem to be related.
2023-03-27 17:27:14.892 [ERROR] [ommunicator.AbstractHomematicGateway] - java.util.concurrent.ExecutionException: java.util.concurrent.TimeoutException: Total timeout 15000 ms elapsed
2023-03-27 17:49:10.896 [WARN ] [ternal.handler.HomematicThingHandler] - Channel not found for datapoint '000E5709B28D4B:1#QUICK_VETO_TIME'
2023-03-27 17:57:24.245 [WARN ] [e.internal.SseItemStatesEventBuilder] - Attempting to send a state update of an item which doesn't exist: undefined