On 3/26/2018 2:22 AM, Derek Poh wrote:
From your experience, would like to know if It is advisable to change the gc parameters in solr.in.sh or solrfile? It is mentioned in the documentation to edit solr.in.sh but would like toknow which file you actually edit.
You need a GC_TUNE variable in solr.in.sh. The java commandline parameters specified there will replace the standard GC tuning parameters. If recommendations are followed, this file will be found in /etc/default, and could have "solr" in the filename replaced with something different, specifically the name given to the installed service. On my dev server, it is named "solr6.in.sh".
What is the "solrfile" you have referenced? I've not heard of this. Thanks, Shawn