Posts: 39
Threads: 18
Joined: Mar 2022
Reputation:
0
Hello,
Some of my LMs reboot unexpectedly. No error seem to happen in the Errors log. I have a KNX object that counts the restart of the LM and I can see that it restarts about 3 times a day. I have another object used for storing the value of 15-minute average CPU load, and I don't see this load growing abnormally before the unexpected restarts.
When I go into system config > Status > System logs, I can only see the system logs since the last restart, so I can't know what happened just before the restart.
Would there be any way to understand what caused the LM to reboot?
Posts: 4947
Threads: 28
Joined: Aug 2017
Reputation:
226
What about memory?
------------------------------
Ctrl+F5
Posts: 39
Threads: 18
Joined: Mar 2022
Reputation:
0
I don't know. I will try to write RAM usage into a KNX object at regular intervals and see if there are memory leaks happening. Thanks for the suggestion.
Posts: 8090
Threads: 43
Joined: Jun 2015
Reputation:
471
If you have an unexpected reboot due to the out-of-memory condition then the system won't be able save last object values. If you have multiple LMs then you can monitor one LM from another by exchanging values via KNX/IP.
Posts: 167
Threads: 20
Joined: Apr 2017
Reputation:
2
25.02.2023, 11:10
(This post was last modified: 25.02.2023, 11:20 by Dré.)
I have a simulair problem with a Wiser.
I don't see any high CPU or memory.
I sent me CPU load to Influx I have every day 1 higher load of 22% at 12am because for saving energy values.
But that is not the time of the problems.
my current value's
CPU/IO: 0.18 0.08 0.02, Memory: 22%, KNX/TP: OK
I have 2 Wiser @home.
first I was testing with 2 of the same programs, but I disabled all script at the 2nd Wiser, these didn't show any problem. (1st show restarts).
Then I run the 2nd Wiser with all scripts run and both show restarts (not at the same time, but simulair).
Now I'm so far it looks like it one of the script who run for raining and or wind.
But these scripts don't create a high CPU. (as far I see)
if it is desired, I could share the 5 scripts.
Posts: 120
Threads: 24
Joined: Sep 2021
Reputation:
2
Hi @all,
I also experiencing system reboots every 10-15 days but I changed nothing in the setup or scripting. Load and memory is between 0.3-0.7 and 40% memory.
How can I find the reason for the restart? Is there a log file stored somewhere? In the fault logs nothing is being raised.
Many thanks for your help!
Best regards
Steffen
Posts: 4947
Threads: 28
Joined: Aug 2017
Reputation:
226
Look for any errors, big amount of logs. It will be very hard to figure it out if it happens so rarely
------------------------------
Ctrl+F5
Posts: 4947
Threads: 28
Joined: Aug 2017
Reputation:
226
Try using scheduled script instead of resident.
------------------------------
Ctrl+F5
Posts: 1794
Threads: 6
Joined: Jul 2015
Reputation:
120
Also the user lib round is not needed (no idea what the content is) but you can simply use math.round(...)
Posts: 120
Threads: 24
Joined: Sep 2021
Reputation:
2
Hi Daniel,
hi Erwin,
many thanks for your reply.
I switched four resident scripts to scheduled script and in the "system load app" I saw a massive reduction in the memory consumption by 30%.
BUT when I look in the configurator app bottom right the "memory" value was unchanged. What is this value referring to? How can I look inside this value, which process/script is consuming what amount of memory?
Many thanks for your help!
Best Regards
Steffen
Posts: 4947
Threads: 28
Joined: Aug 2017
Reputation:
226
System Load app is the best tool to look on individual processes.
------------------------------
Ctrl+F5