Return-Path: Delivered-To: apmail-jakarta-lucene-user-archive@www.apache.org Received: (qmail 93041 invoked from network); 8 Oct 2003 03:20:38 -0000 Received: from daedalus.apache.org (HELO mail.apache.org) (208.185.179.12) by minotaur-2.apache.org with SMTP; 8 Oct 2003 03:20:38 -0000 Received: (qmail 50597 invoked by uid 500); 8 Oct 2003 03:20:14 -0000 Delivered-To: apmail-jakarta-lucene-user-archive@jakarta.apache.org Received: (qmail 50566 invoked by uid 500); 8 Oct 2003 03:20:14 -0000 Mailing-List: contact lucene-user-help@jakarta.apache.org; run by ezmlm Precedence: bulk List-Unsubscribe: List-Subscribe: List-Help: List-Post: List-Id: "Lucene Users List" Reply-To: "Lucene Users List" Delivered-To: mailing list lucene-user@jakarta.apache.org Received: (qmail 50553 invoked from network); 8 Oct 2003 03:20:14 -0000 Received: from unknown (HELO mailshell.com) (209.157.66.245) by daedalus.apache.org with SMTP; 8 Oct 2003 03:20:14 -0000 Received: (qmail 1489 invoked from network); 8 Oct 2003 03:20:23 -0000 Received: from unknown (HELO lucene.com) (dcutting@grandcentral.com@12.210.200.74) by mail.mailshell.com with SMTP; 8 Oct 2003 03:20:23 -0000 Message-ID: <3F838270.1000906@lucene.com> Date: Tue, 07 Oct 2003 20:20:16 -0700 From: Doug Cutting User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.4) Gecko/20030701 X-Accept-Language: en-us, en MIME-Version: 1.0 To: Lucene Users List Subject: Re: Too Many Open Files References: <496A2C679221504D8B8AE4B10267E876019D7CF7@gb-sm-cala-xm11.corp.disney.com> In-Reply-To: <496A2C679221504D8B8AE4B10267E876019D7CF7@gb-sm-cala-xm11.corp.disney.com> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N X-Spam-Rating: minotaur-2.apache.org 1.6.2 0/1000/N Wilton, Reece wrote: > The index directory that Lucene created has 2,322 files in it. When I > try to open it I get the dreaded "Too Many Open Files" problem: > java.io.FileNotFoundException: C:\Index\_1lvq.f107 (Too many open > files) > > The index has about 50,000 docs in it. It was created with a merge > factor of 5,000. Is there a way that I can reduce the number of files > or increase the number of files that windows can open? 5000 is way too large for the merge factor. Please read the FAQ and other messages on this list for guidelines. I've personally never found use for a merge factor larger than 50. Doug --------------------------------------------------------------------- To unsubscribe, e-mail: lucene-user-unsubscribe@jakarta.apache.org For additional commands, e-mail: lucene-user-help@jakarta.apache.org