Files handles issue
1 posts in topic
Flat View  Flat View
TOPIC ACTIONS:
 

Posted By:   Disanka_Malu
Posted On:   Friday, July 12, 2002 02:07 PM

We have a problem with out of control files handles creation. Our server is filled with thousands of index files handles that cause it to crash after a while. Every time, a user does a search, one or two files handles are created and are not closed, unless we shutdown the server. I tried to use the close() method of IndexSearcher, but it did not work. Is there any solution to that problem? please help
Thank you.

Re: Files handles issue

Posted By:   Otis_Gospodnetic  
Posted On:   Saturday, July 13, 2002 10:31 AM

Make sure you are optimizing your index, to minimize the number of files that need to be opened when a search is performed.


Also, reuse the IndexSearcher if you can, and allow multiple users to use use the same instance of it (assuming the same index is being searched).


Get the latest version of Lucene.


Otis

About | Sitemap | Contact