Return-Path: X-Original-To: apmail-couchdb-user-archive@www.apache.org Delivered-To: apmail-couchdb-user-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 70484F1B4 for ; Wed, 1 May 2013 09:15:32 +0000 (UTC) Received: (qmail 81960 invoked by uid 500); 1 May 2013 09:15:31 -0000 Delivered-To: apmail-couchdb-user-archive@couchdb.apache.org Received: (qmail 81819 invoked by uid 500); 1 May 2013 09:15:30 -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 81783 invoked by uid 99); 1 May 2013 09:15:28 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 01 May 2013 09:15:28 +0000 X-ASF-Spam-Status: No, hits=-0.7 required=5.0 tests=RCVD_IN_DNSWL_LOW,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of bchesneau@gmail.com designates 209.85.216.181 as permitted sender) Received: from [209.85.216.181] (HELO mail-qc0-f181.google.com) (209.85.216.181) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 01 May 2013 09:15:23 +0000 Received: by mail-qc0-f181.google.com with SMTP id a22so616939qcs.26 for ; Wed, 01 May 2013 02:15:02 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:x-received:in-reply-to:references:date:message-id :subject:from:to:content-type; bh=nEINZOeYAb/CwxjplAFp3QzSpR7vc3aXfd5yRB2PUcE=; b=eVUwsximGGLbYdm2St7rdUx3pDXEF4TiC9pn00kcYun01a/tZy7SuYWIugM+tCL5AX TZeRj/32LL5NgQEHXQCw5zaWj+cAMaQl+o7owZ6rkiKzD2ASk84iW3z55Cg5yErCwqHP +U0D3t+kS99bRCWXz5odgEwtc5Zm/nRx/UFM+nVlKont3qLST/JlTXsa90kN4wccK6vr oBwwkTgi4s9gqG3TFjTCS3wUgGmUH392V212IQnKugPz+0be/anTO7J0uJah8hmMt/Y3 vm1+AaJLK2awo2pmiZnFXlOUDtpmq3Iz66dozwUl2yZmhv3LdDIFxsu6zBxxmO4JnhXA +f8A== MIME-Version: 1.0 X-Received: by 10.229.158.6 with SMTP id d6mr702435qcx.51.1367399702413; Wed, 01 May 2013 02:15:02 -0700 (PDT) Received: by 10.49.27.231 with HTTP; Wed, 1 May 2013 02:15:02 -0700 (PDT) In-Reply-To: References: <3E6A7478-96CC-49CD-88B6-BF67FAFDE406@gmail.com> Date: Wed, 1 May 2013 11:15:02 +0200 Message-ID: Subject: Re: CouchDB 1.2.0 Keeps Crashing. From: Benoit Chesneau To: "user@couchdb.apache.org" Content-Type: text/plain; charset=ISO-8859-1 X-Virus-Checked: Checked by ClamAV on apache.org On Wed, May 1, 2013 at 11:00 AM, Pieter van der Eems wrote: > 2013/5/1 Benoit Chesneau : >> On Wed, May 1, 2013 at 10:44 AM, Benoit Chesneau wrote: >>> On Wed, May 1, 2013 at 10:38 AM, Pieter van der Eems >>> wrote: >>> >>>> >>>> Is the file descriptor a couchdb limit that I can change (where?) or a >>>> filesystem limit (ext4, we've already hit ext4 limit before but the >>>> errors were different). >>>> >>>> >>> >>> man ulimit(3) >>> >>> - benoit >> >> >> in clear, either use the ulimit command to increase the limits at >> runtime or increase them either in security.conf or limits.conf >> depending on your system. > Ubuntu 11.10 (it needs updating, just haven't had the time yet). > >> >> Probably /etc/security/limits.conf in your case. > That looks like the one. > > >> I'm actually >> interrested by the limit you already have, can you paste the result of >> ` ulimit -n` ? > > It's 1024 > That seems to be the default. > My own desktop (Ubuntu 12.04) has the same. > > We have more than that number of databases (1134 as of now). > Thanks, you should try to slowly iincrease the limits of the user launching couchdb to test which one is good for you, it all depends on the number of max dbs opened, number of requests and view calculated at the same time - benoit