You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@couchdb.apache.org by "Randall Leeds (JIRA)" <ji...@apache.org> on 2011/09/15 03:48:08 UTC

[jira] [Closed] (COUCHDB-1282) Allow special value 0 for os_process_limit

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

Randall Leeds closed COUCHDB-1282.
----------------------------------

    Resolution: Not A Problem

> Allow special value 0 for os_process_limit
> ------------------------------------------
>
>                 Key: COUCHDB-1282
>                 URL: https://issues.apache.org/jira/browse/COUCHDB-1282
>             Project: CouchDB
>          Issue Type: Improvement
>            Reporter: Randall Leeds
>            Assignee: Randall Leeds
>            Priority: Trivial
>         Attachments: 0001-Smart-os_proc_limit-default-COUCHDB-1282.patch
>
>
> It's unlikely to be beneficial to run more os processes than there are logical processors in a system. It creates extra scheduling overhead if they are all in use. Currently default.ini specifies 25, though the code specifies 10 if the option is missing, and I expect both are too high for many real world deployments.
> I propose the value 0 be used in default.ini and that it take special meaning: use the number of logical processors erlang detects.

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira