码迷,mamicode.com
首页 > 其他好文 > 详细

What does "exceeded limit of maxWarmingSearchers=X" mean?

时间:2014-12-03 12:02:15      阅读:145      评论:0      收藏:0      [点我收藏+]

标签:http   io   ar   os   sp   for   on   bs   ad   

Whenever a commit happens in Solr, a new "searcher" (with new caches) is opened, "warmed" up according to your SolrConfigXml settings, and then put in place. The previous searcher is not closed until the "warming" search is ready. If multiple commits happen in rapid succession -- before the warming searcher from first commit has enough time to warm up, then there can be multiple searchers all competeing for resources at the same time, even htough one of them will be thrown away as soon as the next one is ready.

maxWarmingSearchers is a setting in SolrConfigXml that helps you put a safety valve on the number of overlapping warming searchers that can exist at one time. If you see this error it means Solr prevented a commit from resulting an a new searcher being opened because there were already X warming searchers open.

If you encounter this error a lot, you can (in theory) increase the number in your maxWarmingSearchers, but that is risky to do unless you are confident you have the system resources (RAM, CPU, etc...) to do it safely. A more correct way to deal with the situation is to reduce how frequently you send commits.

If you only encounter this error infrequently because of fluke situations, you‘ll probably be ok just ignoring it.

 

------------------------------

http://wiki.apache.org/solr/FAQ#What_does_.22exceeded_limit_of_maxWarmingSearchers.3DX.22_mean.3F

 

 

 

What does "exceeded limit of maxWarmingSearchers=X" mean?

标签:http   io   ar   os   sp   for   on   bs   ad   

原文地址:http://www.cnblogs.com/huangfox/p/4139440.html

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!