add a commented out option to force the JVM to use IPv4 stack

This commit is contained in:
Shay Banon 2011-09-23 00:57:57 +03:00
parent d76d7d4a56
commit 49d976fc41
1 changed files with 3 additions and 0 deletions

View File

@ -17,6 +17,9 @@ JAVA_OPTS="$JAVA_OPTS -Xmx${ES_MAX_MEM}"
# reduce the per-thread stack size
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
# - Disabled by default as it might cause the JVM to crash
# JAVA_OPTS="$JAVA_OPTS -XX:+AggressiveOpts"