Clients losing connection at random

  1. High memory usage could be the issue. If you have lots of clients, and they're all continuously doing expensive IO operations (SQL Queries, blocking tag reads/writes, alarm status queries etc.) (especially in transform scripts), it could overload your gateway. I'd read this post for some refactoring inspiration if needed: Building for Performance - #3 by lrose

  2. This could also be an issue with network connectivity. If the network that your gateway lives on is noisy and congested, your gateway could experience issues. I've seen gateways slow down and behave weird when the network used for the connection to the redundant gateway was heavily congested. I'd suggest running a packet capture on the gateway server and looking for big blocks of TCP retransmissions.

  3. Consider contacting support. They can help you diagnose an issue such as this.

1 Like