[
https://issues.apache.org/jira/browse/NIFI-7114?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17037288#comment-17037288
]
Joe Witt commented on NIFI-7114:
--------------------------------
[~vzolin] Speaking with one of our prominent script processor folks in the
community [~mattyb149] we believe the issue like has to do with Jython for your
case. I have not attempted to run your code on my system as I've not reviewed
precisely what it does nor do I know for sure I can replicate the sample
data/etc.. But in any event we recommend you avoid using Jython as it has not
been maintained (as far as I know) and we believe there to be significant bugs
that show no sign of resolution. The other scripted proc options like Groovy
work very well in comparison. I will not be able to help dig into Jython
related issues further.
This JIRA will remain open/focused though now on what sounds like a s2s related
leak for secured connections in at least RAW mode.
> 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)