Hi Shawn,
Thanks for your help. the args used to start solr are as following, and upload my screen shot to http://www.yupoo.com/photos/qzone3927066199/96064170/, please help to take a look, thanks. -DSTOP.PORT=7989 -DSTOP.KEY= -DzkHost=node1:2181,node2:2181,node3:2181/solr -Dsolr.solr.home=solr -Dbootstrap_conf=true -Xmx10240M -Xms4196M -XX:MaxPermSize=512M -XX:PermSize=256M -Dcom.sun.management.jmxremote.authenticate=false -Dcom.sun.management.jmxremote.ssl=false -Dcom.sun.management.jmxremote.port=3000 -Dcom.sun.management.jmxremote At 2016-05-10 23:25:53, "Shawn Heisey" <apa...@elyograg.org> wrote: >On 5/9/2016 11:42 PM, lltvw wrote: >> By using jps command double check the parms used to start solr, i found that >> the max heap size already set to 10G. So I made a big mistake yesterday. >> >> But by using solr admin UI, I select the collection with performance >> problem, in the overview page I find that the heap memory is about 8M. What >> is wrong. >> >> Every time I search difference characters, QTime from response header always >> greater than 300ms. If I search again, cause i can hit cache, the response >> time could become to about 30ms. > >When my queries hit the cache, they only take a few milliseconds. 30 >milliseconds for a cached query seems VERY slow. > >Can you open the dashboard in the admin UI, make it large enough to see >everything, take a screenshot of the whole page, and included a URL >where that screenshot can be viewed? I do not need to see the whole >browser window, just the whole dashboard. Here's an example of what I >am looking for: > >https://www.dropbox.com/s/ixu8dr954mst0c4/dashboard-just-page.png?dl=0 > >In my example, you can't see all of the JVM Args in the screenshot -- >there are a lot more of them, and they wouldn't fit in the window even >when maximized. So if your screenshot doesn't include all of them, you >probably should copy those as text and include them in your reply -- >like this: > > -DSTOP.KEY=solrrocks > -DSTOP.PORT=7982 > -Dcom.sun.management.jmxremote > -Dcom.sun.management.jmxremote.authenticate=false > -Dcom.sun.management.jmxremote.local.only=false > -Dcom.sun.management.jmxremote.port=18982 > -Dcom.sun.management.jmxremote.rmi.port=18982 > -Dcom.sun.management.jmxremote.ssl=false > -Djetty.home=/opt/solr5/server > -Djetty.port=8982 > -Dlog4j.configuration=file:/index/solr5/log4j.properties > -Dsolr.install.dir=/opt/solr5 > -Dsolr.solr.home=/index/solr5/data > -Duser.timezone=UTC > -XX:+CMSParallelRemarkEnabled > -XX:+CMSScavengeBeforeRemark > -XX:+ParallelRefProcEnabled > -XX:+PrintGCApplicationStoppedTime > -XX:+PrintGCDateStamps > -XX:+PrintGCDetails > -XX:+PrintGCTimeStamps > -XX:+PrintHeapAtGC > -XX:+PrintTenuringDistribution > -XX:+UseCMSInitiatingOccupancyOnly > -XX:+UseConcMarkSweepGC > -XX:+UseParNewGC > -XX:CMSInitiatingOccupancyFraction=70 > -XX:CMSMaxAbortablePrecleanTime=2000 > -XX:MaxTenuringThreshold=8 > -XX:NewRatio=3 > -XX:OnOutOfMemoryError=/opt/solr5/bin/oom_solr.sh 8982 /index/solr5/logs > -XX:PretenureSizeThreshold=64m > -XX:SurvivorRatio=4 > -XX:TargetSurvivorRatio=90 > -Xloggc:/index/solr5/logs/solr_gc.log > -Xms22g > -Xmx22g > -verbose:gc > >How are you starting Solr? With Solr 4.x, there are limitless numbers >of ways to install and start Solr, because it is released as a webapp >.war file. When 5.0 was released, that was reduced to only a few >supported options. > >Thanks, >Shawn >