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

TailFile opens and never closes readers in Multiple Files mode

Attach filesAttach ScreenshotVotersWatch issueWatchersCreate sub-taskLinkCloneUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Critical
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 1.7.0
    • Component/s: None
    • Labels:
      None

      Description

      When Multiple File is set as Tailing Mode, TailFile tries to recover the state every time it is triggered, as if it were recovering from a restart. In this way, it opens a new reader every time for every file and it never closes them.

      This situation can easily be diagnosticated running lsof: the number of open handles keep increasing for every TailFile trigger.

        Attachments

          Activity

            People

            • Assignee:
              mgaido Marco Gaido
              Reporter:
              mgaido Marco Gaido

              Dates

              • Created:
                Updated:
                Resolved:

                Issue deployment