This forum uses cookies
This forum makes use of cookies to store your login information if you are registered, and your last visit if you are not. Cookies are small text documents stored on your computer; the cookies set by this forum can only be used on this website and pose no security risk. Cookies on this forum also track the specific topics you have read and when you last read them. Please confirm that you accept these cookies being set.

modbus polling and cpu overcharging
#1
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
Reply
#2
Install System load app and check which process is consuming max CPU/RAM.
Reply
#3
(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).

Attached Files Thumbnail(s)
   
Reply
#4
The CPU is nice and low. You should wait till the high CPU happens.
------------------------------
Ctrl+F5
Reply
#5
(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!

Attached Files Thumbnail(s)
   
Reply
#6
(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
Reply
#7
Send me your backup to PM.
------------------------------
Ctrl+F5
Reply
#8
(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
Reply
#9
It was never there, use some cloud storage and send me a link.
------------------------------
Ctrl+F5
Reply
#10
(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

Attached Files Thumbnail(s)
       
Reply
#11
This is KNX TP UART chip temperature not the CPU itself.
https://forum.logicmachine.net/showthrea...8#pid13948
------------------------------
Ctrl+F5
Reply


Forum Jump: