lucene-solr-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Steffen Moldenhauer <>
Subject GC_TUNE setting from is not applied
Date Tue, 11 Feb 2020 16:12:56 GMT
Hi all,

I installed Solr 8.4.1 (first time on a linux sub-system for testing purposes only) and for
whatever reason the default GC settings prevented the server from running.
So I tried to change the setting with a GC_TUNE in

But it got not applied to the start up. So I looked at the /solr-8.4.1/bin/solr Script and

  if [ -z ${GC_TUNE+x} ]; then
      GC_TUNE=('-XX:+UseG1GC' \

${GC_TUNE+x} looks strange to me - but I do not really know that much about shell-programming

Changed it to
if [ -z "$GC_TUNE" ]; then

and my setting from got applied.

There's also: SOLR_JAVA_STACK_SIZE+x GC_LOG_OPTS+x Is that kind of syntax really working or
is it wrong?


  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message