couchdb-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Paul Davis <>
Subject Re: all_dbs_active - what should an app do when it gets this?
Date Tue, 24 Nov 2009 15:19:06 GMT
On Tue, Nov 24, 2009 at 10:16 AM, Jeff Macdonald <> wrote:
> On Mon, Nov 23, 2009 at 8:26 PM, Jeff Macdonald <> wrote:
>> On Mon, Nov 23, 2009 at 6:41 PM, Damien Katz <> wrote:
>>> Yeah, the limit is 100 open dbs at a time. Databases that are being
>>> compacted or having views built will cause the dbs to remain open even if no
>>> clients are actively access the server. Continuous replication shouldn't
>>> keep the dbs open unless it's actively replicatng changes.
>>> You can up the open db limit to whatever you want, but you might have to
>>> boost the open files allowable in the OS settings somewhere.
>>> If you are hitting the limit, but don't have enough clients accessing the
>>> dbs, and have no views being built and no compactions happening, it might be
>>> bug in CouchDB.
>> I have 1 client program using Net::CouchDB, no views yet, no
>> compactions. I'll try to create a small test program tomorrow to see
>> if I can duplicate the conditions.
> hmmm.... before I do this, maybe I'm mis-understanding what an active
> db is. Does it mean there is some activity with a database, or that a
> database simply exists?
> --
> Jeff Macdonald
> Ayer, MA

An active DB is one that has an open file handle being accessed by
some part of CouchDB.

Paul Davis

View raw message