[
https://issues.apache.org/jira/browse/NIFI-7114?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17037236#comment-17037236
]
Elli Schwarz commented on NIFI-7114:
------------------------------------
[~joewitt] We use RAW connections with TLS. In the past hour, the number of
open files that meet the above pattern increased from 17,409 to 18,540. Again,
this is only for the open files that meet the pattern I posted earlier! And
since we have several site to sites, you can see how this problem is
compounded, with the different site to sites increasing open files.
We did not have this issue when we were on Nifi 1.9.2. It happened after we
upgraded to 1.11.0 and since then our Nifis with a lot of site to sites have
this issue.
Thanks for your help investigating this problem!
> 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
> Attachments: destination.xml, lsof.log, lsof.zip, lsofAfter.log,
> lsofBefore.log, openFiles.xlsx, source.xml
>
>
> 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)