Hmm, unless the ulimits are low, or the default mergeFactor was
changed, or you have many indexes open in a single JVM, or you keep
too many IndexReaders open, even in an NRT or frequent commit use
case, you should not run out of file descriptors.
Frequent commit/reopen should be perfectly fine, a
Here is SolrConfig.xml, and I am using Lucene NRT with soft commit and
update the index every 5 seconds, soft commit every 1 second and hard
commit every 15 minutes
> SolrConfig.xml:
>
>
>
>false
>10
>2147483647
>1
>
How often are you committing index updates? This kind of thing
can happen if you commit too often. Consider setting
commitWithin to something like, say, 5 minutes. Or doing the
equivalent with the autoCommit parameters in solrconfig.xml
If that isn't relevant, you need to provide some more details
I am using Solr 4.0 nightly build with NRT and I often get this
error during auto commit "Too many open files". I have search this forum
and what I found it is related to OS ulimit setting, please see below my
ulimit settings. I am not sure what ulimit setting I should have for open
file? ulimit -n