News:

  • August 21, 2026, 05:25:18 PM

Login with username, password and session length

Author Topic: Queues Flushed Message  (Read 8519 times)

davidbgtx

  • Hero Member
  • *****
  • Posts: 215
  • Host be the Most
Queues Flushed Message
« on: March 27, 2018, 09:24:13 AM »
What does this warning mean and should I be concerned?
One or more user network devices was forcibly purged to free network resources - $QueuesFlushed (ST145)

BobO

  • Host Moderator
  • Hero Member
  • *****
  • Posts: 6172
  • Yes Pinky, Do-more will control the world!
Re: Queues Flushed Message
« Reply #1 on: March 27, 2018, 10:00:57 AM »
It means that all of the packet buffers in the TCP/IP stack were full, and in an effort to keep your world happy, we forced FIFOs to empty. It loses data, but keeps comm comm-ing. Check $EthDroppedPkts(DST40) and $EthStoppedIntr(DST41). On a clean network, they should stay fairly low. If they aren't, there might be some traffic we care about.

Now what it really means can vary, but generally it means that one or more open ports are not getting serviced. That could be:
1. You created a UDP or TCP device, which something out there is sending packets to, but you aren't doing anything in the program.
2. There was a data storm that caused the FIFOs to fill up faster than we could process them.
3. We have an open port that I'm not aware of, and something on your network is sending packets to that port.

If it is #1, you need to either delete the device or do something with it.

If it is #2, there may not be anything to do. I would expect the DST registers I mentioned above to have relevant info.

If it is #3, then yes, we should be concerned and really need to get to the bottom of 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

davidbgtx

  • Hero Member
  • *****
  • Posts: 215
  • Host be the Most
Re: Queues Flushed Message
« Reply #2 on: March 29, 2018, 02:52:23 PM »
It means that all of the packet buffers in the TCP/IP stack were full, and in an effort to keep your world happy, we forced FIFOs to empty. It loses data, but keeps comm comm-ing. Check $EthDroppedPkts(DST40) and $EthStoppedIntr(DST41). On a clean network, they should stay fairly low. If they aren't, there might be some traffic we care about.

Now what it really means can vary, but generally it means that one or more open ports are not getting serviced. That could be:
1. You created a UDP or TCP device, which something out there is sending packets to, but you aren't doing anything in the program.
2. There was a data storm that caused the FIFOs to fill up faster than we could process them.
3. We have an open port that I'm not aware of, and something on your network is sending packets to that port.

If it is #1, you need to either delete the device or do something with it.

If it is #2, there may not be anything to do. I would expect the DST registers I mentioned above to have relevant info.

If it is #3, then yes, we should be concerned and really need to get to the bottom of it.

In regard to #1 - I setup 3 Modbus TCP Clients (see pics) but only use one at a time. This is a portable unit and whichever of the 3 machines it is connected to that is the only one I read/write to. See my rung in pic, is this wrong way to do it.
« Last Edit: April 01, 2018, 05:22:13 PM by davidbgtx »

davidbgtx

  • Hero Member
  • *****
  • Posts: 215
  • Host be the Most
Re: Queues Flushed Message
« Reply #3 on: March 29, 2018, 03:17:55 PM »
1st part of rung 8, missed it in previous post
« Last Edit: March 29, 2018, 04:14:19 PM by davidbgtx »