Return-Path: Delivered-To: apmail-couchdb-dev-archive@www.apache.org Received: (qmail 51561 invoked from network); 20 Feb 2009 02:32:21 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 20 Feb 2009 02:32:21 -0000 Received: (qmail 44421 invoked by uid 500); 20 Feb 2009 02:32:18 -0000 Delivered-To: apmail-couchdb-dev-archive@couchdb.apache.org Received: (qmail 44392 invoked by uid 500); 20 Feb 2009 02:32:17 -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 44379 invoked by uid 99); 20 Feb 2009 02:32:17 -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 18:32:17 -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 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, 20 Feb 2009 02:32:07 +0000 Received: by yx-out-2324.google.com with SMTP id 31so253452yxl.5 for ; Thu, 19 Feb 2009 18:31:46 -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=KCpKaqCo6JZQ4VmmfbaFiTTuYGd2atlkyIYXo2/LIEo=; b=OAlH87uEW8p6SseCdPLDgn7inu1p9apEd2BjlKSna8DrUkxN+5wL1e22Z5Ije4TcqE UTiPTh5xFO/oxzWcJiVhZS92oXuKm23NiehQ4ippAd9O9uXMyza40uACFPzSjxmuoOXh /AfQP4R2BjS0GGgZZjYigeq4NUQl0uZzrEQeM= 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=U5OLYR8ehWhz5ve/JMv/gwuHwLR/6bKkAhlqbwzpc5OLWN4aVhfHNHVmHlmkn3EazJ dQuM79WgOSL+9/Dhj4PXJPdw+ssLBE2kplLOQKBNleGmVqZgnO4rTngAHwLyGgwm5jQk cuAlrWUNDkHu0WjLpezQHt+pGyRDLKBRUUuU8= MIME-Version: 1.0 Received: by 10.100.255.9 with SMTP id c9mr445646ani.135.1235097106804; Thu, 19 Feb 2009 18:31:46 -0800 (PST) In-Reply-To: <8B3E8FFF-6226-40E4-8ADE-D33B9F6145DC@dionne-associates.com> References: <0FA24A9F-4AE9-43D9-B8E3-B40E6F024D16@apache.org> <8B3E8FFF-6226-40E4-8ADE-D33B9F6145DC@dionne-associates.com> Date: Thu, 19 Feb 2009 21:31:46 -0500 Message-ID: Subject: Re: Stats Patch API Discussion From: Paul Davis To: dev@couchdb.apache.org Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org I manged to clean up the errors by removing the two calls to couch_stats_[collector|aggregator]:stop() in couch_server_sup.erl at about line 35. Not at all certain if that's the appropriate method, but near as I can tell it mimics the other secondary services. HTH, Paul Davis On Thu, Feb 19, 2009 at 8:51 PM, Robert Dionne wrote: > 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 > >