Return-Path: X-Original-To: apmail-couchdb-dev-archive@www.apache.org Delivered-To: apmail-couchdb-dev-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 86B29DFF9 for ; Wed, 15 May 2013 22:19:17 +0000 (UTC) Received: (qmail 96071 invoked by uid 500); 15 May 2013 22:19:16 -0000 Delivered-To: apmail-couchdb-dev-archive@couchdb.apache.org Received: (qmail 96038 invoked by uid 500); 15 May 2013 22:19:16 -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 96028 invoked by uid 99); 15 May 2013 22:19:16 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 15 May 2013 22:19:16 +0000 Date: Wed, 15 May 2013 22:19:16 +0000 (UTC) From: "Randall Leeds (JIRA)" To: dev@couchdb.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Resolved] (COUCHDB-1792) Query to a view fails with {os_process_error,{exit_status,1}} MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/COUCHDB-1792?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Randall Leeds resolved COUCHDB-1792. ------------------------------------ Resolution: Fixed Fix Version/s: 1.4 1.3.1 > Query to a view fails with {os_process_error,{exit_status,1}} > ------------------------------------------------------------- > > Key: COUCHDB-1792 > URL: https://issues.apache.org/jira/browse/COUCHDB-1792 > Project: CouchDB > Issue Type: Bug > Components: Database Core, View Server Support > Reporter: Arpit > Assignee: Randall Leeds > Fix For: 1.3.1, 1.4 > > Attachments: 0001-couchjs-make-stack-size-option-effective.patch > > > I have a heavy JSON document around 5MB in size. I installed couchdb 1.3, spidermonkey 1.8.5 from source on a unix box. Upon querying a view having this heavy document I get the following error intermittently (once in a 2 queries) > The same operations never fails on my windows box but does fail sometimes on this unix installation which built from source. > Stacktrace: > [Fri, 10 May 2013 22:35:52 GMT] [error] [<0.187.0>] OS Process Error <0.189.0> :: {os_process_error,{exit_status,1}} > [Fri, 10 May 2013 22:35:52 GMT] [error] [emulator] Error in process <0.187.0> with exit value: {{nocatch,{os_process_error,{exit_status,1}}},[{couch_os_process,prompt,2 > },{couch_query_servers,map_doc_raw,2},{couch_mrview_updater,'-map_docs/2-fun-0-',3},{lists,foldl,3},{couch_mrview_updater,map_docs,2}]} > [Fri, 10 May 2013 22:35:52 GMT] [debug] [<0.108.0>] Minor error in HTTP request: {os_process_error,{exit_status,1}} > [Fri, 10 May 2013 22:35:52 GMT] [debug] [<0.108.0>] Stacktrace: [{couch_mrview_util,get_view,4}, > {couch_mrview,query_view,6}, > {couch_httpd,etag_maybe,2}, > {couch_mrview_http,design_doc_view,5}, > {couch_httpd_db,do_db_req,2}, > {couch_httpd,handle_request_int,5}, > {mochiweb_http,headers,5}, > {proc_lib,init_p_do_apply,3}] > [Fri, 10 May 2013 22:35:52 GMT] [info] [<0.108.0>] 10.36.3.4 - - GET /config-store-test/_design/queries/_view/docsByName?key=%22Arpit10%22&include_docs=true 500 > [Fri, 10 May 2013 22:35:52 GMT] [error] [<0.108.0>] httpd 500 error response: -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators For more information on JIRA, see: http://www.atlassian.com/software/jira