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

TailFile opens and never closes readers in Multiple Files mode

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Critical
    • Resolution: Fixed
    • None
    • 1.7.0
    • None
    • 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

        Issue Links

          Activity

            People

              mgaido Marco Gaido
              mgaido Marco Gaido
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: