LogicMachine Forum
System overload - Printable Version

+- LogicMachine 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: System overload (/showthread.php?tid=6494)



System overload - stonecroft - 01.07.2026

Hello.
I have a LM indicating overload (CPU/IO is red values).
.pdf   system load.pdf (Size: 3.53 KB / Downloads: 5)
The main task of the device is as a Modbus TCP slave to a higher-level system.
I use the script from the documentation and examples.
https://kb.logicmachine.net/integration/modbus-rtu-tcp-slave/
In the system load app, this script is the one that consumes the most (about 50%) cpu.

How many registers can be mapped?



RE: System overload - admin - 01.07.2026

It's more about how often the registers are polled and the number of reads per each poll. How many registers do you have and what is the polling rate?


RE: System overload - stonecroft - 01.07.2026

I have about 400 registers. I don't knew the scada sysstems polling rate, can I check it from LM side?


RE: System overload - admin - 01.07.2026

You can add some logging to the handler(sock) function. But this produce extra load too.


RE: System overload - stonecroft - 01.07.2026

I will contact the scada system company and ask for polling rate.
Witch is the preferd rate for LM?


RE: System overload - admin - 01.07.2026

It should be lowered at least 2x from the current rate.


RE: System overload - stonecroft - 01.07.2026

I'm in contact with the scada system company now and the polling interval is 250 ms and it seems that they can't change this.
They will test to read only 16 registers at the same time.
As a test I want to put some logging in the handler, how to do it?