Return-Path: Delivered-To: apmail-couchdb-user-archive@www.apache.org Received: (qmail 27423 invoked from network); 9 Jan 2009 23:06:23 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 9 Jan 2009 23:06:23 -0000 Received: (qmail 48560 invoked by uid 500); 9 Jan 2009 23:06:22 -0000 Delivered-To: apmail-couchdb-user-archive@couchdb.apache.org Received: (qmail 48009 invoked by uid 500); 9 Jan 2009 23:06:21 -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 47752 invoked by uid 99); 9 Jan 2009 23:06:21 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 09 Jan 2009 15:06:21 -0800 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: domain of jchris@gmail.com designates 74.125.44.30 as permitted sender) Received: from [74.125.44.30] (HELO yx-out-2324.google.com) (74.125.44.30) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 09 Jan 2009 23:06:12 +0000 Received: by yx-out-2324.google.com with SMTP id 3so2897121yxj.5 for ; Fri, 09 Jan 2009 15:05:51 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:to :subject:in-reply-to:mime-version:content-type :content-transfer-encoding:content-disposition:references; bh=zlkN7Pbws06/hq/NLG7KnSBc95kUyT7IEw+QNfpsghg=; b=r9cEXdueBsTMr8NIifxLm6VQbaXFgiViaTDt6A7gm6OQCegyCn83ohd6BimpPH72JI 3tm+Ju9viBaggpGvmbtH4+SoYWXiJCaoT6FsVGA/QKj8A1eat21Z40nGIGLgYE3vk6b6 Uqmn18eTjKGnMKKFRfW/2meGgzc2pncGqqUn4= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:in-reply-to:mime-version :content-type:content-transfer-encoding:content-disposition :references; b=PsFVJVswZ1wHZm5siX+sbK57xo7qAB6ep87FbxGgHJmwOMx0hc+pfNakUPtyWOfqby lNpLvFfTdvpeKnGrI+IyuLYH10PEOYWVfQLgWuw2rA5iNMv4e2grZjo2dE+A9aIYJDdj JvmaHm1oal3n3tQvb8Xnk1qL0XFrMud1B5TZE= Received: by 10.65.115.6 with SMTP id s6mr18383293qbm.73.1231542351580; Fri, 09 Jan 2009 15:05:51 -0800 (PST) Received: by 10.65.181.8 with HTTP; Fri, 9 Jan 2009 15:05:51 -0800 (PST) Message-ID: Date: Fri, 9 Jan 2009 15:05:51 -0800 From: "Chris Anderson" To: user@couchdb.apache.org Subject: Re: Couch processes... In-Reply-To: <9d5c45d10901091405s75e6697cp130d505c1c03ccf@mail.gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <9d5c45d10901091329qacc95a6k8668f0f42bf56ed4@mail.gmail.com> <9d5c45d10901091405s75e6697cp130d505c1c03ccf@mail.gmail.com> X-Virus-Checked: Checked by ClamAV on apache.org Does the test suite pass for you? Thanks, Chris On Fri, Jan 9, 2009 at 2:05 PM, Chris Van Pelt wrote: > I know, I dumped and loaded. I can access individual documents fine. > It's the view generation that is borked. > > Chris > > On Fri, Jan 9, 2009 at 1:58 PM, Chris Anderson wrote: >> Upgrading existing databases from 0.8.1 requires a dump/load cycle as >> the backing file format store has changed. See >> http://wiki.apache.org/couchdb/Breaking_changes for help. >> >> On Fri, Jan 9, 2009 at 1:29 PM, Chris Van Pelt wrote: >>> I recently upgraded to trunk and now my DB is misbehaving. It's >>> having trouble generating my view. I'm wondering if there is a good >>> way to figure out where Couch is spending all of it's time. >>> >>> Upon requesting the view, I see a couchjs process fired off, and than >>> my beam.smp process starts to pick up steam. The beam.smp process >>> sits around 100% CPU and slowly grows in memory consumption. couchjs >>> process chills at around 8% CPU, often times another couchjs process >>> is fired off as well. Both of these processes tend to slowly decrease >>> in resource consumption. I looked in my .dbname view directory and >>> noticed that the view file grows in size initially to about 14MB, then >>> beam.smp sits at 100% CPU for 15-20 minutes before the view files >>> changes in size. >>> >>> Since updating to trunk the view seems to never finish rendering. I >>> have 9000 documents and 8.1 was rendering it slowly, but it was able >>> to render it. I just rewrote my mapReduce to look more like a >>> mapCombine and tried to regenerate the view. It's been 30 minutes, >>> the view file is still at 14MB, nothing has been written to the log, I >>> have 2 couchjs process at about 5% CPU and the beam.smp process is at >>> 85%. >>> >>> Is there a good way to debug this? One other interesting thing I >>> noticed was the couchdb executable actually launching two identical >>> processes... >>> >>> Any help would be much appreciated. >>> >>> Chris >>> >> >> >> >> -- >> Chris Anderson >> http://jchris.mfdz.com >> > -- Chris Anderson http://jchris.mfdz.com