Hi friends!
    We come across an issue when we use the solrj(4.9.1) to connect to solr
server, our deployment is one master with 10 replicas. we index data to the
master, and search data from the replicas via load balancing.

    the error stack is as below:

    *Timeout occured while waiting response from server at:
http://review.solrsearch3.cnsuning.com/solr/commodityReview
<http://review.solrsearch3.cnsuning.com/solr/commodityReview>*
org.apache.solr.client.solrj.SolrServerException: Timeout occured while
waiting response from server at:
http://review.solrsearch3.cnsuning.com/solr/commodityReview
at
org.apache.solr.client.solrj.impl.HttpSolrServer.executeMethod(HttpSolrServer.java:562)
~[solr-solrj-4.9.1.jar:4.9.1 1625909 - mike - 2014-09-18 04:09:05]
at
org.apache.solr.client.solrj.impl.HttpSolrServer.request(HttpSolrServer.java:210)
~[solr-solrj-4.9.1.jar:4.9.1 1625909 - mike - 2014-09-18 04:09:05]
at
org.apache.solr.client.solrj.impl.HttpSolrServer.request(HttpSolrServer.java:206)
~[solr-solrj-4.9.1.jar:4.9.1 1625909 - mike - 2014-09-18 04:09:05]
at
org.apache.solr.client.solrj.request.QueryRequest.process(QueryRequest.java:91)
~[solr-solrj-4.9.1.jar:4.9.1 1625909 - mike - 2014-09-18 04:09:05]
at org.apache.solr.client.solrj.SolrServer.query(SolrServer.java:310)
~[solr-solrj-4.9.1.jar:4.9.1 1625909 - mike - 2014-09-18 04:09:05]

    It takes place not often. after analysis, we find that only when the
replicas Synchronous Data from master solr server. it seem that when the
replicas block search requests when synchronizing data from master, is that
true?
    I wonder if it is because that our solr server hardware configuration
is too low? the physical memory is 8G with 4 cores. and the JVM we set is
Xms512m, Xmx7168m.

    looking forward to your reply.

Thanks!

Reply via email to