I am seeing intermittent GC suspensions. We see one or two nodes suddenly go to 
100% GC suspension.
We are using Solr 7.7.2 on Centos 7.7 with 64G of memory. We are using G1GC
GC_TUNE="-XX:+PerfDisableSharedMem \
-XX:G1HeapRegionSize=16m \
-XX:+UseG1GC \
-XX:MaxGCPauseMillis=250 \
-XX:+ParallelRefProcEnabled"

-XX:+PrintGCDateStamps -XX:+PrintGCTimeStamps -XX:+PrintTenuringDistribution 
-XX:+PrintGCApplicationStoppedTime -XX:+UseGCLogFileRotation 
-XX:NumberOfGCLogFiles=5 -XX:GCLogFileSize=128M -XX:+PrintAdaptiveSizePolicy"

SOLR_JAVA_MEM="-Xms32768m -Xmx32768m"

At first we had the G1HeapRegionSize set to 8m. I saw a lot of humongous 
allocations so we upped it to 16m. That helped a little, I think, but we still 
see the issue.

On several posts on Solr GC configuration I noticed that -XX:+UseLargePages is 
set, but little to say why this would be useful. For it to work Large Memory 
Pages needs to be enabled as described here
https://www.oracle.com/java/technologies/javase/largememory-pages.html

What benefit does Solr get from this? Could it help with GC suspensions?

We currently have 2 shards on our collections and are thinking of going to 3 
shards to lower the memory pressure.

I'm not an expert in GC tuning so any advice would be appreciated.



This message and any attachment are confidential and may be privileged or 
otherwise protected from disclosure. If you are not the intended recipient, you 
must not copy this message or attachment or disclose the contents to any other 
person. If you have received this transmission in error, please notify the 
sender immediately and delete the message and any attachment from your system. 
Merck KGaA, Darmstadt, Germany and any of its subsidiaries do not accept 
liability for any omissions or errors in this message which may arise as a 
result of E-Mail-transmission or for damages resulting from any unauthorized 
changes of the content of this message and any attachment thereto. Merck KGaA, 
Darmstadt, Germany and any of its subsidiaries do not guarantee that this 
message is free of viruses and does not accept liability for any damages caused 
by any virus transmitted therewith.



Click 
merckgroup.com/disclaimer<https://www.merckgroup.com/en/legal-disclaimer/mail-disclaimer.html>
 to access the German, French, Spanish, Portuguese, Turkish, Polish and Slovak 
versions of this disclaimer.



Please find our Privacy Statement information by clicking here 
merckgroup.com/en/privacy-statement.html<https://www.merckgroup.com/en/privacy-statement.html>

Reply via email to