add a commented out option to force the JVM to use IPv4 stack
This commit is contained in:
parent
d76d7d4a56
commit
49d976fc41
|
@ -17,6 +17,9 @@ JAVA_OPTS="$JAVA_OPTS -Xmx${ES_MAX_MEM}"
|
||||||
# reduce the per-thread stack size
|
# reduce the per-thread stack size
|
||||||
JAVA_OPTS="$JAVA_OPTS -Xss128k"
|
JAVA_OPTS="$JAVA_OPTS -Xss128k"
|
||||||
|
|
||||||
|
# Force the JVM to use IPv4 stack
|
||||||
|
# JAVA_OPTS="$JAVA_OPTS -Djava.net.preferIPv4Stack=true"
|
||||||
|
|
||||||
# Enable aggressive optimizations in the JVM
|
# Enable aggressive optimizations in the JVM
|
||||||
# - Disabled by default as it might cause the JVM to crash
|
# - Disabled by default as it might cause the JVM to crash
|
||||||
# JAVA_OPTS="$JAVA_OPTS -XX:+AggressiveOpts"
|
# JAVA_OPTS="$JAVA_OPTS -XX:+AggressiveOpts"
|
||||||
|
|
Loading…
Reference in New Issue