Skip to content

Commit

Permalink
solr.in.sh
Browse files Browse the repository at this point in the history
  • Loading branch information
rrotter committed Oct 25, 2023
1 parent 53c58ea commit e7d201e
Showing 1 changed file with 37 additions and 0 deletions.
37 changes: 37 additions & 0 deletions files/solr_lss/solr.in.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,37 @@
SOLR_JAVA_HOME="/usr/lib/jvm/default-java"

SOLR_HEAP="32G"

GC_LOG_OPTS="-verbose:gc -XX:+PrintHeapAtGC -XX:+PrintGCDetails \
-XX:+PrintGCDateStamps -XX:+PrintGCTimeStamps -XX:+PrintTenuringDistribution -XX:+PrintGCApplicationStoppedTime"

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"

SOLR_TIMEZONE="America/Detroit"

ENABLE_REMOTE_JMX_OPTS="true"

SOLR_OPTS="$SOLR_OPTS -Xss256k"
SOLR_OPTS="$SOLR_OPTS -Ddisable.configEdit=true"

SOLR_HOME=/var/lib/solr
SOLR_PID_DIR=$SOLR_HOME
LOG4J_PROPS=$SOLR_HOME/log4j.properties
SOLR_LOGS_DIR=$SOLR_HOME/logs

SOLR_LOG_PRESTART_ROTATION=false

SOLR_PORT=8081

0 comments on commit e7d201e

Please sign in to comment.