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 504B617D5C for ; Sat, 14 Mar 2015 13:21:33 +0000 (UTC) Received: (qmail 4279 invoked by uid 500); 14 Mar 2015 13:21:27 -0000 Delivered-To: apmail-couchdb-user-archive@couchdb.apache.org Received: (qmail 4210 invoked by uid 500); 14 Mar 2015 13:21:27 -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 4198 invoked by uid 99); 14 Mar 2015 13:21:27 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 14 Mar 2015 13:21:27 +0000 X-ASF-Spam-Status: No, hits=1.5 required=5.0 tests=HTML_MESSAGE,RCVD_IN_DNSWL_LOW,SPF_PASS,WEIRD_PORT X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of fmpwizard@gmail.com designates 209.85.160.176 as permitted sender) Received: from [209.85.160.176] (HELO mail-yk0-f176.google.com) (209.85.160.176) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 14 Mar 2015 13:21:02 +0000 Received: by ykek76 with SMTP id k76so3452006yke.0 for ; Sat, 14 Mar 2015 06:20:15 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:sender:in-reply-to:references:date:message-id:subject :from:to:content-type; bh=cgjmD+rxly6zA0QIQE+CpQmnmvUTgc5tvoXg/IwGGUA=; b=TYPCYJGJhXvcq/rcFStnt+yYfrP8vTWVRrD93RnDgyIz0de/u7u8+3Wk5P3ScsRzUp kdc3KcvjfFwX0N/REheq70y2hB222Exd1iIiDxYITS7t1VU1XqLOB/F/HYd8JuaZU42t L2S+R/YnzRU0TrWIQtKDeMZmHv9Eo1tEgHZ1NLBfBZiW4POE+FPhHLpjY8iMXsSZjsd/ BkuvD4/+qm/nECpSkSaWUmys6kjh3MHxfaolIObQX7p0SGus8ZCzrO4Gfo1re9DtvkuB zxkDotRVvmjP3z+qJuhGtdj/+bpv+xCzCdeLr6I68FXJcfuXs+PI7G3VLfygL0N1p/hC snQQ== MIME-Version: 1.0 X-Received: by 10.170.176.87 with SMTP id s84mr58697612ykd.43.1426339215554; Sat, 14 Mar 2015 06:20:15 -0700 (PDT) Sender: fmpwizard@gmail.com Received: by 10.170.195.143 with HTTP; Sat, 14 Mar 2015 06:20:15 -0700 (PDT) In-Reply-To: <55043188.4070305@gmx.net> References: <5504194E.1000202@gmx.net> <55043188.4070305@gmx.net> Date: Sat, 14 Mar 2015 09:20:15 -0400 X-Google-Sender-Auth: yHk6JzG6NX82PX-6iKPf8MVhL7I Message-ID: Subject: Re: Compaction doesn't work on big db - unknown_error, reason: function_clause From: Diego Medina To: user@couchdb.apache.org Content-Type: multipart/alternative; boundary=001a1139337645bf7105113f7ada X-Virus-Checked: Checked by ClamAV on apache.org --001a1139337645bf7105113f7ada Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Can you read individual documents from this couch database? If you do, then you don't really need to fetch the data from wikipedia again, you can just crawl your own database. and maybe run compaction as you load the new database, instead of waiting until the end. On Sat, Mar 14, 2015 at 9:03 AM, Frank R=C3=B6hm wrot= e: > Am 14.03.2015 um 12:41 schrieb Alexander Shorin: > > That's not good sign, imho. Have you tried to replicate it to another > > db to swap them after? > > Neither this works, I get errors as well. > I created a new database de-m-wikipedia-org-new and try to replicate with= : > > curl -H 'Content-Type: application/json' -X POST > http://localhost:5984/_replicate -d ' {"source": > "http://localhost:5984/de-m-wikipedia-org", "target": > "de-m-wikipedia-org-new", "create_target": false, "continuous": false} ' > > But I get as response: > {"error":"changes_reader_died"} > > And in the log there are plenty errors, like: > > ... > [error] [<0.129.0>] httpd 500 error response: > {"error":"changes_reader_died"} > ... > [error] [<0.135.0>] function_clause error in HTTP request > ... > [error] [<0.135.0>] httpd 500 error response: > {"error":"unknown_error","reason":"function_clause"} > ... > ** Last message in was {tcp,#Port<0.3135>, > <<"HTTP/1.1 500 Internal Server > Error\r\nServer: CouchDB/1.6.1 (Erlang OTP/R14B04)\r\nDate: > Sat, 14 Mar 2015 12:38:25 GMT\r\nContent-Type: > application/json\r\nContent-Length: 53\r\nCache-Control: must-revalidate\ > r\n\r\n">>} > ** When Server state =3D=3D {state,"localhost",5984,infinity,#Ref<0.0.0.1= 746>, > false,undefined,undefined,undefined,undefined= , > undefined,[],false,#Port<0.3135>,false,[], > {[{request, > {url, > > " > http://localhost:5984/de-m-wikipedia-org/_changes?feed=3Dnormal&style=3Da= ll_docs&sinc > e=3D317&heartbeat=3D10000", > ... > > > I yet see only one way: to delete the corrupt database and scratch it > new from wikipedia :( > > Or any other last possibilities to repair it? > > Thank > frank > > --=20 Diego Medina Lift/Scala consultant diego@fmpwizard.com http://fmpwizard.telegr.am --001a1139337645bf7105113f7ada--