Logic Machine Forum
Random restarts - Printable Version

+- Logic Machine Forum (https://forum.logicmachine.net)
+-- Forum: LogicMachine eco-system (https://forum.logicmachine.net/forumdisplay.php?fid=1)
+--- Forum: General (https://forum.logicmachine.net/forumdisplay.php?fid=2)
+--- Thread: Random restarts (/showthread.php?tid=2168)



Random restarts - zoltan - 25.07.2019

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.


RE: Random restarts - Daniel - 25.07.2019

What about Memory ?


RE: Random restarts - zoltan - 26.07.2019

(25.07.2019, 08:12)Daniel. Wrote: What about Memory ?
Mostly free. I don't have the exact values now, but it is low utilization.
I wanted to put all system values in trends to see what causes the reboot, but can't find a method. I can feed the values to external bacnet device that is not affected by reboots.

I'm also not sure is it something o. LM or external, the logs could give a clue about that.


RE: Random restarts - Daniel - 26.07.2019

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)



RE: Random restarts - Thomas - 16.08.2019

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.


RE: Random restarts - zoltan - 16.08.2019

(16.08.2019, 08:31)Thomas Wrote: 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.
Yes, that is true.
But I can't see where can a packet loop materialise. TP is terminated on the N146/02, from there only ethernet to the switch where everything is connected together.
If the TP is bridged somewhere, or the LM has both IP and TP connections I can understand, but it is not.