Logic Machine Forum
modbus polling and cpu overcharging - Printable Version

+- Logic Machine Forum (https://forum.logicmachine.net)
+-- Forum: LogicMachine eco-system (https://forum.logicmachine.net/forumdisplay.php?fid=1)
+--- Forum: Gateway (https://forum.logicmachine.net/forumdisplay.php?fid=10)
+--- Thread: modbus polling and cpu overcharging (/showthread.php?tid=5800)



modbus polling and cpu overcharging - gdimaria - 20.12.2024

hi,
I have a LM whose CPU is often overloaded (it even restarts!).
I have analyzed every possible cause, including infinite loop scripts, but nothing. 
The only thing I notice is a continuous telegram traffic from an external modbus gateway to which several devices are connected. 
There are several telegrams frequently updated and/or repeated. 
Could this be the cause of the overload?
Is it possible to monitor the CPU load trend to determine when it overloads?

Thanks in advance

Peppe


RE: modbus polling and cpu overcharging - admin - 20.12.2024

Install System load app and check which process is consuming max CPU/RAM.


RE: modbus polling and cpu overcharging - gdimaria - 21.12.2024

(20.12.2024, 09:43)admin Wrote: Install System load app and check which process is consuming max CPU/RAM.

I already done, those ones are always in pole position... enspecially nginx (there are several users simultaneously pointing their browser to LM).