Return-Path: Delivered-To: apmail-couchdb-user-archive@www.apache.org Received: (qmail 6361 invoked from network); 18 May 2010 17:59:37 -0000 Received: from unknown (HELO mail.apache.org) (140.211.11.3) by 140.211.11.9 with SMTP; 18 May 2010 17:59:37 -0000 Received: (qmail 53482 invoked by uid 500); 18 May 2010 17:59:36 -0000 Delivered-To: apmail-couchdb-user-archive@couchdb.apache.org Received: (qmail 53434 invoked by uid 500); 18 May 2010 17:59:36 -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 53426 invoked by uid 99); 18 May 2010 17:59:36 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 18 May 2010 17:59:36 +0000 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests=FREEMAIL_FROM,SPF_PASS,T_TO_NO_BRKTS_FREEMAIL X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of tom.sante@gmail.com designates 74.125.82.180 as permitted sender) Received: from [74.125.82.180] (HELO mail-wy0-f180.google.com) (74.125.82.180) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 18 May 2010 17:59:26 +0000 Received: by wyi11 with SMTP id 11so76420wyi.11 for ; Tue, 18 May 2010 10:59:06 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from :user-agent:mime-version:to:subject:references:in-reply-to :content-type:content-transfer-encoding; bh=abY2rbPTY8zQzSZsntOn3Mki5gEvrhxfJ4SbOFZFLxo=; b=WfdiVGGPUHW6wl3BSUadYVi5nbIpP1HxeyKk7nxXXWUEQeO7q2BgNrPGErnVulD7su 87OOg7ze+2518wIXhxa7wjAi58CmSlpiT6CR0Qhw4iDWvTLn93bJAPbGQhZVF4O/22w3 Z4U5ElTimyKpMvK1yIXfaPVTGS+WN58yf1ZGg= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:user-agent:mime-version:to:subject:references :in-reply-to:content-type:content-transfer-encoding; b=lOASG5ubyyUdEl4PnvMVw6KVRNAECPbYPnlJQwOW/PsvpB0gU2u8uICMYlGA2us//F HJIDN6dpG8YMzcNNeXqsF6zbS9s9Fwc4Fd7THTWTblBq6ZqQkngMpAFP6ijEEFPA/4Nv cGBuRA6APuGWTHmY32cyjdCbMRuuVSoxq/7uk= Received: by 10.227.143.205 with SMTP id w13mr6576139wbu.162.1274205546610; Tue, 18 May 2010 10:59:06 -0700 (PDT) Received: from pb.local (58.160-246-81.adsl-dyn.isp.belgacom.be [81.246.160.58]) by mx.google.com with ESMTPS id i35sm18295830gve.26.2010.05.18.10.58.58 (version=SSLv3 cipher=RC4-MD5); Tue, 18 May 2010 10:58:59 -0700 (PDT) Message-ID: <4BF2D560.2020302@gmail.com> Date: Tue, 18 May 2010 19:58:56 +0200 From: Tom Sante User-Agent: Mozilla/5.0 (Macintosh; U; PPC Mac OS X 10.5; en-US; rv:1.9.2.4) Gecko/20100517 Lanikai/3.1pre MIME-Version: 1.0 To: user@couchdb.apache.org Subject: Re: _active_tasks References: <4BF2D11C.7050806@gmail.com> In-Reply-To: Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org On 18/05/10 19:49, Markus Jelsma wrote: > There's no indication it can be queried continuously [1]. > > > > [1]: http://wiki.apache.org/couchdb/Runtime_Statistics > > -----Original message----- > From: Tom Sante > Sent: Tue 18-05-2010 19:41 > To: user@couchdb.apache.org; > Subject: Re: _active_tasks > > On 18/05/10 19:17, Markus Jelsma wrote: >> http://localhost:5984/_utils/status.html >> >> >> -----Original message----- >> From: Tom Sante >> Sent: Tue 18-05-2010 19:07 >> To: user@couchdb.apache.org; >> Subject: _active_tasks >> >> Hey, >> Quick question. Can you request info from _active_tasks the same ways >> (polling, continuous,..) as with _changes? or can I only have a script >> do regular polling if I want to keep an eye on the tasks? my goal is to >> have a watcher script, that is a kind of live status board of what view >> generation couch is running. >> >> Greetings, >> >> Tom >> > > I know about that and it uses polling, I was just asking if there is any > other way like in the case of _changes feed? > would be a pain to have my job-watcher script having to poll every few > seconds just to keep track of what views are running. > I know, I checked that before I mailed the list, but the wiki is not exactly know for its always up to date info on the actual latest trunk version functionality. Since my job watcher really is only meant to check status different long running jobs on the system, (only one of those is view generation in couchdb, other are none couch related jobs) I could get away with polling only every few minutes, if I miss it in that interval it's not really long running :-)