Return-Path: Delivered-To: apmail-couchdb-user-archive@www.apache.org Received: (qmail 46203 invoked from network); 29 Jan 2009 22:13:36 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 29 Jan 2009 22:13:36 -0000 Received: (qmail 97713 invoked by uid 500); 29 Jan 2009 22:13:33 -0000 Delivered-To: apmail-couchdb-user-archive@couchdb.apache.org Received: (qmail 97690 invoked by uid 500); 29 Jan 2009 22:13:32 -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 97679 invoked by uid 99); 29 Jan 2009 22:13:32 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 29 Jan 2009 14:13:32 -0800 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of paul.joseph.davis@gmail.com designates 209.85.198.228 as permitted sender) Received: from [209.85.198.228] (HELO rv-out-0506.google.com) (209.85.198.228) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 29 Jan 2009 22:13:24 +0000 Received: by rv-out-0506.google.com with SMTP id g37so124560rvb.35 for ; Thu, 29 Jan 2009 14:13:03 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:in-reply-to:references :date:message-id:subject:from:to:content-type :content-transfer-encoding; bh=VIBVn4Fdg/iy5NiIX+dQqzMlhgdi4aS1sNDSx6ZNzAM=; b=xxAxnDnJy15ss3HC5VYK8qbe/UGHQBUd1V7tUuDGHSB0pHsvVHEPBVQKk3lwPUcp1m xRZuTxJQXCf4xxMneN4RB0NPe0ngzYpBODtiuJ7WQQdkcjGa9xmc+tn8c6c0oV/ekk9U TaPSnof1SVooE34lXuOhsRccm3TGVhuQXlrRA= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type:content-transfer-encoding; b=F80vDWQncUbRPEN32FkV/ZUX+r8naqTmAeXQRO0qp7P+H0BEjm5KXytT5Jz7wBgrAu p8pvAbukxt4Qo4rSl9BLC1DhX1itJvtaBLQZxK1aNKmRWMLoZtCjGs0E8HOAQahT8Z5u YKmLduDehoYI+MKcHQTUowzVyHO+rypJpxXqM= MIME-Version: 1.0 Received: by 10.141.89.13 with SMTP id r13mr86356rvl.50.1233267183511; Thu, 29 Jan 2009 14:13:03 -0800 (PST) In-Reply-To: <63434E1D-A510-47F1-8B07-A31034611838@me.com> References: <8A73D79E-EB60-4C2B-817E-D956FAAFE10E@me.com> <63434E1D-A510-47F1-8B07-A31034611838@me.com> Date: Thu, 29 Jan 2009 17:13:03 -0500 Message-ID: Subject: Re: CouchDB huge performance difference between Mac OS / Linux From: Paul Davis To: user@couchdb.apache.org Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org On Thu, Jan 29, 2009 at 4:52 PM, Niket Patel wrote: > On Jan 30, 2009, at 3:00 AM, Paul Davis wrote: > >> Also discussing on IRC, we're wondering if the view is actually built >> correctly and something else is going wrong. An easy method to debug >> this if you get a copy of trunk, Futon has a panel that shows you >> actively running tasks so you'll be able to keep an eye on what >> couchdb is actually doing in terms of things like view generation and >> compaction. (replication is on the agenda) > > When view generation starts ( or when I access views ) > 'couchjs' starts and at that time Futon "Status" shows "View Group Indexer" > running > 'couchjs' goes away and Futon "Status" shows "No tasks running" > this things take under 30 seconds > .db_design/ directory size increase 1.6 MB every-time I access view and when > couchjs running > > After couchjs finish strange things start > 'beam' process now starts consuming 40-45% CPU and keep running until I > respawn with "couchdb -k" > .db_design/ directory size remains same so nothing written to disk > > Above issue not happen with Mac OS X > Whoa. Turn on debug logging and see if you're having a huge crash of the view process. I'm guessing you are. Send us any tracebacks you get.