Hey everyone,

I was recently searching for a best practice guide for running a production
instance of Apache NiFi within a Docker container and couldn't find
anything specific other than the normal guidance for best practices of a
high-performance instance[1]. I did expand my search for best practices on
running the JVM within a container and found a couple good articles[2][3].
The first of which explains why the JVM will take up more than is set via
"Xmx" and the second is about 2 JVM options which were backported from Java
9 to JDK 8u131 specifically for configuring the JVM heap for running in a
"VM".

So with that, a couple questions:
1: Does anyone have any best practices or lessons learned specifically for
running NiFi in a container?
2:  "UseCGroupMemoryLimitForHeap" and "MaxRAMFraction" are technically
"Experimental VM Options", has anyone used them in practice?

[1]
https://community.hortonworks.com/articles/7882/hdfnifi-best-practices-for-setting-up-a-high-perfo.html

[2]
https://developers.redhat.com/blog/2017/04/04/openjdk-and-containers/#more-433899
[3]
https://blog.csanchez.org/2017/05/31/running-a-jvm-in-a-container-without-getting-killed/

Thanks,
Joe
-- 
*Joe Percivall*
linkedin.com/in/Percivall
e: [email protected]

Reply via email to