Return-Path: Delivered-To: apmail-jakarta-lucene-user-archive@www.apache.org Received: (qmail 23086 invoked from network); 8 Oct 2003 22:21:22 -0000 Received: from daedalus.apache.org (HELO mail.apache.org) (208.185.179.12) by minotaur-2.apache.org with SMTP; 8 Oct 2003 22:21:22 -0000 Received: (qmail 56235 invoked by uid 500); 8 Oct 2003 22:21:04 -0000 Delivered-To: apmail-jakarta-lucene-user-archive@jakarta.apache.org Received: (qmail 56205 invoked by uid 500); 8 Oct 2003 22:21:03 -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 56192 invoked from network); 8 Oct 2003 22:21:03 -0000 Received: from unknown (HELO mail.disney.com) (204.128.192.15) by daedalus.apache.org with SMTP; 8 Oct 2003 22:21:03 -0000 Received: from Hermes10.corp.disney.com (hermes10.corp.disney.com [153.7.110.102]) by mail.disney.com (Switch-3.1.2/Switch-3.1.0) with ESMTP id h98MEABH025096 for ; Wed, 8 Oct 2003 15:20:00 -0700 (PDT) Received: from sm-cala-xc04.swna.wdpr.disney.com (sm-cala-xc04.swna.wdpr.disney.com [153.7.195.34]) by hermes.corp.disney.com with ESMTP; Wed, 8 Oct 2003 15:21:25 -0700 Received: from sm-cala-xm11.swna.wdpr.disney.com ([153.7.195.53]) by sm-cala-xc04.swna.wdpr.disney.com with Microsoft SMTPSVC(5.0.2195.5329); Wed, 8 Oct 2003 15:21:09 -0700 X-MimeOLE: Produced By Microsoft Exchange V6.0.6375.0 content-class: urn:content-classes:message MIME-Version: 1.0 Content-Type: text/plain; charset="US-ASCII" Content-Transfer-Encoding: quoted-printable Subject: RE: Too Many Open Files Date: Wed, 8 Oct 2003 15:21:09 -0700 Message-Id: <496A2C679221504D8B8AE4B10267E876019D7D0C@gb-sm-cala-xm11.corp.disney.com> X-MS-Has-Attach: X-MS-TNEF-Correlator: Thread-Topic: Too Many Open Files Thread-Index: AcONS03EUrjObgHORUqyRW6qw5Vl0AAnwYXQ From: "Wilton, Reece" To: "Lucene Users List" X-OriginalArrivalTime: 08 Oct 2003 22:21:09.0628 (UTC) FILETIME=[79780BC0:01C38DEA] 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 Ok, I lowered my MergeFactor down to 10 and am re-indexing (takes several hours). Will lowering the MergeFactor reduce the total number of files in the index directory? -Reece=20 -----Original Message----- From: Doug Cutting [mailto:cutting@lucene.com]=20 Sent: Tuesday, October 07, 2003 8:20 PM To: Lucene Users List Subject: Re: Too Many Open Files 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) >=20 > 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=20 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 --------------------------------------------------------------------- To unsubscribe, e-mail: lucene-user-unsubscribe@jakarta.apache.org For additional commands, e-mail: lucene-user-help@jakarta.apache.org