Return-Path: Delivered-To: apmail-couchdb-dev-archive@www.apache.org Received: (qmail 30043 invoked from network); 20 Feb 2009 01:53:02 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 20 Feb 2009 01:53:02 -0000 Received: (qmail 8375 invoked by uid 500); 20 Feb 2009 01:53:01 -0000 Delivered-To: apmail-couchdb-dev-archive@couchdb.apache.org Received: (qmail 8338 invoked by uid 500); 20 Feb 2009 01:53:01 -0000 Mailing-List: contact dev-help@couchdb.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@couchdb.apache.org Delivered-To: mailing list dev@couchdb.apache.org Received: (qmail 8327 invoked by uid 99); 20 Feb 2009 01:53:01 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 19 Feb 2009 17:53:01 -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 dionne@dionne-associates.com designates 67.222.38.35 as permitted sender) Received: from [67.222.38.35] (HELO outbound-mail-145.bluehost.com) (67.222.38.35) by apache.org (qpsmtpd/0.29) with SMTP; Fri, 20 Feb 2009 01:52:47 +0000 Received: (qmail 24419 invoked by uid 0); 20 Feb 2009 01:49:58 -0000 Received: from unknown (HELO host183.hostmonster.com) (74.220.207.183) by outboundproxy5.bluehost.com with SMTP; 20 Feb 2009 01:49:58 -0000 DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=default; d=dionne-associates.com; h=Received:Mime-Version:In-Reply-To:References:Content-Type:Message-Id:Content-Transfer-Encoding:From:Subject:Date:To:X-Mailer:X-Identified-User; b=fkWejMB+/ZN3McSNLQIsuDpEm1bzbyFNSrx3Ex7BBmyXsB2cW0TLZIlmX8z8Gb+d736QvGenu6aAw6vW2mQ1T3BpVT0GCRwK3lITB55VrjqVCk9Y3+DORtw1/pa6LxE/; Received: from h-67-101-197-226.nycmny83.dynamic.covad.net ([67.101.197.226] helo=[192.168.2.100]) by host183.hostmonster.com with esmtpa (Exim 4.69) (envelope-from ) id 1LaKYy-0006eO-BS for dev@couchdb.apache.org; Thu, 19 Feb 2009 18:52:24 -0700 Mime-Version: 1.0 (Apple Message framework v753.1) In-Reply-To: References: <0FA24A9F-4AE9-43D9-B8E3-B40E6F024D16@apache.org> Content-Type: text/plain; charset=US-ASCII; delsp=yes; format=flowed Message-Id: <8B3E8FFF-6226-40E4-8ADE-D33B9F6145DC@dionne-associates.com> Content-Transfer-Encoding: 7bit From: Robert Dionne Subject: Re: Stats Patch API Discussion Date: Thu, 19 Feb 2009 20:51:32 -0500 To: dev@couchdb.apache.org X-Mailer: Apple Mail (2.753.1) X-Identified-User: {2551:host183.hostmonster.com:dionneas:dionne-associates.com} {sentby:smtp auth 67.101.197.226 authed with dionne@dionne-associates.com} X-Virus-Checked: Checked by ClamAV on apache.org I"m seeing the same kinds of errors. The suite ran once from Futon but tends to fail on delayed_commits. It fails using runner also. But it is working. I'm adding some functions to erl-couch to call stats from erlang clients. I've tried _stats and _stats/couchdb/ request_time. I'm getting numbers back. It's very clean and the Eunit stuff is clearly a big win. On Feb 19, 2009, at 8:16 PM, Chris Anderson wrote: > Having trouble with the build. Or, rather, it builds just fine, but > even the basics test seems to be failing, with lots of stuff like this > in the logfile: > > [error] [<0.43.0>] {error_report,<0.21.0>, > {<0.43.0>,supervisor_report, > [{supervisor,{local,couch_secondary_services}}, > {errorContext,child_terminated}, > {reason,normal}, > {offender,[{pid,<0.110.0>}, > {name,stats_collector}, > {mfa,{couch_stats_collector,start,[]}}, > {restart_type,permanent}, > {shutdown,brutal_kill}, > {child_type,worker}]}]}} > [error] [<0.43.0>] {error_report,<0.21.0>, > {<0.43.0>,supervisor_report, > [{supervisor,{local,couch_secondary_services}}, > {errorContext,child_terminated}, > {reason,normal}, > {offender,[{pid,<0.111.0>}, > {name,stats_aggregator}, > {mfa,{couch_stats_aggregator,start,[]}}, > {restart_type,permanent}, > {shutdown,brutal_kill}, > {child_type,worker}]}]}} > > It really could be just me. Anyone else tried to run the tests on the > current version of the branch? > > http://github.com/janl/couchdb/tree/old-stats-new > > I'm know I ran `make clean` and rebootstrapped. I'm launching CouchDB > with `make dev && utils/run`. It seems like Couch is running just > fine, but eventually the failure of couch_stats_* to boot properly is > causing it to drop http requests. > > The code looks clean and well documented, so this should be easy to > fix, or maybe it's something on my end. It'd be helpful to hear if it > works for others. > > Chris > > -- > Chris Anderson > http://jchris.mfdz.com