Database considered idle by active references to it and by related active operations (like compaction): https://github.com/apache/couchdb/blob/master/src/couchdb/couch_db.erl#L1115 CouchDB uses LRU cache to manage opened databases and frees idle by demand: https://github.com/apache/couchdb/blob/master/src/couchdb/couch_server.erl#L490 leads to: https://github.com/apache/couchdb/blob/master/src/couchdb/couch_server.erl#L261
There is nothing need to be configured. -- ,,,^..^,,, On Tue, Jun 24, 2014 at 7:01 PM, Herman Chan <[email protected]> wrote: > Hi there, > > In the description of max_db_open, it says "CouchDB reference counts > database accesses internally and will close idle databases when it must." I > was wondering what's consider idle in couchdb and if the idle time is > configurable? > > Herman
