Re: questions on CommonsHttpSolrServer and MultiThreadedHttpConnectionManager

2010-05-23 Thread Simon Willnauer
Hey there, check out Ryans link for explanation of your TooManyOpenFiles problem. For the query time, make sure the Nagle alg is disabled - should be by default though. MultiThreadedHttpConnectionManager mgr = new MultiThreadedHttpConnectionManager(); mgr.getParams().setTcpNoDelay(true) You shou

Re: questions on CommonsHttpSolrServer and MultiThreadedHttpConnectionManager

2010-05-23 Thread Ryan McKinley
On Fri, May 21, 2010 at 8:05 PM, Liu, Chang wrote: > Hi All, > >  Once we deployed our > application to linux servers, we kept getting too many files opened > exception. More likely it has to do with the number of open files... check: http://wiki.apache.org/lucene-java/LuceneFAQ#Why_am_I_getting

questions on CommonsHttpSolrServer and MultiThreadedHttpConnectionManager

2010-05-23 Thread Liu, Chang
Hi All, I have a question about using CommonsHttpSolrServer with MultiThreadedHttpConnectionManager. We have a single CommonsHttpSolrServer instance that handles all the solr requests. Once we deployed our application to linux servers, we kept getting too many files opened exception. After did