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 91446D16A for ; Wed, 29 Aug 2012 00:33:39 +0000 (UTC) Received: (qmail 99493 invoked by uid 500); 29 Aug 2012 00:33:38 -0000 Delivered-To: apmail-couchdb-user-archive@couchdb.apache.org Received: (qmail 99456 invoked by uid 500); 29 Aug 2012 00:33:37 -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 99444 invoked by uid 99); 29 Aug 2012 00:33:37 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 29 Aug 2012 00:33:37 +0000 X-ASF-Spam-Status: No, hits=-0.7 required=5.0 tests=FSL_RCVD_USER,RCVD_IN_DNSWL_LOW,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of jhs@iriscouch.com designates 209.85.160.52 as permitted sender) Received: from [209.85.160.52] (HELO mail-pb0-f52.google.com) (209.85.160.52) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 29 Aug 2012 00:33:31 +0000 Received: by pbcxa7 with SMTP id xa7so140028pbc.11 for ; Tue, 28 Aug 2012 17:33:09 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :content-type:content-transfer-encoding:x-gm-message-state; bh=iJaDg3vCZx2PpUqjSluG4kMtpuAhZ44dw2EK8BHtrQM=; b=PFWpq7sHeap4Tp1YySPT3EuANLU/bYmYuAakYMC2Nc/zNvlVotrzHcfocVJgqnUFR/ xVvTy1E9axFhdTCR4sr28tL/xRD2ZweXXpUn1QzePMN5xI6+cHJhYQm2HLZV38S6c9nD 0hBG5hut5Xv2WklP/XtSZbUVf8Jkoqi2RYZxaY0wwrLDwSe6d2MODquHoIvFpsRDmDob Qzm8GLxNvZtx9W3+9nSmYoL2YjM9fVDowVN2WK/ary6U6+bUazfB+/6Ze79uITe1Hfuz zvWXxLfoEmIkTjBVXVn3EUzSHDpSYfogCePmNaXA5GLxHuThNG3oyazk8/Zej54i4aVU xn5Q== Received: by 10.68.222.40 with SMTP id qj8mr338712pbc.139.1346200389432; Tue, 28 Aug 2012 17:33:09 -0700 (PDT) MIME-Version: 1.0 Received: by 10.66.73.226 with HTTP; Tue, 28 Aug 2012 17:32:49 -0700 (PDT) In-Reply-To: <98616A46-B69A-428C-8E4A-A6E1F121905B@couchbase.com> References: <98616A46-B69A-428C-8E4A-A6E1F121905B@couchbase.com> From: Jason Smith Date: Wed, 29 Aug 2012 00:32:49 +0000 Message-ID: Subject: Re: max_document_size limits on hosted services? To: user@couchdb.apache.org Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable X-Gm-Message-State: ALoCoQnxXlqo8M17J2m5R3JRW+G/pHM1zCllY2ZwFwa+G82v57IQpnI5YpBbozrEq9sUbTczimWz Hi, Jens. Cloudant and Iris Couch run dissimilar software. It's a big clue that you have problems on both. Either you found a deep bug common to both (e.g. MochiWeb); or maybe they are independent failures; or maybe door number three. You say there is sometimes a 503 and sometimes a drop. Is that across both services? Finally, while not doubting your symptoms at all, I must say in my experience, the "hosting" has very rarely been a contributing factor to a bug. It's basically CouchDB (or BigCouch) running on an x86_64 box. Anyway, if you want, contact me off-list and I can set up some pcap rules for your couch and we can investigate the captures. On Tue, Aug 28, 2012 at 12:24 AM, Jens Alfke wrote: > I've had a few reports from TouchDB users of problems replicating large d= ocuments up to hosted services (IrisCouch or Cloudant). The symptom is that= TouchDB uploads ~200k of JSON via _bulk_docs and then either gets a 503 er= ror or just a dropped connection. I'm wondering whether this is a symptom o= f hitting a server-side limit on the maximum size of a document body. > > Looking through the CouchDB config I see a couchdb.max_document_size sett= ing, but it defaults to 4GB, which should be more than sufficient :) It's a= lso set to 4GB on my basic IrisCouch account. Is there some other limit on = document size, or known bugs that would cause a server error with very larg= e JSON documents? > > =E2=80=94Jens --=20 Iris Couch