Hello Shawn, Firstly thank you for reply & your article - was using your article as a reference before I even tried making this change.
I used the installer script to install. Im starting solr as sudo service solr restart Interestingly, I believe the other parameters are being set from /etc/default/solr.in.sh. For example , ZK_HOST, SOLR_HEAP, SOLR_OPTS but just the GC parameters seem to be off. This is how /etc/default/solr.in.sh looks like SOLR_HEAP="6g" # Enable verbose GC logging GC_LOG_OPTS="-verbose:gc -XX:+PrintHeapAtGC -XX:+PrintGCDetails \ -XX:+PrintGCDateStamps -XX:+PrintGCTimeStamps -XX:+PrintTenuringDistribution -XX:+PrintGCApplicationStoppedTime" # These GC settings have shown to work well for a number of common Solr workloads GC_TUNE="-XX:+UseG1GC -XX:+UseStringDeduplication" ZK_HOST="zk-1.XXXXX.int:2181" # Set the ZooKeeper client timeout (for SolrCloud mode) ZK_CLIENT_TIMEOUT="15000" # By default the start script uses UTC; override the timezone if needed #SOLR_TIMEZONE="UTC" SOLR_OPTS="$SOLR_OPTS -Xss256k" SOLR_HOME=/opt/solr/data LOG4J_PROPS=/opt/solr/server/resources/log4j.properties SOLR_LOGS_DIR=/opt/solr/logs SOLR_PORT=8983 SOLR_MODE=solrcloud Here is the output of sudo service solr status Found 1 Solr nodes: Solr process 12077 running on port 8983 INFO - 2019-05-24 17:41:49.281; org.apache.solr.util.configuration.SSLCredentialProviderFactory; Processing SSL Credential Provider chain: env;sysprop { "solr_home":"/opt/solr/server/solr", "version":"7.7.1 5bf96d32f88eb8a2f5e775339885cd6ba84a3b58 - ishan - 2019-02-23 02:39:07", "startTime":"2019-05-23T21:13:34.374Z", "uptime":"0 days, 20 hours, 28 minutes, 15 seconds", "memory":"479.2 MB (%12.2) of 3.8 GB", "cloud":{ "ZooKeeper":"zk-1.XXXXX.int:2181", "liveNodes":"1", "collections":"1"}} Finally , output of Java Version openjdk version "11.0.1" 2018-10-16 OpenJDK Runtime Environment 18.9 (build 11.0.1+13) OpenJDK 64-Bit Server VM 18.9 (build 11.0.1+13, mixed mode) -- Sent from: http://lucene.472066.n3.nabble.com/Solr-User-f472068.html