Termineo
(Rainer)
June 3, 2020, 6:22am
1
Hi all,
since a longer time I have the problem, that all few days (about 2-5 days) my openHAB2 seems to reset / reboot at night. In my perception without any static cycle.
At the next morning I realize it because every items without persitence have default values.
In the attached logfile you can see, that the system seems to be frozen for about 40 minutes. Do you have any ideas because of what reason it freezes?
I’m using a RPi3 with openHABian clean installation.
Thanky you in advance!
Rainer
yfre
(eugen)
June 3, 2020, 6:40am
2
Hi Rainer,
try different java. i had similar issue with Zulu java. after i have switched to OpenJDK the problem is gone.
it could be also that PI3 has not sufficient memory for your openHAB setup. once it cannot allocate more memory it restarts JVM/Java. pay attention to free memory.
Eugen
rossko57
(Rossko57)
June 3, 2020, 10:10am
3
It might be helpful to see more of what leads up to this. There is install activity going on at 03:45
That is about yahoo weather binding, which has been removed I think (service discontinued)
You might start by cleaning up your addons.cfg
mstormi
(Markus Storm)
June 3, 2020, 10:45am
4
yfre:
try different java
It certainly is NOT caused by Java as a root cause so don’t arbitrarily replace that.
Sure it might help as a side effect (e.g. if new Java uses less memory), but you will not know what that changed so you can run into it anytime again.
I’d take a guess at mem usage, too. You might be having a mem leak.
Enable ZRAM if you have not yet done so but start watching RAM and eventually start removing bindings that might be a reason for the leak.
Just wanted to jump in and add that I’m experiencing this as well. I have a rule that runs at startup to initialize states and it appears to be running approximately every 24 hours at 2am.
$ cat openhab.log | egrep "Startup Actions"
2020-05-06 20:17:01.717 [INFO ] [smarthome.model.script.restart.rules] - Performing Startup Actions
2020-05-07 02:43:48.548 [INFO ] [smarthome.model.script.restart.rules] - Performing Startup Actions
2020-05-07 19:35:01.616 [INFO ] [smarthome.model.script.restart.rules] - Performing Startup Actions
2020-05-07 19:35:25.594 [INFO ] [smarthome.model.script.restart.rules] - Performing Startup Actions
2020-05-07 19:35:41.759 [INFO ] [smarthome.model.script.restart.rules] - Performing Startup Actions
2020-05-07 19:35:51.352 [INFO ] [smarthome.model.script.restart.rules] - Performing Startup Actions
2020-05-08 02:43:43.225 [INFO ] [smarthome.model.script.restart.rules] - Performing Startup Actions
2020-05-08 08:00:46.364 [INFO ] [smarthome.model.script.restart.rules] - Performing Startup Actions
2020-05-09 02:41:19.947 [INFO ] [smarthome.model.script.restart.rules] - Performing Startup Actions
2020-05-10 02:38:43.988 [INFO ] [smarthome.model.script.restart.rules] - Performing Startup Actions
2020-05-11 02:38:55.136 [INFO ] [smarthome.model.script.restart.rules] - Performing Startup Actions
2020-05-12 02:38:54.795 [INFO ] [smarthome.model.script.restart.rules] - Performing Startup Actions
2020-05-13 02:37:51.766 [INFO ] [smarthome.model.script.restart.rules] - Performing Startup Actions
2020-05-14 02:35:46.049 [INFO ] [smarthome.model.script.restart.rules] - Performing Startup Actions
2020-05-15 02:36:27.963 [INFO ] [smarthome.model.script.restart.rules] - Performing Startup Actions
2020-05-15 16:04:40.963 [INFO ] [smarthome.model.script.restart.rules] - Performing Startup Actions
2020-05-16 02:15:07.550 [INFO ] [smarthome.model.script.restart.rules] - Performing Startup Actions
2020-05-17 02:14:12.152 [INFO ] [smarthome.model.script.restart.rules] - Performing Startup Actions
2020-05-18 02:14:33.657 [INFO ] [smarthome.model.script.restart.rules] - Performing Startup Actions
2020-05-19 02:14:14.633 [INFO ] [smarthome.model.script.restart.rules] - Performing Startup Actions
2020-05-20 02:14:31.179 [INFO ] [smarthome.model.script.restart.rules] - Performing Startup Actions
2020-05-21 02:15:28.839 [INFO ] [smarthome.model.script.restart.rules] - Performing Startup Actions
2020-05-22 02:35:07.349 [INFO ] [smarthome.model.script.restart.rules] - Performing Startup Actions
2020-05-23 02:14:44.607 [INFO ] [smarthome.model.script.restart.rules] - Performing Startup Actions
2020-05-24 02:14:05.639 [INFO ] [smarthome.model.script.restart.rules] - Performing Startup Actions
2020-05-25 02:11:41.117 [INFO ] [smarthome.model.script.restart.rules] - Performing Startup Actions
2020-05-26 02:08:19.524 [INFO ] [smarthome.model.script.restart.rules] - Performing Startup Actions
2020-05-27 02:08:14.261 [INFO ] [smarthome.model.script.restart.rules] - Performing Startup Actions
2020-05-28 02:08:23.251 [INFO ] [smarthome.model.script.restart.rules] - Performing Startup Actions
2020-05-29 02:08:14.156 [INFO ] [smarthome.model.script.restart.rules] - Performing Startup Actions
2020-05-30 02:08:43.604 [INFO ] [smarthome.model.script.restart.rules] - Performing Startup Actions
2020-05-31 02:08:04.833 [INFO ] [smarthome.model.script.restart.rules] - Performing Startup Actions
2020-06-01 02:08:10.284 [INFO ] [smarthome.model.script.restart.rules] - Performing Startup Actions
2020-06-02 02:08:19.107 [INFO ] [smarthome.model.script.restart.rules] - Performing Startup Actions
2020-06-03 02:09:46.496 [INFO ] [smarthome.model.script.restart.rules] - Performing Startup Actions
Checking around these timestamps doesn’t yield much:
$ cat openhab.log | egrep "2020-05-21 02:15"
2020-05-21 02:15:28.839 [INFO ] [smarthome.model.script.restart.rules] - Performing Startup Actions
$ cat events.log.5 | egrep "2020-05-21 02:15:28"
2020-05-21 02:15:28.042 [vent.ItemStateChangedEvent] - ZWaveSerialController_StartFrames changed from 51595 to 51596
2020-05-21 02:15:28.046 [vent.ItemStateChangedEvent] - ZWaveSerialController_FramesAcknowledged changed from 6005 to 6006
2020-05-21 02:15:28.051 [vent.ItemStateChangedEvent] - ZWaveSerialController_StartFrames changed from 51596 to 51597
2020-05-21 02:15:28.136 [vent.ItemStateChangedEvent] - ZWaveSerialController_StartFrames changed from 51597 to 51598
2020-05-21 02:15:28.140 [vent.ItemStateChangedEvent] - ZWaveSerialController_FramesAcknowledged changed from 6006 to 6007
2020-05-21 02:15:28.151 [vent.ItemStateChangedEvent] - ZWaveSerialController_StartFrames changed from 51598 to 51599
2020-05-21 02:15:28.793 [vent.ItemStateChangedEvent] - ZWaveSerialController_StartFrames changed from 51599 to 51600
2020-05-21 02:15:28.797 [vent.ItemStateChangedEvent] - ZWaveSerialController_FramesAcknowledged changed from 6007 to 6008
2020-05-21 02:15:28.808 [vent.ItemStateChangedEvent] - ZWaveSerialController_StartFrames changed from 51600 to 51601
2020-05-21 02:15:28.842 [ome.event.ItemCommandEvent] - Item 'DenOverride' received command OFF
2020-05-21 02:15:28.844 [ome.event.ItemCommandEvent] - Item 'LivingRoomOverride' received command OFF
2020-05-21 02:15:28.845 [ome.event.ItemCommandEvent] - Item 'MovieMode' received command OFF
2020-05-21 02:15:28.848 [ome.event.ItemCommandEvent] - Item 'DaylightHours' received command OFF
2020-05-21 02:15:28.850 [ome.event.ItemCommandEvent] - Item 'AwayMode' received command OFF
2020-05-21 02:15:28.852 [ome.event.ItemCommandEvent] - Item 'MaxBrightness' received command 100
2020-05-21 02:15:28.854 [ome.event.ItemCommandEvent] - Item 'sliderVolume' received command 69
2020-05-21 02:15:28.869 [ome.event.ItemCommandEvent] - Item 'ThermostatSetpoint' received command 70
2020-05-21 02:15:28.871 [ome.event.ItemCommandEvent] - Item 'AutoRefresh' received command ON
2020-05-21 02:15:28.874 [ome.event.ItemCommandEvent] - Item 'BlowerSwitch' received command OFF
2020-05-21 02:15:28.887 [vent.ItemStateChangedEvent] - DenOverride changed from ON to OFF
2020-05-21 02:15:28.889 [nt.ItemStatePredictedEvent] - BlowerSwitch predicted to become OFF
2020-05-21 02:15:28.911 [vent.ItemStateChangedEvent] - BlowerSwitch changed from NULL to OFF
Note: activity at 2020-05-21 02:15:28.842 are my variables initializing in the system startup rule.
System is running on Odroid C2 with 2Gb of RAM and their version of Ubuntu 18.04.
rossko57
(Rossko57)
June 3, 2020, 9:06pm
6
I think you’ll have tolook back a little earlier than 1 second in your events.log
for a clue.
I’ll take a side bet there is a zwave Thing update a few seconds earlier.
Looking over the span of a minute at 02:15 there are nothing but 3 types of messages:
Z-Wave StartFrames changing
Z-Wave FramesAcknowledged changing
Z-Wave nodes updating
Admittedly, it’s a lot of chatter and, now that I’m thinking about it, 2am is my network heal time. Any reason why that would cause OH to run the startup script though and might I expect some sort of error message if something was overflowing or crashing?
5iver
(Scott Rushworth)
June 3, 2020, 10:01pm
8
What you are experiencing may be different. When Items or Things are added/removed/updated, several bindings and the old rule engine will restart, which will cause your startup rule to be triggered. This is a known issue…
opened 06:45PM - 04 Feb 20 UTC
closed 04:24PM - 10 Oct 20 UTC
bug
I believe this is a symptom of issues reported in the forum, where zigbee or zwa… ve are no longer working after upgrading to 2.5. Logs show cyclic binding uninstalls, which is what I am seeing too. When uninstalling an addon, there are other addons being stopped and started. Included in these are zigbee and zwave. Zigbee does not behave well to binding restarts and usually requires an OH restart to get it working properly. Zwave handles binding restarts OK, but it is a resource hog and responsiveness in the zwave network will be much reduced. If this happens repeatedly, then I can understand why people think 2.5 is broken.
I was recently looking into the new icalendar binding and needed to remove the 1.x caldav-command to test something. I noticed in the log and figured it was time to report this. I suspect that zwave and zigbee are restarting due to org.openhab.core.config.serial being restarted. Here is the log...
```
2020-02-04 13:11:54.775 [INFO ] [org.apache.sshd.server.session.ServerUserAuthService] - Session openhab@/127.0.0.1:39180 authenticated
2020-02-04 13:23:53.647 [INFO ] [org.apache.karaf.features.internal.service.FeaturesServiceImpl] - Removing features: openhab-binding-caldav-command1/[1.14.0,1.14.0]
2020-02-04 13:23:55.665 [INFO ] [org.apache.karaf.features.internal.service.FeaturesServiceImpl] - Changes to perform:
2020-02-04 13:23:55.665 [INFO ] [org.apache.karaf.features.internal.service.FeaturesServiceImpl] - Region: root
2020-02-04 13:23:55.665 [INFO ] [org.apache.karaf.features.internal.service.FeaturesServiceImpl] - Bundles to uninstall:
2020-02-04 13:23:55.665 [INFO ] [org.apache.karaf.features.internal.service.FeaturesServiceImpl] - org.openhab.binding.caldav-command/1.14.0
2020-02-04 13:23:55.666 [INFO ] [org.apache.karaf.features.internal.service.FeaturesServiceImpl] - Stopping bundles:
2020-02-04 13:23:55.666 [INFO ] [org.apache.karaf.features.internal.service.FeaturesServiceImpl] - org.openhab.binding.zwave/2.5.2.202001250516
2020-02-04 13:23:57.392 [INFO ] [org.apache.karaf.features.internal.service.FeaturesServiceImpl] - org.openhab.binding.zigbee.telegesis/2.5.2.202001250519
2020-02-04 13:23:57.398 [INFO ] [org.apache.karaf.features.internal.service.FeaturesServiceImpl] - org.openhab.binding.zigbee.xbee/2.5.2.202001250519
2020-02-04 13:23:57.406 [INFO ] [org.apache.karaf.features.internal.service.FeaturesServiceImpl] - org.openhab.binding.zigbee.cc2531/2.5.2.202001250518
2020-02-04 13:23:57.411 [INFO ] [org.apache.karaf.features.internal.service.FeaturesServiceImpl] - org.openhab.core.config.serial/2.5.0
2020-02-04 13:23:57.414 [INFO ] [org.apache.karaf.features.internal.service.FeaturesServiceImpl] - swagger-jersey2-jaxrs/1.5.8.v20160511-1038
2020-02-04 13:23:57.415 [INFO ] [org.apache.karaf.features.internal.service.FeaturesServiceImpl] - reflections/0.9.10.v20160429-1435
2020-02-04 13:23:57.416 [INFO ] [org.apache.karaf.features.internal.service.FeaturesServiceImpl] - io.swagger.jaxrs/1.5.8
2020-02-04 13:23:57.417 [INFO ] [org.apache.karaf.features.internal.service.FeaturesServiceImpl] - com.eclipsesource.jaxrs.provider.swagger/1.1.1.201605111122
2020-02-04 13:23:57.421 [INFO ] [org.apache.karaf.features.internal.service.FeaturesServiceImpl] - org.openhab.binding.caldav-command/1.14.0
2020-02-04 13:23:57.425 [INFO ] [org.apache.karaf.features.internal.service.FeaturesServiceImpl] - org.openhab.core.io.transport.serial.rxtx.rfc2217/2.5.0
2020-02-04 13:23:57.429 [INFO ] [org.apache.karaf.features.internal.service.FeaturesServiceImpl] - org.openhab.binding.zigbee.ember/2.5.2.202001250519
2020-02-04 13:23:57.720 [INFO ] [org.apache.karaf.features.internal.service.FeaturesServiceImpl] - org.openhab.core.io.transport.serial/2.5.0
2020-02-04 13:23:57.731 [INFO ] [org.apache.karaf.features.internal.service.FeaturesServiceImpl] - org.openhab.core.io.transport.serial.rxtx/2.5.0
2020-02-04 13:23:57.734 [INFO ] [org.apache.karaf.features.internal.service.FeaturesServiceImpl] - org.openhab.binding.zigbee/2.5.2.202001250518
2020-02-04 13:23:57.773 [INFO ] [org.apache.karaf.features.internal.service.FeaturesServiceImpl] - Uninstalling bundles:
2020-02-04 13:23:57.773 [INFO ] [org.apache.karaf.features.internal.service.FeaturesServiceImpl] - org.openhab.binding.caldav-command/1.14.0
2020-02-04 13:23:57.780 [INFO ] [org.apache.karaf.features.internal.service.FeaturesServiceImpl] - Refreshing bundles:
2020-02-04 13:23:57.780 [INFO ] [org.apache.karaf.features.internal.service.FeaturesServiceImpl] - com.eclipsesource.jaxrs.provider.swagger/1.1.1.201605111122 (Wired to io.swagger.jaxrs/1.5.8 which is being refreshed)
2020-02-04 13:23:57.781 [INFO ] [org.apache.karaf.features.internal.service.FeaturesServiceImpl] - io.swagger.jaxrs/1.5.8 (Wired to reflections/0.9.10.v20160429-1435 which is being refreshed)
2020-02-04 13:23:57.781 [INFO ] [org.apache.karaf.features.internal.service.FeaturesServiceImpl] - org.openhab.binding.caldav-command/1.14.0 (Bundle will be uninstalled)
2020-02-04 13:23:57.781 [INFO ] [org.apache.karaf.features.internal.service.FeaturesServiceImpl] - org.openhab.binding.zigbee/2.5.2.202001250518 (Wired to org.openhab.core.io.transport.serial/2.5.0 which is being refreshed)
2020-02-04 13:23:57.781 [INFO ] [org.apache.karaf.features.internal.service.FeaturesServiceImpl] - org.openhab.binding.zigbee.cc2531/2.5.2.202001250518 (Wired to org.openhab.core.io.transport.serial/2.5.0 which is being refreshed)
2020-02-04 13:23:57.781 [INFO ] [org.apache.karaf.features.internal.service.FeaturesServiceImpl] - org.openhab.binding.zigbee.ember/2.5.2.202001250519 (Wired to org.openhab.core.io.transport.serial/2.5.0 which is being refreshed)
2020-02-04 13:23:57.781 [INFO ] [org.apache.karaf.features.internal.service.FeaturesServiceImpl] - org.openhab.binding.zigbee.telegesis/2.5.2.202001250519 (Wired to org.openhab.core.io.transport.serial/2.5.0 which is being refreshed)
2020-02-04 13:23:57.782 [INFO ] [org.apache.karaf.features.internal.service.FeaturesServiceImpl] - org.openhab.binding.zigbee.xbee/2.5.2.202001250519 (Wired to org.openhab.core.io.transport.serial/2.5.0 which is being refreshed)
2020-02-04 13:23:57.782 [INFO ] [org.apache.karaf.features.internal.service.FeaturesServiceImpl] - org.openhab.binding.zwave/2.5.2.202001250516 (Wired to org.openhab.core.io.transport.serial/2.5.0 which is being refreshed)
2020-02-04 13:23:57.782 [INFO ] [org.apache.karaf.features.internal.service.FeaturesServiceImpl] - org.openhab.core.config.serial/2.5.0 (Should be wired to: org.openhab.core.io.transport.serial/2.5.0 (through [org.openhab.core.config.serial/2.5.0] osgi.wiring.package; filter:="(&(osgi.wiring.package=org.eclipse.smarthome.io.transport.serial)(version>=2.5.0)(!(version>=3.0.0)))"))
2020-02-04 13:23:57.782 [INFO ] [org.apache.karaf.features.internal.service.FeaturesServiceImpl] - org.openhab.core.io.transport.serial/2.5.0 (Should be wired to: org.openhab.core.io.transport.serial/2.5.0 (through [org.openhab.core.io.transport.serial/2.5.0] osgi.wiring.package; filter:="(osgi.wiring.package=org.eclipse.smarthome.io.transport.serial)"))
2020-02-04 13:23:57.782 [INFO ] [org.apache.karaf.features.internal.service.FeaturesServiceImpl] - org.openhab.core.io.transport.serial.rxtx/2.5.0 (Wired to org.openhab.core.io.transport.serial/2.5.0 which is being refreshed)
2020-02-04 13:23:57.782 [INFO ] [org.apache.karaf.features.internal.service.FeaturesServiceImpl] - org.openhab.core.io.transport.serial.rxtx.rfc2217/2.5.0 (Wired to org.openhab.core.io.transport.serial/2.5.0 which is being refreshed)
2020-02-04 13:23:57.783 [INFO ] [org.apache.karaf.features.internal.service.FeaturesServiceImpl] - reflections/0.9.10.v20160429-1435 (Should be wired to: com.google.guava/18.0.0 (through osgi.wiring.package; filter:="(osgi.wiring.package=com.google.common.base)"; resolution:="optional"))
2020-02-04 13:23:57.783 [INFO ] [org.apache.karaf.features.internal.service.FeaturesServiceImpl] - swagger-jersey2-jaxrs/1.5.8.v20160511-1038 (Wired to io.swagger.jaxrs/1.5.8 which is being refreshed)
2020-02-04 13:23:58.437 [INFO ] [org.apache.karaf.features.internal.service.FeaturesServiceImpl] - Done.
2020-02-04 13:23:57.417 [INFO ] [org.apache.karaf.features.internal.service.FeaturesServiceImpl] - com.eclipsesource.jaxrs.provider.swagger/1.1.1.201605111122
2020-02-04 13:23:57.421 [INFO ] [org.apache.karaf.features.internal.service.FeaturesServiceImpl] - org.openhab.binding.caldav-command/1.14.0
2020-02-04 13:23:57.425 [INFO ] [org.apache.karaf.features.internal.service.FeaturesServiceImpl] - org.openhab.core.io.transport.serial.rxtx.rfc2217/2.5.0
2020-02-04 13:23:57.429 [INFO ] [org.apache.karaf.features.internal.service.FeaturesServiceImpl] - org.openhab.binding.zigbee.ember/2.5.2.202001250519
2020-02-04 13:23:57.720 [INFO ] [org.apache.karaf.features.internal.service.FeaturesServiceImpl] - org.openhab.core.io.transport.serial/2.5.0
2020-02-04 13:23:57.731 [INFO ] [org.apache.karaf.features.internal.service.FeaturesServiceImpl] - org.openhab.core.io.transport.serial.rxtx/2.5.0
2020-02-04 13:23:57.734 [INFO ] [org.apache.karaf.features.internal.service.FeaturesServiceImpl] - org.openhab.binding.zigbee/2.5.2.202001250518
2020-02-04 13:23:57.773 [INFO ] [org.apache.karaf.features.internal.service.FeaturesServiceImpl] - Uninstalling bundles:
2020-02-04 13:23:57.773 [INFO ] [org.apache.karaf.features.internal.service.FeaturesServiceImpl] - org.openhab.binding.caldav-command/1.14.0
2020-02-04 13:23:57.780 [INFO ] [org.apache.karaf.features.internal.service.FeaturesServiceImpl] - Refreshing bundles:
2020-02-04 13:23:57.780 [INFO ] [org.apache.karaf.features.internal.service.FeaturesServiceImpl] - com.eclipsesource.jaxrs.provider.swagger/1.1.1.201605111122 (Wired to io.swagger.jaxrs/1.5.8 which is being refreshed)
2020-02-04 13:23:57.781 [INFO ] [org.apache.karaf.features.internal.service.FeaturesServiceImpl] - io.swagger.jaxrs/1.5.8 (Wired to reflections/0.9.10.v20160429-1435 which is being refreshed)
2020-02-04 13:23:57.781 [INFO ] [org.apache.karaf.features.internal.service.FeaturesServiceImpl] - org.openhab.binding.caldav-command/1.14.0 (Bundle will be uninstalled)
2020-02-04 13:23:57.781 [INFO ] [org.apache.karaf.features.internal.service.FeaturesServiceImpl] - org.openhab.binding.zigbee/2.5.2.202001250518 (Wired to org.openhab.core.io.transport.serial/2.5.0 which is being refreshed)
2020-02-04 13:23:57.781 [INFO ] [org.apache.karaf.features.internal.service.FeaturesServiceImpl] - org.openhab.binding.zigbee.cc2531/2.5.2.202001250518 (Wired to org.openhab.core.io.transport.serial/2.5.0 which is being refreshed)
2020-02-04 13:23:57.781 [INFO ] [org.apache.karaf.features.internal.service.FeaturesServiceImpl] - org.openhab.binding.zigbee.ember/2.5.2.202001250519 (Wired to org.openhab.core.io.transport.serial/2.5.0 which is being refreshed)
2020-02-04 13:23:57.781 [INFO ] [org.apache.karaf.features.internal.service.FeaturesServiceImpl] - org.openhab.binding.zigbee.telegesis/2.5.2.202001250519 (Wired to org.openhab.core.io.transport.serial/2.5.0 which is being refreshed)
2020-02-04 13:23:57.782 [INFO ] [org.apache.karaf.features.internal.service.FeaturesServiceImpl] - org.openhab.binding.zigbee.xbee/2.5.2.202001250519 (Wired to org.openhab.core.io.transport.serial/2.5.0 which is being refreshed)
2020-02-04 13:23:57.782 [INFO ] [org.apache.karaf.features.internal.service.FeaturesServiceImpl] - org.openhab.binding.zwave/2.5.2.202001250516 (Wired to org.openhab.core.io.transport.serial/2.5.0 which is being refreshed)
2020-02-04 13:23:57.782 [INFO ] [org.apache.karaf.features.internal.service.FeaturesServiceImpl] - org.openhab.core.config.serial/2.5.0 (Should be wired to: org.openhab.core.io.transport.serial/2.5.0 (through [org.openhab.core.config.serial/2.5.0] osgi.wiring.package; filter:="(&(osgi.wiring.package=org.eclipse.smarthome.io.transport.serial)(version>=2.5.0)(!(version>=3.0.0)))"))
2020-02-04 13:23:57.782 [INFO ] [org.apache.karaf.features.internal.service.FeaturesServiceImpl] - org.openhab.core.io.transport.serial/2.5.0 (Should be wired to: org.openhab.core.io.transport.serial/2.5.0 (through [org.openhab.core.io.transport.serial/2.5.0] osgi.wiring.package; filter:="(osgi.wiring.package=org.eclipse.smarthome.io.transport.serial)"))
2020-02-04 13:23:57.782 [INFO ] [org.apache.karaf.features.internal.service.FeaturesServiceImpl] - org.openhab.core.io.transport.serial.rxtx/2.5.0 (Wired to org.openhab.core.io.transport.serial/2.5.0 which is being refreshed)
2020-02-04 13:23:57.782 [INFO ] [org.apache.karaf.features.internal.service.FeaturesServiceImpl] - org.openhab.core.io.transport.serial.rxtx.rfc2217/2.5.0 (Wired to org.openhab.core.io.transport.serial/2.5.0 which is being refreshed)
2020-02-04 13:23:57.783 [INFO ] [org.apache.karaf.features.internal.service.FeaturesServiceImpl] - reflections/0.9.10.v20160429-1435 (Should be wired to: com.google.guava/18.0.0 (through osgi.wiring.package; filter:="(osgi.wiring.package=com.google.common.base)"; resolution:="optional"))
2020-02-04 13:23:57.783 [INFO ] [org.apache.karaf.features.internal.service.FeaturesServiceImpl] - swagger-jersey2-jaxrs/1.5.8.v20160511-1038 (Wired to io.swagger.jaxrs/1.5.8 which is being refreshed)
2020-02-04 13:23:58.437 [INFO ] [org.apache.karaf.features.internal.service.FeaturesServiceImpl] - Done.
```
I suspect that the heal is updating some Things which restarts your rules and possibly the entire zwave binding. I suggest disabling your daily zwave network heal and run it manually when you add or move devices.
rossko57
(Rossko57)
June 3, 2020, 10:19pm
9
Search events log for ThingUpdatedEvent
to see if you are hitting the snag described by Scott.
EDIT -
Yes, but an unexpected / unwanted System started
event is not necessarily any kind of error or “crash”. You can trigger one yourself by editing files, for example.
1 Like
I would be willing to bet (and I’m not a gambling man) that this is not the same exact issue as the original post, it has been a really long time since you’ve posted (welcome back) but I’d like to encourage you to start a new thread about your issue Keith, it will help us solve your issue easier
1 Like
scoobydrvr
(Keith Wheaton)
June 4, 2020, 2:02pm
11
Thank you all for the replies. It seems as though there is something else, unrelated to OPs issue.
I’ll implement this and see if the behavior changes.
There are tons of these around the timestamp of the startup rule executing from my Yamaha stereo and Z-Wave things. To your point, I think if this was the cause, I’d be seeing this rule run every time one of these events occurred.
Andrew_Rowe:
I would be willing to bet (and I’m not a gambling man) that this is not the same exact issue as the original post, it has been a really long time since you’ve posted (welcome back) but I’d like to encourage you to start a new thread about your issue Keith, it will help us solve your issue easier
Upon a closer reading, I believe you are correct. I didn’t realize the consistent frequency of my issue until I started digging into logs for replies. Thanks for the welcome, I’ll go start a new thread.
1 Like
rossko57
(Rossko57)
June 4, 2020, 2:30pm
12
Not every ThingUpdatedEvent causes any kind of consequence. It depends on the Thing involved, and what changed. zwave Things seem to be culprits sometimes, but you only need one for the effect you’ve seen.
By way of further explanation, these ThingUpdatedEvent are about the properties of the Thing. Not the status like online/offline, which are different events.
So something fundamental changes - I don’t know what, but say a zwave device reports different channels available to what you have configured.
In order for those changes to take effect, some services will need a kick in the pants of some kind. Like when you edit a Thing, and a binding might need to reinitialise it.
At OH 2.5 there seems to be more re-init activity around this than there used to be.
Seeing “tons” of these might be about symptoms, not original trigger.
A recent thread highlighted that a change in zwave binding taken together with a Thing defined under an earlier version could be linked to this kind of problem.
1 Like
Termineo
(Rainer)
August 6, 2020, 7:53pm
13
After two month and many time of analyzing / waiting until the error appears again / analyzing again I just wanted to give a short feedback: I identified and solved the problem.
Additionally to openHAB I had one other software installed on the Pi to control my access point. Also every few days I ran an automatical backup on the OH installation.
After analyzing the memory usage I found out: The access point software search for updates every Wednesday and Saturday night. Sometimes (every few weeks) I now had the situation, that the OH backup was still running when the AP software started updating. Because of an memory overflow openHAB froze / restarted.
Thanks to all for the great support!!!
2 Likes