![]() |
LM reboots - Printable Version +- Logic Machine Forum (https://forum.logicmachine.net) +-- Forum: LogicMachine eco-system (https://forum.logicmachine.net/forumdisplay.php?fid=1) +--- Forum: Scripting (https://forum.logicmachine.net/forumdisplay.php?fid=8) +--- Thread: LM reboots (/showthread.php?tid=6012) |
LM reboots - gdimaria - 03.06.2025 This morning the LM restarted 8 times at a distance of 2/3 minutes from each other. I know this because I have inserted a init script that sends an email. However, the system only recorded in the Alert the last "system start" reboot, why didn't it log in all the reboots? And what can be the cause of reboots apart from CPU overload? BR Peppe RE: LM reboots - Daniel - 03.06.2025 Anything what happens during first 30 min after reboot will not be saved if reboot happens again. This is how often data is saved on the sd card. Reboot is most likely memory issue. RE: LM reboots - gdimaria - 04.06.2025 (03.06.2025, 17:33)Daniel Wrote: Anything what happens during first 30 min after reboot will not be saved if reboot happens again. This is how often data is saved on the sd card. Reboot is most likely memory issue. nginx is always on the top of memory usage, maybe because a lot of people are logged at same time. is it possible to force writing on sd card by a script? I could put it in init script.... RE: LM reboots - Daniel - 04.06.2025 The 30 min rule is for a reason, often saving will shorten lifespan of SD and brake LM. How many users at the same time? RE: LM reboots - gdimaria - 04.06.2025 (04.06.2025, 08:06)Daniel Wrote: The 30 min rule is for a reason, often saving will shorten lifespan of SD and brake LM. How many users at the same time? sometimes could be 10 or more users...and I guess they have more than a browser card open at time. about the 30 min rule, I can understand. But I would run it only in case of reboot. RE: LM reboots - Erwin van der Zwart - 04.06.2025 Taking away a symptom without addressing the origin / root cause / putting a bandage in place is a bad approach.. You should look into the reasons of the restarts as the controller should run 24/7 without the need of extra savings to SD what certainly leads to a short lifetime span.. RE: LM reboots - gdimaria - 08.06.2025 (04.06.2025, 21:03)Erwin van der Zwart Wrote: Taking away a symptom without addressing the origin / root cause / putting a bandage in place is a bad approach.. I agree with you, but that is long time issue without solution: https://forum.logicmachine.net/showthread.php?tid=5800&pid=37448#pid37448 I tried everything to understand the reason for these overloads. I also trended the cpu and memory load, but it all seems absolutely random. RE: LM reboots - Daniel - 09.06.2025 If this graph is correct then your CPU is very high. RE: LM reboots - gdimaria - 09.06.2025 (09.06.2025, 07:00)Daniel Wrote: If this graph is correct then your CPU is very high. yes, that is... Code: -- Indirizzo oggetto virtuale the way I get the cpu load RE: LM reboots - gdimaria - 05.07.2025 Reboots lately are more and more frequent, and it is not a temperature problem because the CED is air-conditioned. After trying to optimize the execution of the multiple scripts, I just have to think that the number of users who connect at the same time also has an influence. Is there no way to limit user access at the same time, or at least to warn you that you are reaching the limit? I see from the "system load" that the nginx process is often on top of cpu/memory consumption. Thanks for you attention Peppe RE: LM reboots - Daniel - 07.07.2025 If one LM cannot handle it then the only way is to divide project into two. RE: LM reboots - AEK - 10.07.2025 (05.07.2025, 12:01)gdimaria Wrote: Reboots lately are more and more frequent, and it is not a temperature problem because the CED is air-conditioned.share KNX statistic screen, maybe you have loop between event scripts maybe system load app could show you the problem |