[
https://issues.apache.org/jira/browse/NIFI-7114?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17032798#comment-17032798
]
Joe Witt commented on NIFI-7114:
--------------------------------
In the attached lsof output there is no indication of a file leak. The
nars/jars are all expected/normal. That appears to leave only about 120 or
other entries.
Can you please show lsof entry at some period of time. Wait some other period
of time such as an hour and get another lsof output. If there is a file leak
we'll see it there and see what type of thing it is.
Another person reported something similar with sockets leaking. But
replicating this scenario so far yields not results and the other person could
not provide lsof output or more details so you're our best chance of figuring
out what is going on here at this time.
> NiFi not closing file handles
> -----------------------------
>
> Key: NIFI-7114
> URL: https://issues.apache.org/jira/browse/NIFI-7114
> Project: Apache NiFi
> Issue Type: Bug
> Components: Configuration
> Affects Versions: 1.10.0, 1.11.0
> Environment: Amazon EC2 running either Amazon Linux 2 or Ubuntu 18.04.
> NiFi has been installed with no change to any configuration file.
> Reporter: Vinicius Zolin
> Priority: Major
> Fix For: 1.8.0
>
> Attachments: lsof.log
>
>
> Since at least version 1.10 NiFi stopped closing file handles. It opens circa
> 500 files per hour (measured using lsof) without any apparent limit until it
> crashes due to too many open files.
>
> Increasing the computer open file limit is not a solution since NiFi will
> still crash, it'll only take longer to do so.
--
This message was sent by Atlassian Jira
(v8.3.4#803005)