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.

Ip dropout
#1
Having a bit of an issue with a brand new Logic Machine 5.
Have set it up and knx tp is up and running. 

The latest days it loses its ip. So i cant connect to it. 
Taking out 24v and data cabel. And reconnecting it that way it some times comes back. And stays normal for some hours. 
Then again it loses its connection. And i cant connect to it. 
Leds are blinking and everything seems normal. But cant connect on ip. 

Advanced ip scanner shows that LM is offline. Restarting described above brings it back up. Tested ip and thats not the problem. 

Running latest firmware.

Any tips on what to try, have many other LM5 and have never seen this.
Reply
#2
I would bet that device has full memory and it keeps rebooting. Factory reset would help if you have backup.
------------------------------
Ctrl+F5
Reply
#3
(20.11.2020, 13:47)Daniel. Wrote: I would bet that device has full memory and it keeps rebooting. Factory reset would help if you have backup.
Device is brand new. Up and running for about a week. Memory and Cpu seems fine. Nothing in error log. 
Today again it was offline. Got the client to restart it. Now up again until next time. 


   
Reply
#4
I would monitor it over time as you see it only after reboot. Try this script
Code:
data = io.readfile('/proc/meminfo')
load = io.readfile('/proc/loadavg'):split(' ')[ 1 ]

memtotal = data:match('MemTotal:%s+(%d+)')
memavail = data:match('MemAvailable:%s+(%d+)')
memusage = math.floor((memtotal - memavail) / memtotal * 1000) / 10

log(load, memusage)
------------------------------
Ctrl+F5
Reply
#5
Just run it once, and doesnt matter what type i run it as?
Reply
#6
You should run it periodically over time.
------------------------------
Ctrl+F5
Reply
#7
I put it as resident script then. Seems like its giving values.

Attached Files Thumbnail(s)
       
Reply
#8
Keep checking it periodically or create a trend. We want to see if it is not growing over time.
------------------------------
Ctrl+F5
Reply
#9
How would i be able to create a trend from this script. I see the "number" value increasing. The rest is steady.
Reply
#10
Just write the values in log to two objects.
------------------------------
Ctrl+F5
Reply
#11
I guess for you guys this is kindergarden stuff Smile

But was trying to do this, but see that i need some help.
What is the simplest way to write make this script lines.

I created 2 virtual adresses, and then tried using grp.update with the Memtotal name inserted. But then i dont see how i can send it to correct virtual adress.
And i guess the grp.update is incorrect aswell. But learning by doing i guess.
A final push in the right direction ?
Reply
#12
Create two objects with 2byte floating dpt, In my example they have names CPU and Memory

Code:
data = io.readfile('/proc/meminfo')
load = io.readfile('/proc/loadavg'):split(' ')[ 1 ]

memtotal = data:match('MemTotal:%s+(%d+)')
memavail = data:match('MemAvailable:%s+(%d+)')
memusage = math.floor((memtotal - memavail) / memtotal * 1000) / 10

log(load, memusage)

grp.update('CPU', load)

grp.update('Memory', memusage)
------------------------------
Ctrl+F5
Reply
#13
Today it happened again. 2 strange times marked in picture. During this time i cant log in via IP.

   
Reply
#14
The numbers are good, Maybe you have IP conflict? Try changing the IP.
------------------------------
Ctrl+F5
Reply
#15
(24.11.2020, 14:04)Daniel. Wrote: The numbers are good, Maybe you have IP conflict? Try changing the IP.
In the beginning it was set to dhcp. After issue started i put it to static. Its a technical net, so we are sure that no other has this address.
Reply
#16
I have no other ideas. It looks like hardware issue. Ask for replacement.
------------------------------
Ctrl+F5
Reply


Forum Jump: