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

Elli Schwarz commented on NIFI-7114:
------------------------------------

Running the above lsof command on my Nifi produces these results:

At about 12:30PM today (other values are in single digits):

...

19 FIFO

8875 IPv4

9628 REG

...

And at about 4 PM today:

...

19 FIFO

11475 IPv4

9661 REG

...

I don't have any DistributedMapCacheClientService running on this box, so in a 
bit less than 4 hours, I went from 8875 IPv4 to 11475 IPv4, so it appears 
there's a leak with something else...

 

 

> 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
>            Assignee: Matt Burgess
>            Priority: Blocker
>             Fix For: 1.12.0, 1.11.3
>
>         Attachments: destination.xml, fifocounts.txt, flow.xml.gz, lsof.log, 
> lsof.zip, lsofAfter.log, lsofBefore.log, openFiles.xlsx, reproduction.zip, 
> source.xml
>
>          Time Spent: 20m
>  Remaining Estimate: 0h
>
> 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)

Reply via email to