Return-Path: Delivered-To: apmail-couchdb-dev-archive@www.apache.org Received: (qmail 80173 invoked from network); 2 Aug 2010 18:29:38 -0000 Received: from unknown (HELO mail.apache.org) (140.211.11.3) by 140.211.11.9 with SMTP; 2 Aug 2010 18:29:38 -0000 Received: (qmail 7357 invoked by uid 500); 2 Aug 2010 18:29:38 -0000 Delivered-To: apmail-couchdb-dev-archive@couchdb.apache.org Received: (qmail 7300 invoked by uid 500); 2 Aug 2010 18:29:37 -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 7292 invoked by uid 99); 2 Aug 2010 18:29:37 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 02 Aug 2010 18:29:37 +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.22] (HELO thor.apache.org) (140.211.11.22) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 02 Aug 2010 18:29:36 +0000 Received: from thor (localhost [127.0.0.1]) by thor.apache.org (8.13.8+Sun/8.13.8) with ESMTP id o72ITGfH003675 for ; Mon, 2 Aug 2010 18:29:16 GMT Message-ID: <14979377.121001280773756238.JavaMail.jira@thor> Date: Mon, 2 Aug 2010 14:29:16 -0400 (EDT) From: "Chris Stockton (JIRA)" To: dev@couchdb.apache.org Subject: [jira] Reopened: (COUCHDB-839) [PATCH] Couchdb startup script should support a erl startup options flag In-Reply-To: <13862709.56731280359337837.JavaMail.jira@thor> 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-839?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Chris Stockton reopened COUCHDB-839: ------------------------------------ Hello, I believe you would be very correct that those two specific flags may be passed through exports. Certain other arguments may also be influenced by switches. (+Bd I.E.). However, it should be understood before closing this that the emulator supports many other flags some of which for certain systems and setups may require flags outside the afore-mentioned. Such as +P, or for some setups defining the CPU topology may be desired. I am unaware of how to get these results without this (or similar) modification or scrapping the couchdb script all together. -Chris > [PATCH] Couchdb startup script should support a erl startup options flag > ------------------------------------------------------------------------ > > Key: COUCHDB-839 > URL: https://issues.apache.org/jira/browse/COUCHDB-839 > Project: CouchDB > Issue Type: Improvement > Components: Build System > Affects Versions: 0.11.1 > Environment: Linux, cent-os, any > Reporter: Chris Stockton > Priority: Minor > Attachments: couchdb.tpl.in.patch > > > It seems that the couchdb script does not support any options to pass to the erlang vm. Would be nice to allow a options flag and document on the wiki that it exists. It is important because large-scale deployments of couchdb need to pass some limits on to erlang. For example, I am using a -O option of: -O "+P 65536 -env ERL_MAX_ETS_TABLES 60000 -env ERL_MAX_PORTS 60000" -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.