couchdb-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Noah Slater <nsla...@tumbolia.org>
Subject Re: Anything else for 1.0? (Was: Re: New code goes into trunk)
Date Thu, 17 Jun 2010 10:42:34 GMT

On 17 Jun 2010, at 01:57, Randall Leeds wrote:

> Okay. My issue here stems from the fact that I don't consider using more
> than 1024 ports a specialist use case deserving of a custom wrapper. Having
> fifty replications with default options already goes beyond this limit.
> 
> COUCHDB_OPTIONS could be used for command line flags with the change I
> proposed above, but ERL_MAX_PORTS is only set via the environment, which
> should be easily configured but is currently not.

If you put this:

	export ERL_MAX_PORTS=1024

Into this:

	/etc/default/couchdb

Then running this:

	/etc/init.d/couchdb start

Would pick up the value in the first example, and pass it to Erlang.

So as far as I know, the CouchDB daemon is already configurable in the manner you describe.
If the above does not work, then it should, and that is a bug. If you're not wanting to use
the standard init system for CouchDB, then you are on your own in terms of setting up the
correct environment for whatever system you have designed.
Mime
View raw message