Actually, 64G is on the high side, GC pauses can kill you pretty
easily in that range.

If it's at all possible to cut that down it would be A Good Thing....

Best,
Erick

On Mon, Apr 2, 2018 at 12:56 PM, murugesh karmegam <kmak...@gmail.com> wrote:
> Hi Yago Riveiro ,
>
> Thanks for the reply. We have heap size 64G. Any more is not recommended
> right? Except one time I was not able to co relate "updates disabled" with
> GC pause.  Also zk timeout is 120 seconds even with long GC pause (more than
> 10 seconds normally) we should recover right?
>
> JVM settings
>
>  /usr/java/latest/bin/java -server -Xms32g -Xmx64g
> -DsharedLib=/opt/mw/solrlib -XX:+UseG1GC -XX:MaxGCPauseMillis=5000
> -XX:ParallelGCThreads=30 -XX:ConcGCThreads=10 -Djute.maxbuffer=41943040
> -XX:G1HeapWastePercent=20 -XX:InitiatingHeapOccupancyPercent=45
> -XX:+UnlockExperimentalVMOptions -XX:NewSize=10g -XX:MaxNewSize=32g
> -XX:SurvivorRatio=2 -XX:-ResizePLAB -XX:+AlwaysPreTouch
> -XX:+ParallelRefProcEnabled -server
> -Xloggc:/var/log/solr/gc-solr2018-03-27-19-16.log -verbose:gc
> -XX:+PrintHeapAtGC -XX:+PrintGCDetails -XX:+PrintGCDateStamps
> -XX:+PrintGCTimeStamps -XX:+PrintTenuringDistribution
> -XX:+PrintGCApplicationStoppedTime -XX:+UseGCLogFileRotation
> -XX:NumberOfGCLogFiles=10 -XX:GCLogFileSize=64m
> -XX:+PrintSafepointStatistics -XX:PrintSafepointStatisticsCount=1
> -Xloggc:/var/log/solr/solr_gc.log -XX:+UseGCLogFileRotation
> -XX:NumberOfGCLogFiles=9 -XX:GCLogFileSize=20M
> -Dcom.sun.management.jmxremote
> -Dcom.sun.management.jmxremote.local.only=false
> -Dcom.sun.management.jmxremote.ssl=false
> -Dcom.sun.management.jmxremote.authenticate=false
> -Dcom.sun.management.jmxremote.port=18983
> -Dcom.sun.management.jmxremote.rmi.port=18983
> -Djava.rmi.server.hostname=tr3slr3dn27 -DzkClientTimeout=120000 -Dzkhost
> .../solr -Dsolr.log.dir=/var/log/solr -Djetty.port=8983 -DSTOP.PORT=7983
> -DSTOP.KEY=solrrocks -Dhost=tr3slr3dn27 -Duser.timezone=EST
> -Djetty.home=/opt/solr/server -Dsolr.solr.home=/data0/solr
> -Dsolr.install.dir=/opt/solr
> -Dlog4j.configuration=file:/etc/solr/conf/log4j.properties -Xss256k
> -Dsolr.autoSoftCommit.maxTime=300000 -Dsolr.autoCommit.maxTime=600000
> -Dsolr.clustering.enabled=false -DsharedLib=/opt/mw/solrlib
> -Dsolr.lock.type=native -XX:MetaspaceSize=1024m -XX:MaxMetaspaceSize=1024m
> -XX:MinMetaspaceExpansion=16m -XX:MaxMetaspaceExpansion=32m -Xss256k
> -Dsolr.log.muteconsole -XX:OnOutOfMemoryError=/opt/solr/bin/oom_solr.sh 8983
> /var/log/solr -jar start.jar --module=http
>
>
>
> just to give more idea...
> we are a 48 node cluster with each node having indexes (many together) up to
> 900GB to 1TB and one major index is with 48 shards with each shard is 80 -
> 85 G = approx 4TB
>
>
>
> --
> Sent from: http://lucene.472066.n3.nabble.com/Solr-User-f472068.html

Reply via email to