Infra-solr

Update the Infra-Solr Java 17 flags as shown below.

Advanced infra-solr-env -> Infra Solr GC log options

File location: Log into the Ambari UI → Infra Solr → configs → Advanced infra-solr-env -> Infra Solr GC log options

{"jdk11": "-verbose:gc -XX:+PrintHeapAtGC -XX:+PrintGCDetails -XX:+PrintGCDateStamps -XX:+PrintGCTimeStamps -XX:+PrintTenuringDistribution -XX:+PrintGCApplicationStoppedTime -XX:+UseGCLogFileRotation -XX:NumberOfGCLogFiles=15 -XX:GCLogFileSize=200M", "jdk17": "-Xlog:gc*,gc+heap,gc+age,safepoint:file=./gc.log:time,uptime:filecount=15,filesize=200M"}

Advanced infra-solr-env -> Infra Solr GC Tune

File location: Log into the Ambari UI → Infra Solr → configs → Advanced infra-solr-env -> Infra Solr GC Tune

{"jdk11": "-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", "jdk17": "-XX:+UseG1GC -XX:NewRatio=3 -XX:SurvivorRatio=4 -XX:TargetSurvivorRatio=90 -XX:MaxTenuringThreshold=8 -XX:ParallelGCThreads=4 -XX:ConcGCThreads=4 -XX:+ParallelRefProcEnabled -XX:InitiatingHeapOccupancyPercent=50 -XX:MaxGCPauseMillis=200"}


  Last updated