Return-Path: Delivered-To: apmail-incubator-couchdb-dev-archive@locus.apache.org Received: (qmail 72537 invoked from network); 1 Apr 2008 01:48:53 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 1 Apr 2008 01:48:53 -0000 Received: (qmail 48377 invoked by uid 500); 1 Apr 2008 01:48:52 -0000 Delivered-To: apmail-incubator-couchdb-dev-archive@incubator.apache.org Received: (qmail 48349 invoked by uid 500); 1 Apr 2008 01:48:52 -0000 Mailing-List: contact couchdb-dev-help@incubator.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: couchdb-dev@incubator.apache.org Delivered-To: mailing list couchdb-dev@incubator.apache.org Received: (qmail 48096 invoked by uid 99); 1 Apr 2008 01:48:51 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 31 Mar 2008 18:48:51 -0700 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [140.211.11.140] (HELO brutus.apache.org) (140.211.11.140) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 01 Apr 2008 01:48:07 +0000 Received: from brutus (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id 4D976234C0B4 for ; Mon, 31 Mar 2008 18:46:24 -0700 (PDT) Message-ID: <2118644162.1207014384316.JavaMail.jira@brutus> Date: Mon, 31 Mar 2008 18:46:24 -0700 (PDT) From: "Benoit Chesneau (JIRA)" To: couchdb-dev@incubator.apache.org Subject: [jira] Created: (COUCHDB-32) map function timeout MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org map function timeout -------------------- Key: COUCHDB-32 URL: https://issues.apache.org/jira/browse/COUCHDB-32 Project: CouchDB Issue Type: Bug Components: JavaScript View Server Environment: ubuntu/ openbsd . dualcore amd64 440+ with 2go of ram, couchdb version 0.7.2 Reporter: Benoit Chesneau Priority: Critical I can't have any results with views on 229 items in database. Each execution give this result : {"error":"map_process_error","reason":"map function timed out"} . _adhoc views_ work. debug log : [Tue, 01 Apr 2008 01:36:17 GMT] [info] [<0.68.0>] HTTP Request: GET /test/_view/paste/all HTTP/1.1 [Tue, 01 Apr 2008 01:36:17 GMT] [debug] [<0.68.0>] Headers: [{"connection","keep-alive"}, {"keep-alive","300"}, {"accept-charset","ISO-8859-1,utf-8;q=0.7,*;q=0.7"}, {"accept-encoding","gzip,deflate"}, {"accept-language","en-us,en;q=0.5"}, {"accept", "text/xml,application/xml,application/xhtml+xml,text/html;q=0.9,text/plain;q=0.8,image/png,*/*;q=0.5"}, {"user-agent", "Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.8.1.13) Gecko/20080325 Ubuntu/7.10 (gutsy) Firefox/2.0.0.13"}, {"host","localhost:5984"}] [Tue, 01 Apr 2008 01:36:17 GMT] [debug] [<0.68.0>] Body: [] [Tue, 01 Apr 2008 01:36:18 GMT] [info] [<0.77.0>] Spawning new text/javascript instance. [Tue, 01 Apr 2008 01:36:30 GMT] [error] [emulator] Error in process <0.77.0> with exit value: {{nocatch,{map_process_error,"map function timed out"}},[{couch_query_servers,readline,2},{couch_query_servers,read_json,1},{couch_query_servers,'-map_docs/2-fun-0-',2},{lists,map,2},{couch_query_servers,map_docs,2... [Tue, 01 Apr 2008 01:36:30 GMT] [info] [<0.68.0>] HTTP Error (code 500): {obj,[{error,"map_process_error"}, {reason,"map function timed out"}]} [Tue, 01 Apr 2008 01:36:30 GMT] [debug] [<0.68.0>] HTTP Response Headers (code 500): [{"cache-control","no-cache"}, {"pragma","no-cache"}, {"expires","Tue, 01 Apr 2008 01:36:30 GMT"}, {"transfer-encoding","chunked"}, {"content-type", "text/plain;charset=utf-8"}] [Tue, 01 Apr 2008 01:36:30 GMT] [info] [<0.68.0>] HTTP Response Code:500 View tested : function(doc) { if (doc.type == 'snippet') map(doc._id, doc); } -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.