You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@nifi.apache.org by "Vinicius Zolin (Jira)" <ji...@apache.org> on 2020/02/10 18:55:00 UTC

[jira] [Comment Edited] (NIFI-7114) NiFi not closing file handles

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

Vinicius Zolin edited comment on NIFI-7114 at 2/10/20 6:54 PM:
---------------------------------------------------------------

Pierre. From what I've noticed the problem is not with jar or nar files. At least half of the problem is tied to FIFO pipes.

 

Linux has the "everything is file" philosophy so those sockets will cause NiFi to crash if the application forgets to close them.


was (Author: vzolin):
Pierre. From what I've noticed the problem is not with jar or nar files. At least half of the problem is tied to FIFO pipes.

> 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: destination.xml, lsof.log, lsofAfter.log, lsofBefore.log, 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)