NIFI-186: Added additional args to bootstrap conf file

This commit is contained in:
Mark Payne 2014-12-19 14:25:26 -05:00
parent f048ed710f
commit b0a5115097
1 changed files with 16 additions and 4 deletions

View File

@ -1,3 +1,9 @@
# Java command to use when running NiFi
java=java
# Username to use when running NiFi. This value will be ignored on Windows.
run.as=
# Configure where NiFi's lib and conf directories live # Configure where NiFi's lib and conf directories live
lib.dir=./lib lib.dir=./lib
conf.dir=./conf conf.dir=./conf
@ -15,8 +21,14 @@ java.arg.3=-Xmx512m
# Enable Remote Debugging # Enable Remote Debugging
#java.arg.debug=-agentlib:jdwp=transport=dt_socket,server=y,suspend=n,address=8000 #java.arg.debug=-agentlib:jdwp=transport=dt_socket,server=y,suspend=n,address=8000
# Java command to use when running NiFi java.arg.4=-Djava.net.preferIPv4Stack=true
java=java
# Username to use when running NiFi. This value will be ignored on Windows. # allowRestrictedHeaders is required for Cluster/Node communications to work properly
run.as= java.arg.5=-Dsun.net.http.allowRestrictedHeaders=true
java.arg.6=-Djava.protocol.handler.pkgs=sun.net.www.protocol
# Java 7 and below have issues with Code Cache. The following lines allow us to run well even with
# many classes loaded in the JVM.
java.arg.7=-XX:+ReservedCodeCacheSize=256m
java.arg.8=-XX:CodeCacheFlushingMinimumFreeSpace=10m
java.arg.9=-XX:+UseCodeCacheFlushing