News:

  • August 12, 2026, 04:12:11 AM

Login with username, password and session length

Author Topic: ModbusTCPServer - Possibly Locked up  (Read 79849 times)

BobO

  • Host Moderator
  • Hero Member
  • *****
  • Posts: 6170
  • Yes Pinky, Do-more will control the world!
Re: ModbusTCPServer - Possibly Locked up
« Reply #60 on: March 02, 2022, 09:53:02 AM »
I'm bumping this again to see if those who have installed Version 2.9 have seen this issue resolved (or at least apparently resolved). I've upgraded some of my stuff to 2.9 but haven't had things on long enough to see if there are still comms issues.

I'm curious as well, but we're pretty sure we know what was causing that. With the right test we were easily able to dupe it.
"It has recently come to our attention that users spend 95% of their time using 5% of the available features. That might be relevant." -BobO

Mike@Forshock

  • Sr. Member
  • ****
  • Posts: 58
Re: ModbusTCPServer - Possibly Locked up
« Reply #61 on: February 24, 2023, 12:38:38 PM »
So, we are still having this issue on 2.9.6.  Perhaps not as frequent, but it is still interrupting our processes.

Two BRX on 2.9.6 on a licensed radio link (9.6kbps...) using Modbus TCP.  Request is sent every minute, it has had more interruptions due to poor weather.  Causes are not limited to "no reponse", can also add old/non-updated data. 

Additionally, have other units on 2.9.6 with Modbus TCP links over WiFi type radios, that when we get a series of comms fails it stops updating.  These are typicall 10-20Mbps, but do experience a random loss here and there.  These stop responding to update requests from the Master unit.

EDIT:  Only solution is to powercycle or force REBOOT

BobO

  • Host Moderator
  • Hero Member
  • *****
  • Posts: 6170
  • Yes Pinky, Do-more will control the world!
Re: ModbusTCPServer - Possibly Locked up
« Reply #62 on: February 24, 2023, 01:00:19 PM »
So, we are still having this issue on 2.9.6.  Perhaps not as frequent, but it is still interrupting our processes.

Two BRX on 2.9.6 on a licensed radio link (9.6kbps...) using Modbus TCP.  Request is sent every minute, it has had more interruptions due to poor weather.  Causes are not limited to "no reponse", can also add old/non-updated data. 

Additionally, have other units on 2.9.6 with Modbus TCP links over WiFi type radios, that when we get a series of comms fails it stops updating.  These are typicall 10-20Mbps, but do experience a random loss here and there.  These stop responding to update requests from the Master unit.

EDIT:  Only solution is to powercycle or force REBOOT

We identified an issue in the TCP stack where unstable radios could cause the listening socket to get hung for a long time, on the order of 20 minutes. If the issue that got us there to start with continued constantly, the socket would appear to freeze indefinitely. The specific condition that causes it is to receive two duplicate TCP SYNC frames, and then the client give up on the connection. It doesn't appear to be as common when the client connects to the server and stays connected, but since many radio remotes are connecting and disconnecting every time they read, it appears to happen more frequently there. This never happens on wired connections, which is why it has been almost impossible for us to duplicate.

We have a fix in beta if you'd like to try it.

« Last Edit: February 24, 2023, 01:07:49 PM by BobO »
"It has recently come to our attention that users spend 95% of their time using 5% of the available features. That might be relevant." -BobO

Mike@Forshock

  • Sr. Member
  • ****
  • Posts: 58
Re: ModbusTCPServer - Possibly Locked up
« Reply #63 on: February 24, 2023, 01:38:12 PM »
Kinda already running beta now so... Send it over  :P