From dev-return-7574-apmail-couchdb-dev-archive=couchdb.apache.org@couchdb.apache.org Thu Dec 03 00:07:45 2009 Return-Path: Delivered-To: apmail-couchdb-dev-archive@www.apache.org Received: (qmail 27088 invoked from network); 3 Dec 2009 00:07:45 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 3 Dec 2009 00:07:45 -0000 Received: (qmail 58391 invoked by uid 500); 3 Dec 2009 00:07:44 -0000 Delivered-To: apmail-couchdb-dev-archive@couchdb.apache.org Received: (qmail 58312 invoked by uid 500); 3 Dec 2009 00:07:44 -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 58298 invoked by uid 99); 3 Dec 2009 00:07:44 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 03 Dec 2009 00:07:44 +0000 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; Thu, 03 Dec 2009 00:07:41 +0000 Received: from brutus (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id 9B6BB234C045 for ; Wed, 2 Dec 2009 16:07:20 -0800 (PST) Message-ID: <1136365661.1259798840622.JavaMail.jira@brutus> Date: Thu, 3 Dec 2009 00:07:20 +0000 (UTC) From: "Randall Leeds (JIRA)" To: dev@couchdb.apache.org Subject: [jira] Updated: (COUCHDB-590) Support resource limit configuration in the init scripts In-Reply-To: <245035935.1259798480626.JavaMail.jira@brutus> 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-590?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Randall Leeds updated COUCHDB-590: ---------------------------------- Attachment: ulimit.patch Patch as described. > Support resource limit configuration in the init scripts > -------------------------------------------------------- > > Key: COUCHDB-590 > URL: https://issues.apache.org/jira/browse/COUCHDB-590 > Project: CouchDB > Issue Type: Improvement > Components: Infrastructure > Reporter: Randall Leeds > Priority: Minor > Attachments: ulimit.patch > > Original Estimate: 0h > Remaining Estimate: 0h > > It would be nice to specify some resource limits when spawning couchdb from the init scripts. > I've seen high load result in mochiweb accept errors, for example, and increasing the file descriptor limit solved the problem. > I'm attaching a patch that allows any options to be passed to ulimit via /etc/defaults/couchdb -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.