[
https://issues.apache.org/jira/browse/NIFI-5043?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16427349#comment-16427349
]
ASF GitHub Bot commented on NIFI-5043:
--------------------------------------
Github user markap14 commented on the issue:
https://github.com/apache/nifi/pull/2606
@mgaido91 thanks for addressing this! And the JIRA did a good job of
explaining exactly what the issue is, as well as how to detect that the issue
was present. Was able to detect the issue on master, then running the PR was
able to ensure that the issue is no longer present. Otherwise, the code looks
good and the changes make sense. +1 merged to master. Thanks again!
> TailFile opens and never closes readers in Multiple Files mode
> --------------------------------------------------------------
>
> Key: NIFI-5043
> URL: https://issues.apache.org/jira/browse/NIFI-5043
> Project: Apache NiFi
> Issue Type: Bug
> Reporter: Marco Gaido
> Assignee: Marco Gaido
> Priority: Critical
> Fix For: 1.7.0
>
>
> 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.
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)