Uploaded image for project: 'Apache NiFi'
  1. Apache NiFi
  2. NIFI-6031

ListenTCP processor does not release connections if client disconnects abruptly

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 1.5.0
    • Fix Version/s: 1.9.0
    • Component/s: Core Framework
    • Labels:
      None

      Description

      If a client connected to ListenTCP processor, gets disconnected abruptly:
      (eg.: they disconnected their VPN to NiFi's network), the client-TCP-socket on the NiFi node will be seen lingering for an extended amount of time (eg.: such socket can linger in established state even after 12 hours after disconnection)

      Or till a manual workaround is done: the ListenTCP processor is restarted.

      An ideal fix would be to allow the underlying OS to poll the socket if the remote side is still alive, and disconnect it if not.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                andrewsmith87 Endre Kovacs
                Reporter:
                andrewsmith87 Endre Kovacs
              • Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:

                  Time Tracking

                  Estimated:
                  Original Estimate - Not Specified
                  Not Specified
                  Remaining:
                  Remaining Estimate - 0h
                  0h
                  Logged:
                  Time Spent - 50m
                  50m