[ 
https://issues.apache.org/jira/browse/COUCHDB-839?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Chris Stockton updated COUCHDB-839:
-----------------------------------

    Attachment: couchdb.tpl.in.patch

Here is a simple patch demonstrating the inclusion of a -O option. Note due to 
limitations of the current use of getopt (spaces) for simplicity I swapped it 
out with getopts. This shouldn't be a issue as browsing around I already see 
other bash/sh idioms that would cause issues for csh'ish systems.

-Chris

> 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.

Reply via email to