[ 
https://issues.apache.org/jira/browse/NIFI-5043?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16427336#comment-16427336
 ] 

ASF subversion and git services commented on NIFI-5043:
-------------------------------------------------------

Commit c119547222514cf09dd457f0f21b54b307f5f56d in nifi's branch 
refs/heads/master from [~mgaido]
[ https://git-wip-us.apache.org/repos/asf?p=nifi.git;h=c119547 ]

NIFI-5043: TailFile in Multifile mode should not open new readers in onTrigger

This closes #2606.

Signed-off-by: Mark Payne <[email protected]>


> 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
>
> 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)

Reply via email to