title: Solr connection timeout during indexing?
body: <p>I have solrj client with infinite timeout(Solr4) </p>
  
  <pre><code>server.server.setSoTimeout(0)
  server.server.setConnectionTimeout(0)
  </code></pre>
  
  <p>When I index my data I have many timeouts on server side.
  Where can I update server side timeouts in solrconfig.xml or possible tomcat config?</p>
  
  <p>Client side exception:</p>
  
  <pre><code>Caused by: java.net.SocketException: Broken pipe
      at java.net.SocketOutputStream.socketWrite0(Native Method)
      at java.net.SocketOutputStream.socketWrite(SocketOutputStream.java:92)
      at java.net.SocketOutputStream.write(SocketOutputStream.java:136)
  </code></pre>
  
  <p>Server side exception:</p>
  
  <pre><code> Jan 31, 2013 8:55:54 PM org.apache.solr.common.SolrException log
      SEVERE: org.apache.solr.common.SolrException: Read timed out
          at org.apache.solr.handler.loader.XMLLoader.load(XMLLoader.java:159)
          at org.apache.solr.handler.UpdateRequestHandler$1.load(UpdateRequestHandler.java:92)
          at org.apache.solr.handler.ContentStreamHandlerBase.handleRequestBody(ContentStreamHandlerBase.java:74)
          at org.apache.solr.handler.RequestHandlerBase.handleRequest(RequestHandlerBase.java:129)
          at org.apache.solr.core.SolrCore.execute(SolrCore.java:1699)
  Caused by: java.net.SocketTimeoutException: Read timed out
      at java.net.SocketInputStream.socketRead0(Native Method)
      at java.net.SocketInputStream.read(SocketInputStream.java:129)
      at org.apache.coyote.http11.InternalInputBuffer.fill(InternalInputBuffer.java:751)
  </code></pre>