Hi all!
Sometimes, in logs is this ERROR:
ERROR - 2015-09-10 11:52:19.940; org.apache.solr.common.SolrException;
org.apache.solr.common.SolrException:
org.apache.solr.client.solrj.SolrServerException: IOException occured when
talking to server at: http://x.x.x.x:8080/solr/corename_shard1_replica1
        at
org.apache.solr.handler.component.SearchHandler.handleRequestBody(SearchHandler.java:306)
        at
org.apache.solr.handler.RequestHandlerBase.handleRequest(RequestHandlerBase.java:135)
        at org.apache.solr.core.SolrCore.execute(SolrCore.java:1954)
        at
org.apache.solr.servlet.SolrDispatchFilter.execute(SolrDispatchFilter.java:774)
        at
org.apache.solr.servlet.SolrDispatchFilter.doFilter(SolrDispatchFilter.java:418)
        at
org.apache.solr.servlet.SolrDispatchFilter.doFilter(SolrDispatchFilter.java:207)
        at
org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1419)
...

Now some words, about configuration. I have 3 servers. There are 3 jetty
instances on each server. I'm using Jetty 8 and Apache Solr 4.8.
There are 8 collections, 4 collections have 12 shards - 3 shards on each
collection, and 4 collections with 4 shards - 1 shard per collection. No
replicas. The schema.xml files are similar - I'd grouped my data by dates,
so in result there are too much collections. I'm using aliases to run
queries via collections, for example, query
http://x.x.x.x:8080/solr/corename_ALL/select?q=*:*
will across all collections and shards.

I had aplied patch:
https://issues.apache.org/jira/browse/SOLR-6931

and change solr.xml file as:
<shardHandlerFactory name="shardHandlerFactory"
  class="HttpShardHandlerFactory">
  <int name="socketTimeout">${socketTimeout:0}</int>
  <int name="connTimeout">${connTimeout:0}</int>
  <bool name="useRetries">true</bool>
</shardHandlerFactory>

I had read similar topics about this exception:
http://lucene.472066.n3.nabble.com/IOException-occured-when-talking-to-solr-server-td4175554.html
http://lucene.472066.n3.nabble.com/IOException-occured-when-talking-to-server-td4170253.html
and changed jetty.xml as:
<Set name="ThreadPool">
  <New class="org.eclipse.jetty.util.thread.QueuedThreadPool">
    <Set name="minThreads">10</Set>
    <Set name="maxThreads">2000</Set>
    <Set name="detailedDump">false</Set>
  </New>
</Set>

but all these actions don't help me. This exception still in logs.
I'd configured HAProxy to try understand in which OSI layer is problem, but,
unfortunately, this also doesn't help me yet.

Can anyone has any ideas about this exception, please advice.



--
View this message in context: 
http://lucene.472066.n3.nabble.com/IOException-occured-when-talking-to-server-tp4228405.html
Sent from the Solr - User mailing list archive at Nabble.com.

Reply via email to