Posts: 75
Threads: 17
Joined: Jan 2016
Reputation:
4
Hi,
On this new installation the LM is randomly restarting for a last few days. But only a few times a day. Load averages: 0.49 0.45 0.36 at the moment.
It here any way to catch the reboot cause? TP is not connected, KNX connection is via N146/02, no visu, just a few scipts.
Posts: 4638
Threads: 24
Joined: Aug 2017
Reputation:
207
What about Memory ?
------------------------------
Ctrl+F5
Posts: 4638
Threads: 24
Joined: Aug 2017
Reputation:
207
You can try to log CPU/IO and memory but if device just reboot you could loose up to last 30 mins.
It could be also HW issue.
Code:
data = io.readfile('/proc/meminfo')
load = io.readfile('/proc/loadavg'):split(' ')[ 1 ]
memtotal = data:match('MemTotal:%s+(%d+)')
memavail = data:match('MemAvailable:%s+(%d+)')
memusage = math.floor((memtotal - memavail) / memtotal * 1000) / 10
log(load, memusage)
------------------------------
Ctrl+F5
Posts: 411
Threads: 103
Joined: Oct 2016
Reputation:
9
According to my experience KNX packet loop through multicast IP triggers reboot very quickly. Plus you lost evidence and the source of the problem which makes it hard to discover the issue.
LM5Lp, firmware: 2018.08.22 and 2021.12.15, FlashSYS v2, ARMv7 Processor rev 5 (v7l), kernel 4.4.151 and 4.4.259