Hey folks,

solr.in.sh appears to contain broken GC suggestions:

# These GC settings have shown to work well for a number of common Solr
workloads
#GC_TUNE="-XX:NewRatio=3 -XX:SurvivorRatio=4    etc.

The "etc." part is copied verbatim from the file. It looks likes the
original GC_TUNE settings have partially disappeared.

Here they are copied from 5.X:

# These GC settings have shown to work well for a number of common Solr
workloads
GC_TUNE="-XX:NewRatio=3 \
-XX:SurvivorRatio=4 \
-XX:TargetSurvivorRatio=90 \
-XX:MaxTenuringThreshold=8 \
-XX:+UseConcMarkSweepGC \
-XX:+UseParNewGC \
-XX:ConcGCThreads=4 -XX:ParallelGCThreads=4 \
-XX:+CMSScavengeBeforeRemark \
-XX:PretenureSizeThreshold=64m \
-XX:+UseCMSInitiatingOccupancyOnly \
-XX:CMSInitiatingOccupancyFraction=50 \
-XX:CMSMaxAbortablePrecleanTime=6000 \
-XX:+CMSParallelRemarkEnabled \
-XX:+ParallelRefProcEnabled"

Are these settings no longer recommended? Or is there a new mechanism
other than solr.in.sh where these might be configured?

Thanks,

 - Bram

Reply via email to