Solr stops responding (or slows down to molasses)…(Solr newbie)

爱⌒轻易说出口 提交于 2020-01-15 03:02:32

问题


Running multi-core Solr under Tomcat 6.0 /Win 2008 Server and ASP.NET queries via SolrNet. One of the cores is huge i.e. ~25 million documents (~20 GB disk-space) and several fields. The other 3 cores are much smaller (few gigs each).

After a couple of queries to the large index, Solr slows down dramatically and stops responding i.e. can't even open admin console. If I restart tomcat, things again works ok for a few more queries and then molasses to stop. I have checked the machine RAM and processor usage, both are <50% utilization.

I am not sure what the issue might be - memory leak? How can I go about finding the issue? I don't know much about Solr/Tomcat logs and which logs I should be looking at.

Hope someone can help.


回答1:


You'll have to tune the JVM memory allocation with the -Xms and -Xmx settings. See:

  • http://wiki.apache.org/solr/SolrPerformanceFactors#RAM_Usage_Considerations
  • http://www.lucidimagination.com/Community/Hear-from-the-Experts/Articles/Scaling-Lucene-and-Solr#d0e245


来源:https://stackoverflow.com/questions/3878502/solr-stops-responding-or-slows-down-to-molasses-solr-newbie

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!