Return-Path: X-Original-To: apmail-couchdb-user-archive@www.apache.org Delivered-To: apmail-couchdb-user-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id B07AFC2CC for ; Mon, 28 May 2012 14:32:05 +0000 (UTC) Received: (qmail 79587 invoked by uid 500); 28 May 2012 14:32:04 -0000 Delivered-To: apmail-couchdb-user-archive@couchdb.apache.org Received: (qmail 79517 invoked by uid 500); 28 May 2012 14:32:04 -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 79509 invoked by uid 99); 28 May 2012 14:32:04 -0000 Received: from minotaur.apache.org (HELO minotaur.apache.org) (140.211.11.9) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 28 May 2012 14:32:04 +0000 Received: from localhost (HELO mail-gg0-f180.google.com) (127.0.0.1) (smtp-auth username rnewson, mechanism plain) by minotaur.apache.org (qpsmtpd/0.29) with ESMTP; Mon, 28 May 2012 14:32:03 +0000 Received: by ggnf1 with SMTP id f1so2295308ggn.11 for ; Mon, 28 May 2012 07:32:03 -0700 (PDT) MIME-Version: 1.0 Received: by 10.50.181.232 with SMTP id dz8mr4748838igc.72.1338215522610; Mon, 28 May 2012 07:32:02 -0700 (PDT) Received: by 10.42.106.199 with HTTP; Mon, 28 May 2012 07:32:02 -0700 (PDT) In-Reply-To: References: <93A30DD2-540F-4868-B825-A2198C7758D0@thenoi.se> <56EBA9E3-24A5-4098-B569-79D3F237F931@thenoi.se> Date: Mon, 28 May 2012 15:32:02 +0100 Message-ID: Subject: Re: Crash when loading view From: Robert Newson To: user@couchdb.apache.org Content-Type: text/plain; charset=ISO-8859-1 hm, you're quite sure you were on the right node? On 28 May 2012 15:23, Martin Hewitt wrote: > Hi Robert, > > I can load that _changes feed no problem, I get 200 OK with the full response. > > Martin > > On 28 May 2012, at 15:18, Robert Newson wrote: > >> http://host:5986/shards%2f44444444-55555554%2frock_events.1334876515/_changes >> >> B. >> >> On 28 May 2012 15:00, Martin Hewitt wrote: >>> Ah, no, sorry, my mistake, I read the _changes feed for the whole db. >>> >>> Loading the _changes feed for that shard gives me: >>> >>> { >>> error: "not_found", >>> reason: "no_db_file" >>> } >>> >>> Martin >>> >>> On 28 May 2012, at 14:57, Robert Newson wrote: >>> >>>> You specifically read the changes feed for >>>> shards/44444444-55555554/rock_events.1334876515 on the node that >>>> logged the error to completion? >>>> >>>> B. >>>> >>>> On 28 May 2012 14:54, Martin Hewitt wrote: >>>>> Hi Robert, >>>>> >>>>> Oddly, even though I can't read ERLang stack traces, I thought that might be the problem, but, sadly, each node has 1.4TB of free disk space and has about 20GB of free memory. >>>>> >>>>> We're using CentOS 6.2, Linux 2.6.32-220.7.1.el6.x86_64 x86_64, the /opt/ partition is formatted as ext4, CPU is Intel i7-2600 CPU @ 3.40GHz. >>>>> >>>>> I can read the _changes feed without error. >>>>> >>>>> Martin >>>>> >>>>> On 28 May 2012, at 14:42, Robert Newson wrote: >>>>> >>>>>> That looks like file corruption to me. CouchDB is attempting to walk >>>>>> the by_seq tree to update your new view and finds it cannot decode >>>>>> what it's reading from your database. What OS/filesystem/hardware is >>>>>> this? Have you previously run out of disk space on the machine in >>>>>> question? Anything else you can think that might be relevant? >>>>>> >>>>>> See if you can successfully read the _changes feed for that database. >>>>>> >>>>>> B. >>>>>> >>>>>> On 28 May 2012 14:27, Martin Hewitt wrote: >>>>>>> Hi all, >>>>>>> >>>>>>> I've built and processed a new view, but whenever I try and call it, I >>>>>>> get the following exception: >>>>>>> >>>>>>> https://gist.github.com/2815566 >>>>>>> >>>>>>> This is a new view, but it's an adaptation of an existing view which >>>>>>> works without error. >>>>>>> >>>>>>> Not sure if it's a bug in my view or what, but any help would be >>>>>>> appreciated! >>>>>>> >>>>>>> This bug happened on my BigCouch install, but I don't think it's a BigCouch error, but I could be wrong. >>>>>>> >>>>>>> I'm running BigCouch 0.4.0 and therefore CouchDB 1.1.1 (which I know is not current). >>>>>>> >>>>>>> Thanks, >>>>>>> >>>>>>> Martin >>>>> >>> >