Return-Path: Delivered-To: apmail-couchdb-user-archive@www.apache.org Received: (qmail 41423 invoked from network); 5 Apr 2011 15:15:08 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 5 Apr 2011 15:15:08 -0000 Received: (qmail 25022 invoked by uid 500); 5 Apr 2011 15:15:07 -0000 Delivered-To: apmail-couchdb-user-archive@couchdb.apache.org Received: (qmail 24972 invoked by uid 500); 5 Apr 2011 15:15:07 -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 24963 invoked by uid 99); 5 Apr 2011 15:15:07 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 05 Apr 2011 15:15:07 +0000 X-ASF-Spam-Status: No, hits=-0.7 required=5.0 tests=FREEMAIL_FROM,MIME_QP_LONG_LINE,RCVD_IN_DNSWL_LOW,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of luismiguelferreirasilva@gmail.com designates 209.85.218.52 as permitted sender) Received: from [209.85.218.52] (HELO mail-yi0-f52.google.com) (209.85.218.52) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 05 Apr 2011 15:14:57 +0000 Received: by yih10 with SMTP id 10so300267yih.11 for ; Tue, 05 Apr 2011 08:14:36 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:references:in-reply-to:mime-version :content-transfer-encoding:content-type:message-id:cc:x-mailer:from :subject:date:to; bh=Hb8L0DlvD33JVMZTHgmM8Ld6CJdGWguA541fUwJwEpo=; b=dynPqXzKRs46uOFNwOaSaCigWytTJn8EWlrh27HWm+AzpCnS1h9GsSv+zB3taGKNP0 RnFlZxs9FUCkikRzU/ZEhedMFyEKJgWGpy4KGFqzovX2DSebLhYadsx9GG63He026ecw kVwWcH5kJv8+0A5iI8tVCKdT0OlmbUeRUgcCM= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=references:in-reply-to:mime-version:content-transfer-encoding :content-type:message-id:cc:x-mailer:from:subject:date:to; b=FCoykkQO6sVglVq71/LBubMpg29RteYSzOsbojs4ibqNX4Ci6iwsvRky+uuTgu2sBB L81tFt1nIBm5kpyxn7xzuLa4QlBUlIRr0ifRORwy+JVazua44b/7z/qTGgKSL/IGSvG2 dz53pi6L/SuesIkIXH36r0CiojCrKaEsUe1kg= Received: by 10.236.66.44 with SMTP id g32mr12403666yhd.137.1302016476830; Tue, 05 Apr 2011 08:14:36 -0700 (PDT) Received: from [10.99.130.55] ([166.205.11.158]) by mx.google.com with ESMTPS id f32sm2876277yhc.28.2011.04.05.08.14.31 (version=TLSv1/SSLv3 cipher=OTHER); Tue, 05 Apr 2011 08:14:35 -0700 (PDT) References: <4D9AD80A.6020904@aol.com> <85412353-A793-48D5-9D63-AF7C98B25030@gmail.com> In-Reply-To: Mime-Version: 1.0 (iPhone Mail 8G4) Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=us-ascii Message-Id: <2F1E2B3E-7665-491E-81F9-8D2696D657A1@gmail.com> Cc: "user@couchdb.apache.org" X-Mailer: iPhone Mail (8G4) From: Luis Miguel Silva Subject: Re: CouchDB crashing on me (while doing benchmark with 1 million documents) Date: Tue, 5 Apr 2011 09:14:11 -0600 To: "user@couchdb.apache.org" X-Virus-Checked: Checked by ClamAV on apache.org Robert, Yes, i agree but my company still needed extreme tests to evaluate potential= limitations. Im extremely excited with couchdb but had to report what can we expect from i= t before adopting it! Either way, the 1 million bulk wasnt the problem. That just, apparently, sto= od there and was taking forever to finish (i dont know if it wouldnt be able= to recover by itself). My problem is with the concurrent 1 million docs. Thanks, Luis Miguel Silva On Apr 5, 2011, at 9:08 AM, Robert Newson wrote: > One million docs in a single _bulk_docs query? I'm not surprised it > doesn't work, that's quite a weird thing to try. >=20 > B. >=20 > On 5 April 2011 14:59, Luis Miguel Silva > wrote: >> It is version 1.0.1 (i think - i can't connect to my server right now, bu= t it's basically the latest stable version available for download in the off= icial web site), and i'm running on CentOS 5.5 x64. >>=20 >> Do you want the steps i used to reproduce this? >>=20 >> p.s. i also tried submitting 1 million documents to the bulk_docs API (fr= om one process) and after 33 minutes the process still hadn't finished so i j= ust killed it... >> p.p.s. as for the test that crashed couchdb, i actually tried it two or t= hree times (after restarting couchDB and starting with a brand new / clean D= B)... >>=20 >> Thanks, >> Luis Miguel Silva >>=20 >> On Apr 5, 2011, at 2:51 AM, Cliff Williams wrote: >>=20 >>> Luis, >>>=20 >>> good morning. >>>=20 >>> What platform (linux/windows) and version of couchdb are you running?? >>>=20 >>> best regards >>>=20 >>> Cliff >>>=20 >>> On 05/04/11 06:49, Luis Miguel Silva wrote: >>>> Dear all, >>>>=20 >>>> I'm doing some benchmarks on CouchDB and it seems i'm making it crash >>>> when i try to create 1 million parallel documents, using 10 processes, >>>> submitting 100000K documents each (using the bulk_docs API). >>>> Is there anything i can debug to figure out what is going on? The >>>> server just dies and the logs do not show anything special... >>>>=20 >>>> The only thing i see in the client side is that the server just >>>> unexpectedly closed the connection and did not return anything... >>>> curl: (52) Empty reply from server >>>> curl: (52) Empty reply from server >>>> curl: (52) Empty reply from server >>>> curl: (52) Empty reply from server >>>> curl: (52) Empty reply from server >>>> curl: (52) Empty reply from server >>>> curl: (52) Empty reply from server >>>> curl: (52) Empty reply from server >>>> curl: (52) Empty reply from server >>>> curl: (52) Empty reply from server >>>>=20 >>>> real 1m20.955s >>>> user 0m0.180s >>>> sys 0m0.148s >>>>=20 >>>> real 1m21.034s >>>> user 0m0.140s >>>> sys 0m0.064s >>>>=20 >>>> real 1m21.036s >>>> user 0m0.144s >>>> sys 0m0.088s >>>>=20 >>>> real 1m21.035s >>>> user 0m0.192s >>>> sys 0m0.124s >>>>=20 >>>> real 1m21.041s >>>> user 0m0.184s >>>> sys 0m0.168s >>>>=20 >>>> real 1m21.040s >>>> user 0m0.108s >>>> sys 0m0.136s >>>>=20 >>>> real 1m21.048s >>>> user 0m0.136s >>>> sys 0m0.092s >>>>=20 >>>> real 1m21.050s >>>> user 0m0.136s >>>> sys 0m0.132s >>>>=20 >>>> real 1m21.049s >>>> user 0m0.112s >>>> sys 0m0.116s >>>>=20 >>>> real 1m21.059s >>>> user 0m0.132s >>>> sys 0m0.092s >>>>=20 >>>> [root@xkitten ~]# >>>>=20 >>>> Any thoughts? >>>>=20 >>>> p.s. does anybody else have some interesting benchmarks they can hare w= ith me? >>>>=20 >>>> Thank you! >>>> Luis >>>>=20 >>=20