Lately I sporadically encounter system crashes (either knx binging suddenly stops to work or full system breaks down). My question is: Which logs do I have to investigate and what should be the logging settings. So far I looked into events.log and openhab.log. Log Setting for events and for knx are:
log:set DEBUG org.openhab.binding.knx
and
log:set DEBUG calimero
However, so far I could not see much in order to get a hint what could be the root cause, i.e. logging just sopped without a hint.
Does anybody have a tip how to log in order to get some ideas on casues?
Thanks a lot for taking this up. In my case openhab2 is running on a raspberrypi on a ophabian installation. I also found some further log files in /var/log/ but I have no clue what to best investigate in case of a system crash.
Hmm, I know Modbus but I don’t know if KNX works serial or via Network TCP/UDP.
I would take a look if the serial/network has a problem and if so, does this behavior appear when a disconnect happens.
(I try to reconnect but get stuck in an endless loop and crash the system like that)
Does the system have enough space or does he get stuck writing logs?
Is the power input stable?
Take a look at the process list RAM usage etc. / Log it maybe something else caused a stuck system
Is the SD-Card still working? (I assume yes since you can reboot your system and it works again)
Try to think like the system, what can cause myself to get stuck or crash.
Since lately my system crashes sporadically. When I go in the syslog file I see that roughly 30-50 messages as below are being logged, before system crashes: