Return-Path: Delivered-To: apmail-couchdb-user-archive@www.apache.org Received: (qmail 29939 invoked from network); 28 Jan 2009 16:04:30 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 28 Jan 2009 16:04:30 -0000 Received: (qmail 44188 invoked by uid 500); 28 Jan 2009 16:04:24 -0000 Delivered-To: apmail-couchdb-user-archive@couchdb.apache.org Received: (qmail 44155 invoked by uid 500); 28 Jan 2009 16:04:24 -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 44135 invoked by uid 99); 28 Jan 2009 16:04:24 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 28 Jan 2009 08:04:23 -0800 X-ASF-Spam-Status: No, hits=1.2 required=10.0 tests=FS_REPLICA,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of adam.kocoloski@gmail.com designates 74.125.44.29 as permitted sender) Received: from [74.125.44.29] (HELO yx-out-2324.google.com) (74.125.44.29) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 28 Jan 2009 16:04:15 +0000 Received: by yx-out-2324.google.com with SMTP id 3so2432967yxj.5 for ; Wed, 28 Jan 2009 08:03:54 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:from:to :in-reply-to:content-type:content-transfer-encoding:mime-version :subject:date:references:x-mailer; bh=16cSx+gmdPQuikIZCh5otEFXyTmLY0BQF17y+128obo=; b=qIkNb2DCneH8D7IbUMe7WQMatpk/PtavsKG9dDB1uWGESPouvARZjbKHXf2Vq2gg6D /046UqRSob1NQtVb88MS3dEE8jiw0jTMKn36ChKbclpLHDeYkpmG4wBCiYQQrMAbaucQ Y5OnjDFc3r6tS1FO0r4tvTIEa4C27J42IYYzQ= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:from:to:in-reply-to:content-type :content-transfer-encoding:mime-version:subject:date:references :x-mailer; b=i3FHZLWObgZ3EY2nLkqDcXviHhDOAmDibAEYdJFwVRoEDQXp2K9ESa/bLggFboyXMS 4za3jxbJSDrqvLKdYpBfkNUolxh0lCBnAzyq1sp1KmJrsmZVSr4cFOEvLz8slRPi1RT9 r6HfxdaP8n5IDlnQi9c70n5QIlX7h7buwBWoE= Received: by 10.90.53.5 with SMTP id b5mr3609210aga.74.1233158634526; Wed, 28 Jan 2009 08:03:54 -0800 (PST) Received: from ?10.0.1.2? (c-66-31-20-188.hsd1.ma.comcast.net [66.31.20.188]) by mx.google.com with ESMTPS id 7sm18480446agc.25.2009.01.28.08.03.53 (version=TLSv1/SSLv3 cipher=RC4-MD5); Wed, 28 Jan 2009 08:03:53 -0800 (PST) Message-Id: <3FC3B3E6-9AA5-441A-B54F-F1B47B9A4C91@gmail.com> From: Adam Kocoloski To: user@couchdb.apache.org In-Reply-To: <5aaed53f0901280717q2ffa6dcfu2d84efe6ac1e2edb@mail.gmail.com> Content-Type: text/plain; charset=US-ASCII; format=flowed; delsp=yes Content-Transfer-Encoding: 7bit Mime-Version: 1.0 (Apple Message framework v930.3) Subject: Re: replication error Date: Wed, 28 Jan 2009 11:03:52 -0500 References: <5aaed53f0901280717q2ffa6dcfu2d84efe6ac1e2edb@mail.gmail.com> X-Mailer: Apple Mail (2.930.3) X-Virus-Checked: Checked by ClamAV on apache.org Hi Jeff, I think I'll need a reproducible test case or a little more information to help debug this. mochiweb_request:send exits on any error returned by the underlying gen_tcp:send, and unfortunately it doesn't bother to log the reason for the error. You might try adding a debug statement to line 125 of mochiweb_request.erl to figure out the reason why .52 failed to serve this document GET request. When you say that "the process has died" on .194, you mean the replication process, right? Surely that error didn't bring down the entire database? Best, Adam On Jan 28, 2009, at 10:17 AM, Jeff Hinrichs - DM&T wrote: > replicating from 192.168.2.52 [0.9.0a738346-incubating] -> > 192.168.2.194 [0.9.0a738497-incubating] > > -192.168.2.52:- > Eshell V5.6.4 (abort with ^G) > 1> init:script_id(). > {"OTP APN 181 01","R12B"} > > -192.168.2.194- > Eshell V5.6.3 (abort with ^G) > 1> init:script_id(). > {"OTP APN 181 01","R12B"} > > replication initiated in futon on .194 pulling from .52 > > > During the process, I see this in the log... > > [Wed, 28 Jan 2009 14:29:47 GMT] [debug] [<0.62.0>] 'GET' > /invoices/INV00651983? > revs=true&attachments=true&latest=true&open_revs=["3597612357"] > {1, > > 1} > Headers: [{'Connection',"keep-alive"},{'Host',"192.168.2.52"},{"Te", > []}] > > [Wed, 28 Jan 2009 14:29:53 GMT] [error] [<0.62.0>] Uncaught error in > HTTP request: {exit,normal} > > [Wed, 28 Jan 2009 14:29:53 GMT] [debug] [<0.62.0>] Stacktrace: > [{mochiweb_request,send,2}, > {couch_httpd,send_chunk,2}, > {couch_httpd_db,'-db_doc_req/3-fun-1-',4}, > {lists,foldl,3}, > {couch_httpd_db,db_doc_req,3}, > {couch_httpd_db,do_db_req,2}, > {couch_httpd,handle_request,3}, > {mochiweb_http,headers,4}] > > [Wed, 28 Jan 2009 14:29:53 GMT] [debug] [<0.62.0>] HTTPd 500 error > response: > {"error":"error","reason":"normal"} > > Checking the status of couch on .194 at this point shows that the > process has died > > repeated attempts fail, on different documents > > > regards, > > Jeff