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 BF42A7401 for ; Wed, 17 Aug 2011 02:37:54 +0000 (UTC) Received: (qmail 85974 invoked by uid 500); 17 Aug 2011 02:37:53 -0000 Delivered-To: apmail-couchdb-dev-archive@couchdb.apache.org Received: (qmail 85828 invoked by uid 500); 17 Aug 2011 02:37:52 -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 85820 invoked by uid 99); 17 Aug 2011 02:37:51 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 17 Aug 2011 02:37:51 +0000 X-ASF-Spam-Status: No, hits=-2001.1 required=5.0 tests=ALL_TRUSTED,RP_MATCHES_RCVD X-Spam-Check-By: apache.org Received: from [140.211.11.116] (HELO hel.zones.apache.org) (140.211.11.116) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 17 Aug 2011 02:37:48 +0000 Received: from hel.zones.apache.org (hel.zones.apache.org [140.211.11.116]) by hel.zones.apache.org (Postfix) with ESMTP id 302F9C0FEB for ; Wed, 17 Aug 2011 02:37:27 +0000 (UTC) Date: Wed, 17 Aug 2011 02:37:27 +0000 (UTC) From: "Filipe Manana (JIRA)" To: dev@couchdb.apache.org Message-ID: <1668001547.44008.1313548647194.JavaMail.tomcat@hel.zones.apache.org> In-Reply-To: <986584215.30318.1313096307801.JavaMail.tomcat@hel.zones.apache.org> Subject: [jira] [Updated] (COUCHDB-1246) CouchJS process spawned and not killed on each Reduce Overflow Error MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 X-Virus-Checked: Checked by ClamAV on apache.org [ https://issues.apache.org/jira/browse/COUCHDB-1246?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Filipe Manana updated COUCHDB-1246: ----------------------------------- Attachment: os_pool_trunk.patch Thanks Paul. I'll probably be updating the patch one or two times until then. > CouchJS process spawned and not killed on each Reduce Overflow Error > -------------------------------------------------------------------- > > Key: COUCHDB-1246 > URL: https://issues.apache.org/jira/browse/COUCHDB-1246 > Project: CouchDB > Issue Type: Bug > Components: JavaScript View Server > Affects Versions: 1.1 > Environment: Linux Debian Squeeze > [query_server_config] > reduce_limit = true > os_process_limit = 25 > Reporter: Michael Newman > Attachments: COUCHDB-1246.patch, categories, os_pool_trunk.patch, os_pool_trunk.patch > > > Running the view attached results in a reduce_overflow_error. For each reduce_overflow_error a process of /usr/lib/couchdb/bin/couchjs /usr/share/couchdb/server/main.js starts running. Once this gets to 25, which is the os_process_limit by default, all views result in a server error: timeout {gen_server,call,[couch_query_servers,{get_proc,<<"javascript">>}]} > As far as I can tell, these processes and the non-response from the views will continue until couch is restarted. -- This message is automatically generated by JIRA. For more information on JIRA, see: http://www.atlassian.com/software/jira