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).


RE: modbus polling and cpu overcharging - Daniel - 23.12.2024

The CPU is nice and low. You should wait till the high CPU happens.


RE: modbus polling and cpu overcharging - gdimaria - 23.12.2024

(23.12.2024, 08:52)Daniel Wrote: The CPU is nice and low. You should wait till the high CPU happens.

It's hard to take a screenshot when it peaks. However, nginx is always very high in that case.. as the signed others.

Often CUP/IO gets 3.50 and more... until it reboots!


RE: modbus polling and cpu overcharging - AEK - 24.12.2024

(23.12.2024, 18:56)gdimaria Wrote:
(23.12.2024, 08:52)Daniel Wrote: The CPU is nice and low. You should wait till the high CPU happens.

It's hard to take a screenshot when it peaks. However, nginx is always very high in that case.. as the signed others.

Often CUP/IO gets 3.50 and more... until it reboots!

It seems like you have loop in scripts or somthing like that. you have very high knx tp load/
make objects sort order by update time and see what GA often updates


RE: modbus polling and cpu overcharging - Daniel - 24.12.2024

Send me your backup to PM.


RE: modbus polling and cpu overcharging - gdimaria - 24.12.2024

(24.12.2024, 09:18)Daniel Wrote: Send me your backup to PM.


 I can't find the attachement button anymore in PM interface... Huh


RE: modbus polling and cpu overcharging - Daniel - 24.12.2024

It was never there, use some cloud storage and send me a link.


RE: modbus polling and cpu overcharging - gdimaria - 02.01.2025

(24.12.2024, 10:30)Daniel Wrote: It was never there, use some cloud storage and send me a link.


Referring to our PM:



I meant It would be nice to be able to associate a virtual object to the cpu/memory load, as is already possible with the cpu temperature. In order to be able to trend and thus understand the exact moments in which it overloads


RE: modbus polling and cpu overcharging - Daniel - 02.01.2025

This is KNX TP UART chip temperature not the CPU itself.
https://forum.logicmachine.net/showthread.php?tid=2233&pid=13948#pid13948