Return-Path: Delivered-To: apmail-couchdb-user-archive@www.apache.org Received: (qmail 70544 invoked from network); 24 Nov 2009 15:17:25 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 24 Nov 2009 15:17:25 -0000 Received: (qmail 48312 invoked by uid 500); 24 Nov 2009 15:17:23 -0000 Delivered-To: apmail-couchdb-user-archive@couchdb.apache.org Received: (qmail 48230 invoked by uid 500); 24 Nov 2009 15:17:23 -0000 Mailing-List: contact user-help@couchdb.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: user@couchdb.apache.org Delivered-To: mailing list user@couchdb.apache.org Received: (qmail 48220 invoked by uid 99); 24 Nov 2009 15:17:23 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 24 Nov 2009 15:17:23 +0000 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of macfisherman@gmail.com designates 209.85.219.210 as permitted sender) Received: from [209.85.219.210] (HELO mail-ew0-f210.google.com) (209.85.219.210) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 24 Nov 2009 15:17:15 +0000 Received: by ewy2 with SMTP id 2so4351ewy.32 for ; Tue, 24 Nov 2009 07:16:55 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:in-reply-to:references :date:message-id:subject:from:to:content-type; bh=8bG+8cLp31H7yOFrRaQ2WrMKCeKUyBtgGsA4J1H5Rus=; b=pq6lq8FcLm4iUsGkCWS3sYY2pXgdcKna5i6wdidf4jOtvJ6gpWm92akGM+Qk2cXDGw VinIb46lDmMST6ulmnWOzAw6i3TZUkEpcOESmTCZKKSB/3zGjH35JLMeFKR4AMAyN/wF zMGsxu6AocxVxPIBghuMq1Ew6MR9rI2oLkiQg= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type; b=dSVUDj/1OpYEgCoxyDVQ7cjDq31GPPimKIsMv9R6a7hak9BK48qwo+CBkgje7Qmt0L 21SLMUd0O64AFnkMSNJ9PUwLaTshJzLDftDGoq0TBNbxXSRDsaYH6+W86SlUTsa+a7yx LK23iARgLACYBedpjlBsrkg+Iluuzy5k6woKM= MIME-Version: 1.0 Received: by 10.213.0.142 with SMTP id 14mr6439499ebb.49.1259075815095; Tue, 24 Nov 2009 07:16:55 -0800 (PST) In-Reply-To: <45ae90370911231726w6f3fa36ele27fe6b4bbb1b19b@mail.gmail.com> References: <45ae90370911231435p64486788v6248a03c0d3aac8e@mail.gmail.com> <404484DB-9778-4E45-89AB-7765B640C6A7@apache.org> <45ae90370911231726w6f3fa36ele27fe6b4bbb1b19b@mail.gmail.com> Date: Tue, 24 Nov 2009 10:16:55 -0500 Message-ID: <45ae90370911240716q5cc70588o94d157f39612bdb4@mail.gmail.com> Subject: Re: all_dbs_active - what should an app do when it gets this? From: Jeff Macdonald To: user@couchdb.apache.org Content-Type: text/plain; charset=ISO-8859-1 X-Virus-Checked: Checked by ClamAV on apache.org 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