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

ListenTCP processor does not release connections if client disconnects abruptly

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Minor
    • Resolution: Fixed
    • 1.5.0
    • 1.9.0
    • Core Framework
    • 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

              andrewsmith87 Endre Kovacs
              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