solr - socket timeout exception on ubuntu -
we have solr router , shards. appears in jetty log of router when doing faceted search across shards.
org.apache.commons.httpclient.httpmethoddirector executewithretry info: i/o exception (java.net.socketexception) caught when processing request: connection reset peer: socket write error org.apache.commons.httpclient.httpmethoddirector executewithretry info: retrying request followed exception internal server error. run eighty shards distributed across several servers. router runs on own node.
upd: in httpcommcomponent class of solr sumbits requests shards using httpclient class have noticed following set on multithreadedhttpconnectionmanager: mgr.getparams().setdefaultmaxconnectionsperhost(20);
it seems me little setting 80+ shards.
after more debugging have found out, 1 of requests had size of 4,4mb. default maxpostsize in tomcat6 2mb (http://tomcat.apache.org/tomcat-6.0-doc/config/ajp.html).
changing 10mb has improved situation on solr side.
Comments
Post a Comment