Good link, I added it to the wiki page where optimization is covered,
http://wiki.apache.org/solr/SolrPerformanceFactors .

Paul Sundling


-----Original Message-----
From: Stu Hood [mailto:[EMAIL PROTECTED] 
Sent: Thursday, August 09, 2007 9:23 AM
To: solr-user@lucene.apache.org
Subject: RE: Too many open files




If you check out the documentation for mergeFactor, you'll find that
adjusting it downward can lower the number of open files. Just remember
that it is a speed tradeoff, and only lower it as much as you need to to
stop getting the "too many files" errors.

See this section:
http://www.onjava.com/pub/a/onjava/2003/03/05/lucene.html#indexing_speed

Thanks,
Stu

-----Original Message-----
From: Ard Schrijvers <[EMAIL PROTECTED]>
Sent: Thu, August 9, 2007 10:52 am
To: solr-user@lucene.apache.org
Subject: RE: Too many open files

Hello,

useCompoundFile set to true, should avoid the problem. You could also
try to set maximum open files higher, something like (I assume linux)

ulimit -n 8192

Ard


> 
> You're a gentleman and a scholar.  I will donate the M&Ms to
> myself :).
> Can you tell me from this snippet of my solrconfig.xml what I might
> tweak to make this more betterer?
> 
> -KH
> 
>   
>     default unless
> overridden. -->
>     false
>     10
>     1000
>     2147483647
>     10000
>     1000
>     10000
>   
> 

Reply via email to