Return-Path: X-Original-To: archive-asf-public-internal@cust-asf2.ponee.io Delivered-To: archive-asf-public-internal@cust-asf2.ponee.io Received: from cust-asf.ponee.io (cust-asf.ponee.io [163.172.22.183]) by cust-asf2.ponee.io (Postfix) with ESMTP id E493B200C33 for ; Sat, 25 Feb 2017 00:43:21 +0100 (CET) Received: by cust-asf.ponee.io (Postfix) id E3337160B79; Fri, 24 Feb 2017 23:43:21 +0000 (UTC) Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by cust-asf.ponee.io (Postfix) with SMTP id 36F90160B69 for ; Sat, 25 Feb 2017 00:43:21 +0100 (CET) Received: (qmail 43837 invoked by uid 500); 24 Feb 2017 23:43:20 -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 43823 invoked by uid 99); 24 Feb 2017 23:43:19 -0000 Received: from pnap-us-west-generic-nat.apache.org (HELO spamd3-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 24 Feb 2017 23:43:19 +0000 Received: from localhost (localhost [127.0.0.1]) by spamd3-us-west.apache.org (ASF Mail Server at spamd3-us-west.apache.org) with ESMTP id 85DBE18DBE5 for ; Fri, 24 Feb 2017 23:43:19 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd3-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: 0.002 X-Spam-Level: X-Spam-Status: No, score=0.002 tagged_above=-999 required=6.31 tests=[HEADER_FROM_DIFFERENT_DOMAINS=0.001, URIBL_BLOCKED=0.001] autolearn=disabled Received: from mx1-lw-eu.apache.org ([10.40.0.8]) by localhost (spamd3-us-west.apache.org [10.40.0.10]) (amavisd-new, port 10024) with ESMTP id 5QRGJMM8cvwF for ; Fri, 24 Feb 2017 23:43:14 +0000 (UTC) Received: from smtp.justsomehost.net (smtp.justsomehost.net [204.11.51.157]) by mx1-lw-eu.apache.org (ASF Mail Server at mx1-lw-eu.apache.org) with ESMTPS id 46C1A5F5A5 for ; Fri, 24 Feb 2017 23:43:14 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by smtp.justsomehost.net (Postfix) with ESMTP id 91FDB562DF1 for ; Fri, 24 Feb 2017 18:37:58 -0500 (EST) Received: from smtp.justsomehost.net ([127.0.0.1]) by localhost (smtp.justsomehost.net [127.0.0.1]) (amavisd-new, port 10032) with ESMTP id 21dBVq5jd4jG for ; Fri, 24 Feb 2017 18:37:57 -0500 (EST) Received: from localhost (localhost [127.0.0.1]) by smtp.justsomehost.net (Postfix) with ESMTP id A39A6562DEF for ; Fri, 24 Feb 2017 18:37:57 -0500 (EST) X-Virus-Scanned: amavisd-new at smtp.justsomehost.net Received: from smtp.justsomehost.net ([127.0.0.1]) by localhost (smtp.justsomehost.net [127.0.0.1]) (amavisd-new, port 10026) with ESMTP id Pka9I2NcAd-S for ; Fri, 24 Feb 2017 18:37:57 -0500 (EST) Received: from smtp.justsomehost.net (smtp.justsomehost.net [204.11.51.157]) by smtp.justsomehost.net (Postfix) with ESMTP id 79FA1562DED for ; Fri, 24 Feb 2017 18:37:57 -0500 (EST) Date: Fri, 24 Feb 2017 18:37:57 -0500 (EST) From: Joan Touzet Reply-To: Joan Touzet To: user@couchdb.apache.org Message-ID: <29604577.2769.1487979779350.JavaMail.Joan@RITA> In-Reply-To: References: <80328989-7851-438F-A5D9-F4D3BC17F76F@apache.org> <15217215.2200.1487815340266.JavaMail.Joan@RITA> <3953301.2412.1487890087614.JavaMail.Joan@RITA> Subject: Re: views failing due to fabric_worker_timeout and OS process timed out MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Originating-IP: [204.11.51.157] X-Mailer: Zimbra 8.6.0_GA_1194 (Zimbra Desktop/7.2.8_12102_Windows) Thread-Topic: views failing due to fabric_worker_timeout and OS process timed out Thread-Index: AdKMmJ5ahv2g+55OTlCAxAjbkoH18wAFWekAABmU/HBbPRoI+1r+eIpQ5NAZM3Hqfm8RMO3N91wJ archived-at: Fri, 24 Feb 2017 23:43:22 -0000 So glad Mango worked well for you! In effect, Mango uses the same mapreduce functionality under the covers as a traditional JS view, but the implementation is optimized and the domain-specific language is intended to be convenient and friendly to use. Correct. couchapps are, in effect, deprecated functionality. There should be ways to enable that functionality in future versions of CouchDB, but it most likely won't be the default configuration, and performance will not be optimized for couchapps. -Joan ----- Original Message ----- > From: "Gustavo Delfino" > To: user@couchdb.apache.org > Sent: Friday, February 24, 2017 4:41:52 PM > Subject: RE: views failing due to fabric_worker_timeout and OS process timed out > > I tried using Mango and the index builds without errors and much > faster. This is great, however I am trying to understand how this > fits with the rest of CouchDB. In particular, with Mango it looks > like we no longer "You query your view to retrieve the view result" > and this would imply that converting couchapps to Mango is not > trivial. Is this correct? > > Regards, > > Gustavo Delfino > > -----Original Message----- > From: Joan Touzet [mailto:wohali@apache.org] > Sent: Thursday, February 23, 2017 5:43 PM > To: user@couchdb.apache.org > Subject: Re: views failing due to fabric_worker_timeout and OS > process timed out > > Switching to Mango would be best. :) > > > ----- Original Message ----- > > From: "Gustavo Delfino" > > To: user@couchdb.apache.org, "Joan Touzet" > > Sent: Thursday, February 23, 2017 3:19:31 PM > > Subject: RE: views failing due to fabric_worker_timeout and OS > > process > > timed out > > > > I installed CouchDB 1.6.1 on a separate machine and copied all the > > data. Initially it failed too, but then I read about increasing the > > memory to couchjs.exe and now it seems to be working (the view is > > 50% > > ready after a few hours): > > > > http://stackoverflow.com/questions/21273736/couchdb-views-os-process-e > > rror-big-documents > > > > I changed [query_servers] javascript from > > > > ./couchjs.exe ../share/couchdb/server/main.js > > > > to > > > > ./couchjs.exe -S 268435456 ../share/couchdb/server/main.js > > > > This is four times the default amount of memory. > > > > Unfortunately this doesn't work with CouchDB 2.0.0 (see > > https://github.com/apache/couchdb-couch/pull/216 ) > > > > Do you think that switching to Erlang view server would better for > > handling big documents? > > > > Regards, > > > > Gustavo Delfino > >