[
https://issues.apache.org/jira/browse/NIFI-5043?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16427382#comment-16427382
]
ASF GitHub Bot commented on NIFI-5043:
--------------------------------------
Github user mgaido91 commented on the issue:
https://github.com/apache/nifi/pull/2606
Thank you for taking a look at this and reviewing it, @markap14!
> 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)