I'm not sure what "large db" you are referring to (indexing a RDBMS to Solr?), 
but the first thing to do is run ulimit -a (or some flavour of it, depending on 
the OS) and increase the open file descriptors limit if the one you see there 
is just very low (e.g. 1024).  If that limit is not low, make sure that things 
are getting closed properly by your app, so there are no f.d. leaks.
Also, make sure mergeFactor is not ridiculously high.

Otis 

--
Sematext -- http://sematext.com/ -- Lucene - Solr - Nutch

----- Original Message ----
> From: "Wagner,Harry" <[EMAIL PROTECTED]>
> To: solr-user@lucene.apache.org
> Sent: Friday, May 2, 2008 9:04:56 PM
> Subject: Too many open files
> 
> I'm getting this with Solr 1.2 trying to load a large db. Is there a
> workaround?
> 
> 


Reply via email to