Return-Path: Delivered-To: apmail-couchdb-user-archive@www.apache.org Received: (qmail 57331 invoked from network); 20 Nov 2009 10:42:47 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 20 Nov 2009 10:42:47 -0000 Received: (qmail 22757 invoked by uid 500); 20 Nov 2009 10:42:46 -0000 Delivered-To: apmail-couchdb-user-archive@couchdb.apache.org Received: (qmail 22667 invoked by uid 500); 20 Nov 2009 10:42:45 -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 22657 invoked by uid 99); 20 Nov 2009 10:42:45 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 20 Nov 2009 10:42:45 +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 robert.newson@gmail.com designates 209.85.220.220 as permitted sender) Received: from [209.85.220.220] (HELO mail-fx0-f220.google.com) (209.85.220.220) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 20 Nov 2009 10:42:37 +0000 Received: by fxm20 with SMTP id 20so3590681fxm.35 for ; Fri, 20 Nov 2009 02:42:17 -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 :content-transfer-encoding; bh=E+X/ybkvp0ARn/6mbhuEW7kKC6xx6U3ugonuf0fbntw=; b=X65rjsWYxx/goV97LtDMcuLrfm3Q4pLBVFfq7Lwm2IXZNnN7/XOCBnTEHAuQdlhZWC AeGm0ZkWSMdFQicZO/jUZy8/+orYjo6ULR8jSJoxcQWZr01fVUDXwoJdXmO+rPe7k9mY GgRs+xg+KW+1YARZlI+Vq0ETiq+N1ZmP4ASf4= 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:content-transfer-encoding; b=bukoOviWKswagMJWw2xs6eA8Djx/8AVKqS1C4mrpnwa4KWRCbRsmZln3UkTVQUdOQA obVMhkRTaNBKQ5K3f43QvkOGqbsOjC7yJPPV7s6GZ3KFnuIJHOXlpItmnXpnf64/XsgX Y/wQPX1PndGBzmWGyaHnLlIh9xIREedd8KZJY= MIME-Version: 1.0 Received: by 10.103.76.29 with SMTP id d29mr597076mul.50.1258713737449; Fri, 20 Nov 2009 02:42:17 -0800 (PST) In-Reply-To: References: <46aeb24f0911191510t22832799ld68745a0ef158851@mail.gmail.com> Date: Fri, 20 Nov 2009 10:42:17 +0000 Message-ID: <46aeb24f0911200242o3db13debm4aa2eeef40cd3a2e@mail.gmail.com> Subject: Re: external limits From: Robert Newson To: user@couchdb.apache.org Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable X-Virus-Checked: Checked by ClamAV on apache.org Well, we know for sure that an external can output a very large response, so I suggest comparing couchdb-lucene's code to your own and see what's different. If you hop on #couchdb sometime, I'm sure we could track the bug down. B. On Fri, Nov 20, 2009 at 3:02 AM, Jim Woodgate wrote: > On Thu, Nov 19, 2009 at 5:10 PM, Robert Newson = wrote: >> Did you emit your JSON response on a single line? > > Yes it's all one line. > > >> On Thu, Nov 19, 2009 at 10:42 PM, Jim Woodgate wrote= : >>> I finally have a basic external program running, but I find that if I >>> return 57 ids it works, but if I return 58 ids or more I get an error. >>> =A0Is there a way to tell what the actual error is? =A0The text that co= mes >>> back says: >>> >>> {error_info, >>> =A0{exit, >>> =A0 =A0{exit_status,0}, >>> =A0 =A0[{gen_server,terminate,6},{proc_lib,init_p_do_apply,3}]}} >>> >>> but then it just repeats what my original request looked like. =A0I >>> looked at ids 57 and 58 and nothing jumps out and I even tried >>> skipping the first 4 ids which also worked so it's not the actual data >>> but the size of it somehow. >>> >>> I tried returning a couple hundred results using couchdb-lucene and it >>> worked fine (and was 14k vs my 3k). >>> >>> The only header I set is Content-Type: text/plain and my json is >>> attached to the "json" key. =A0I don't believe it's a timing issue, whe= n >>> I run the program by hand the output looks fine and it only takes a >>> couple hundred milliseconds >>> >>> -- >>> Jim Woodgate >>> jdwoody@gmail.com >>> >> > > > > -- > Jim Woodgate > jdwoody@gmail.com >