You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@nifi.apache.org by lu...@china-inv.cn on 2018/02/24 09:03:18 UTC

NiFi opens too many jar files

Hi, Team,

We are using NiFi 1.3.0 and yesterday our NiFi server doesn't response 
anymore.
The root cause is that the NiFi service opens too many files (about 
1,000,000+ files)

Further investigation shows that most opened files are jar files in nar 
bundles (about 980,000+ files)
Same jar file in a nar file was opened multiple times without closing any 
of them. e.g.
I found file 
/opt/nifi/nifi-1.3.0/work/nar/extensions/nifi-websocket-services-api-nar-1.3.0.nar-unpacked/META-INF/bundled-dependencies/nifi-utils-1.3.0.jar
was opened several times without closing.

Are those jar files loaded by NarClassLoader and why they are opened so 
many times?

Any solution to this issue?

Thanks 

Boying




 
本邮件内容包含保密信息。如阁下并非拟发送的收件人,请您不要阅读、保存、对外
披露或复制本邮件的任何内容,或者打开本邮件的任何附件。请即回复邮件告知发件
人,并立刻将该邮件及其附件从您的电脑系统中全部删除,不胜感激。

 
This email message may contain confidential and/or privileged information. 
If you are not the intended recipient, please do not read, save, forward, 
disclose or copy the contents of this email or open any file attached to 
this email. We will be grateful if you could advise the sender immediately 
by replying this email, and delete this email and any attachment or links 
to this email completely and immediately from your computer system.