Return-Path: Delivered-To: apmail-couchdb-dev-archive@www.apache.org Received: (qmail 42147 invoked from network); 2 Aug 2010 17:15:01 -0000 Received: from unknown (HELO mail.apache.org) (140.211.11.3) by 140.211.11.9 with SMTP; 2 Aug 2010 17:15:01 -0000 Received: (qmail 87168 invoked by uid 500); 2 Aug 2010 17:15:01 -0000 Delivered-To: apmail-couchdb-dev-archive@couchdb.apache.org Received: (qmail 87118 invoked by uid 500); 2 Aug 2010 17:15:00 -0000 Mailing-List: contact dev-help@couchdb.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@couchdb.apache.org Delivered-To: mailing list dev@couchdb.apache.org Received: (qmail 87110 invoked by uid 99); 2 Aug 2010 17:15:00 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 02 Aug 2010 17:15:00 +0000 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests=FREEMAIL_FROM,SPF_PASS,T_TO_NO_BRKTS_FREEMAIL X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of norman.barker@gmail.com designates 209.85.215.52 as permitted sender) Received: from [209.85.215.52] (HELO mail-ew0-f52.google.com) (209.85.215.52) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 02 Aug 2010 17:14:52 +0000 Received: by ewy20 with SMTP id 20so1786045ewy.11 for ; Mon, 02 Aug 2010 10:14:32 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:received:in-reply-to :references:date:message-id:subject:from:to:content-type :content-transfer-encoding; bh=uTTiapQ2EIKAQr4zAQAIBhMDa1A3AadMFY6jP1slm1E=; b=bV5w1dbgQgZQ+g8hzlev1lpPSq4Rl8o2Rc2WalOxGxcs4kd5kdN9reZ46GyITFsOGN qkkHg8AbVtwds236xKbWlXhDsYus/JwIgYZ1nho/8mRLPdfZOHqNnxuLm0JkHq0tspy9 8eTrO5nENsP8aR7Dup2C1EyJT441RpsVal700= 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=lwEOrut1FWZctEI/Mu494VLy2E6sAMQICu0RxBC5kXN/UINzE6fja6Kf+88RFfRoSg SvMiu9maa+fXciT0CHtXe+K59d5DtRcmMYuFjn+SvJt+5RxbTtvAIt1kM8RqWycG3omE Tn2+nVFvB+yEAtnZLNKOe8Mmrxjsmp/R7c4ms= MIME-Version: 1.0 Received: by 10.216.28.196 with SMTP id g46mr5224018wea.43.1280769271442; Mon, 02 Aug 2010 10:14:31 -0700 (PDT) Received: by 10.216.155.193 with HTTP; Mon, 2 Aug 2010 10:14:29 -0700 (PDT) In-Reply-To: References: Date: Mon, 2 Aug 2010 11:14:29 -0600 Message-ID: Subject: Re: concurrent requests From: Norman Barker To: dev@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 Adam, Chandru thanks for the help, my receive handlers (from a spawn) were too generic and they were getting gen_call messages as you commented, sorry, newbie error. I will update the code on github for the multiview. Norman On Mon, Aug 2, 2010 at 8:15 AM, Adam Kocoloski wrote: > Hi Norman, it means that you tried to call erlang:byte_size/1 with an arg= ument that wasn't a binary. =A0In this case it looks like you supplied a me= ssage generated by a gen_server:call(). =A0Best, > > Adam > > On Jul 30, 2010, at 4:50 PM, Norman Barker wrote: > >> Hi, >> >> I have set up a JMeter test script against couchdb and in particular >> the multiview I have set up, when 1 or more requests are concurrent I >> get >> >> [error] [<0.2406.0>] Uncaught error in HTTP request: {exit, >> =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 {{badarg= , >> =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 [{er= lang,byte_size, >> =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 = [{'$gen_call', >> >> I know this is a general questsion, but what does this mean in OTP? >> >> thanks, >> >> Norman > >