From user-return-9129-apmail-couchdb-user-archive=couchdb.apache.org@couchdb.apache.org Thu Mar 04 16:05:55 2010 Return-Path: Delivered-To: apmail-couchdb-user-archive@www.apache.org Received: (qmail 90476 invoked from network); 4 Mar 2010 16:05:55 -0000 Received: from unknown (HELO mail.apache.org) (140.211.11.3) by 140.211.11.9 with SMTP; 4 Mar 2010 16:05:55 -0000 Received: (qmail 95754 invoked by uid 500); 4 Mar 2010 16:05:43 -0000 Delivered-To: apmail-couchdb-user-archive@couchdb.apache.org Received: (qmail 95714 invoked by uid 500); 4 Mar 2010 16:05:43 -0000 Mailing-List: contact user-help@couchdb.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: user@couchdb.apache.org Delivered-To: mailing list user@couchdb.apache.org Received: (qmail 95702 invoked by uid 99); 4 Mar 2010 16:05:43 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 04 Mar 2010 16:05:43 +0000 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: local policy) Received: from [216.150.195.222] (HELO mx-smtp-02.ittvis.com) (216.150.195.222) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 04 Mar 2010 16:05:35 +0000 Received: from localhost (mx-smtp-02 [127.0.0.1]) by mx-smtp-02.ittvis.com (Postfix) with ESMTP id 2BAFA24034 for ; Thu, 4 Mar 2010 08:31:02 -0700 (MST) Received: from mx-smtp-02.ittvis.com ([127.0.0.1]) by localhost (mx-smtp-02.ittvis.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 06573-07 for ; Thu, 4 Mar 2010 08:31:01 -0700 (MST) Received: from av-smtp-02.ittvis.com (av-smtp-02.ittvis.com [10.17.10.82]) by mx-smtp-02.ittvis.com (Postfix) with ESMTP id 1F25C2402F for ; Thu, 4 Mar 2010 08:31:00 -0700 (MST) Received: from gemini.rsinc.com ([10.17.10.66]) by apollo.rsinc.com with Microsoft SMTPSVC(6.0.3790.3959); Thu, 4 Mar 2010 09:05:12 -0700 X-MimeOLE: Produced By Microsoft Exchange V6.5 Content-class: urn:content-classes:message MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Subject: RE: couchdb lucene error Date: Thu, 4 Mar 2010 09:03:33 -0700 Message-ID: In-Reply-To: <46aeb24f1003031858g1c570270nbea2a7c5eb30fb36@mail.gmail.com> X-MS-Has-Attach: X-MS-TNEF-Correlator: Thread-Topic: couchdb lucene error Thread-Index: Acq7RqlRF7FCY4vFQ4GEueb04O7/QQAbNomw References: <9F2BBA10-E716-49E3-B952-49E67805D9BF@tumbolia.org> <46aeb24f1003031858g1c570270nbea2a7c5eb30fb36@mail.gmail.com> From: "Michael McCaffrey" To: X-OriginalArrivalTime: 04 Mar 2010 16:05:12.0456 (UTC) FILETIME=[788E0080:01CABBB4] So it seems I needed to add the -Xmx parm on the indexer line for it to = start up. I set it to 256m and it starts up. Wonder why it all of a sudden started to fail? Been running with the = original config for months. Thanks for the help -----Original Message----- From: Robert Newson [mailto:robert.newson@gmail.com]=20 Sent: Wednesday, March 03, 2010 7:58 PM To: user@couchdb.apache.org Subject: Re: couchdb lucene error you may need to add -Xmx1g to your java line to make this work; B. On Wed, Mar 3, 2010 at 9:36 PM, km wrote: > please check if > 1) ur dir to store indexes (indexes dir ) is properly set in the = local.ini > config file > 2) ownership of that indexes dir set to couchdb user recursively eg: = chown > -R =A0couchdb:couchdb > 3) permissions of that indexes dir set appropriately eg: chmod -R = =A00770 > > restart couchdb and check now. > > HTH > Krishna > ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ > On Thu, Mar 4, 2010 at 9:14 AM, Michael McCaffrey = wrote: > >> Something's happened with my couchdb lucene implementation and I = can't >> get couch to start unless I comment out the indexer in the ini file. >> >> I'm getting java heap errors. >> >> I've tried cleaning out my indices folder but to no avail. >> >> Don't know what happened, it was working fine, I made a change to a >> database record to test a lucene query and it hung up. Had to kill = the >> couch session and now it won't restart. >> >> Any ideas? >> >> Thanks >> >> >> 1> 2010-03-03 17:07:52,027 [couchdb-lucene] WARN Forcibly unlocking >> locked index at startup. >> [info] [<0.62.0>] 127.0.0.1 - - 'GET' /_all_dbs 200 >> 1> [info] [<0.62.0>] 127.0.0.1 - - 'GET' >> /test/_all_docs?startkey=3D%22_design%22&endkey=3D%22_desig >> 1> [info] [<0.62.0>] 127.0.0.1 - - 'GET' /test 200 >> 1> [info] [<0.62.0>] 127.0.0.1 - - 'GET' >> /test/_all_docs_by_seq?startkey=3D0&limit=3D250&include_doc >> 1> Exception in thread "main" java.lang.OutOfMemoryError: Java heap >> space >> [error] [<0.52.0>] OS Process died with status: 0 >> >> >