> Would this help: https://issues.apache.org/jira/browse/LUCENE-1020

That should help here, but please proceed with caution: this tool is
very new, has only been tested on trunk indices, and is brutal in how
it recovers the index (it removes the entire segment if there is any
problem loading one of its files).

You can run it without "-fix" and it will report details & any errors
it in loading your index.

Mike

"Grant Ingersoll" <[EMAIL PROTECTED]> wrote:
> Would this help: https://issues.apache.org/jira/browse/LUCENE-1020
> 
> 
> On Nov 10, 2007, at 4:01 PM, Ryan McKinley wrote:
> 
> > Using solr, we have been running an indexing process for a while and  
> > when I checked on it today, it spits out an error:
> >
> > java.lang.RuntimeException: java.io.FileNotFoundException: /path/to/ 
> > index/_cf9.fnm (No such file or directory)
> >     at org.apache.solr.core.SolrCore.getSearcher(SolrCore.java:584)
> >     at org.apache.solr.core.SolrCore.getSearcher(SolrCore.java:475)
> >
> > Looking through the archives, it looks like we are up a creek.
> >
> > Any thoughts on what could have caused this?  The log files contains  
> > some 'too many open files' errors, I can't tell if that corresponds  
> > with when the index went bad though.
> >
> > the startup script includes:
> > ulimit -n 100000
> > which seems generous, no?
> >
> > it is a 22GB index, ls -l | wc shows 180K files (oh my)
> >
> > So my questions:
> >
> > 1. Anything I can do to use this index while I rebuild another?  
> > (takes a long time!)
> >
> > 2. Does the ulimit number explain how the index got corrupted?  If  
> > so, it seems like a problem.
> >
> >
> > thanks
> > ryan
> >
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: [EMAIL PROTECTED]
> > For additional commands, e-mail: [EMAIL PROTECTED]
> >
> 
> --------------------------
> Grant Ingersoll
> http://lucene.grantingersoll.com
> 
> Lucene Boot Camp Training:
> ApacheCon Atlanta, Nov. 12, 2007.  Sign up now!  http://www.apachecon.com
> 
> Lucene Helpful Hints:
> http://wiki.apache.org/lucene-java/BasicsOfPerformance
> http://wiki.apache.org/lucene-java/LuceneFAQ
> 
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> 

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to