Support Questions

Find answers, ask questions, and share your expertise
Announcements
Celebrating as our community reaches 100,000 members! Thank you!

NiFi memory leak on Production

avatar
Contributor

Hi All,

We set jmxremote and saw what NiFi has a memory leak. GC can not clean located memory, and after 2-3 days NiFi starts to work strange(all the time tries switch primary, monitoring API does not answer).

We made the update of HDF from 3.0 to 3.1.

Our environment is production, therefore we are limited for actions.

In our flow, we use all standard processors and one ExecuteScript (ECMAScript)

Java8

If you know how to search leak source or have any idea how to search we will be grateful.

Thanks,

Ilya

1 ACCEPTED SOLUTION

avatar
Contributor

@Ilya Li If you have nifi ranger plugin enabled, then memory leak is due to nifi ranger authoriser.

Jira: https://issues.apache.org/jira/browse/NIFI-4925

View solution in original post

3 REPLIES 3

avatar
Contributor

@Ilya Li If you have nifi ranger plugin enabled, then memory leak is due to nifi ranger authoriser.

Jira: https://issues.apache.org/jira/browse/NIFI-4925

avatar
Contributor

@hmatta Thanks for your answer. We user ranger plugin. If we user HDF 3.1.1.0 what should we do for resolving? Is it enough update to 3.1.2.0?

avatar
Contributor
@Ilya Li

Yes upgrading to HDF-3.1.2.0 will solve this issue and few other issues of HDF-3.1.1. Please accept the answer if you find it appropriate.