lucene-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Andrey Akselrod" <aaksel...@runtime.com>
Subject Re: running out of file handles when reindexing
Date Wed, 30 Apr 2003 16:38:01 GMT
No, the problem happens during reindexing in writer.addDocument(doc)
But good catch anyway - I wasn't closing my searches.
thanks!
-a

----- Original Message -----
From: "Rob Outar" <routar@ideorlando.org>
To: "Lucene Users List" <lucene-user@jakarta.apache.org>
Sent: Wednesday, April 30, 2003 11:20 AM
Subject: RE: running out of file handles when reindexing


> I had a similar problem because I was not explicitly calling close on
> IndexSearcher when I created a new one (if the index had changed) I was
> doing Seacher = new IndexSeacher() and on Linux I was running out of file
> handles I then change it to:
>
> Searcher.close();
> Seacher = new IndexSeacher()
>
> and the problem went away.
>
> Hope that helps.
>
> Thanks,
>
> Rob Outar
> OneSAF A&I -- SAIC
> Software\Data Engineer
> 321-235-7660
> outarr@saic.com <mailto:outarr@saic.com>
>
>
> -----Original Message-----
> From: Andrey Akselrod [mailto:aakselrod@runtime.com]
> Sent: Wednesday, April 30, 2003 11:11 AM
> To: Lucene Users List
> Subject: Re: running out of file handles when reindexing
>
>
> Sorry, I meant to ask Is there a way to predict how many file handles
LUCENE
> would require?
> :)
>
> ----- Original Message -----
> From: "Andrey Akselrod" <aakselrod@runtime.com>
> To: "Lucene Users List" <lucene-user@jakarta.apache.org>
> Sent: Wednesday, April 30, 2003 11:08 AM
> Subject: running out of file handles when reindexing
>
>
> > This is an exception that we've got:
> >
> > 03-04-30 03:00:12,806 ERROR [ThreadPoolThread 1]
> > /usr/local/tomcat_4.1.24/myapps/cl/WEB-INF/search/_1t.f5 (Too many open
> > files) java.io.FileNotFoundException:
> > /usr/local/tomcat_4.1.24/myapps/cl/WEB-INF/search/_1t.f5 (Too many open
> > files)
> > at java.io.RandomAccessFile.open(Native Method)
> > at java.io.RandomAccessFile.<init>(RandomAccessFile.java:200)
> >
> > Is there a way to predict how many file handles Velocity would require?
Is
> > there a setting I can use to limit this number?
> >
> > Thank you!
> >
> >
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: lucene-user-unsubscribe@jakarta.apache.org
> > For additional commands, e-mail: lucene-user-help@jakarta.apache.org
> >
> >
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: lucene-user-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: lucene-user-help@jakarta.apache.org
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: lucene-user-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: lucene-user-help@jakarta.apache.org
>
>


---------------------------------------------------------------------
To unsubscribe, e-mail: lucene-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: lucene-user-help@jakarta.apache.org


Mime
View raw message