You are viewing a plain text version of this content. The canonical link for it is here.
Posted to solr-user@lucene.apache.org by mark <ma...@junklight.com> on 2006/10/12 13:14:28 UTC
Queueing/too many files
Hi,
I am wanting to index a very large number of documents. I can POST
these to solr very quickly but rapidly run into the 'too many files
open problem'.
Is there anyway to avoid this - either by solr blocking *before* the
error or by it queuing the incoming documents until it can cope with
them. I have tried using ulimit and reducing merge - but that just
moves the problem along slightly
cheers
mark
Re: Queueing/too many files
Posted by mark <ma...@junklight.com>.
> or it could be a result of *not* using the compound
> file format (controlled via solrconfig.xml)
>
Ah yes - this was set to false by default - seems to have done the
trick.
cheers
mark
Re: Queueing/too many files
Posted by Chris Hostetter <ho...@fucit.org>.
: these to solr very quickly but rapidly run into the 'too many files
: open problem'.
too many filehandles may be because you aren't closing the connections in
your update client ... or it could be a result of *not* using the compound
file format (controlled via solrconfig.xml)
Solr itself really doesn't use a lot of open files -- just the Lucene
index files, but if you use the compound file format that really shouldn't
be a problem (unless your file limit is really, really tiny)
-Hoss