From user-return-21708-apmail-couchdb-user-archive=couchdb.apache.org@couchdb.apache.org Tue Aug 7 11:22:33 2012 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 A8030DF81 for ; Tue, 7 Aug 2012 11:22:33 +0000 (UTC) Received: (qmail 98575 invoked by uid 500); 7 Aug 2012 11:22:32 -0000 Delivered-To: apmail-couchdb-user-archive@couchdb.apache.org Received: (qmail 98288 invoked by uid 500); 7 Aug 2012 11:22:25 -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 98247 invoked by uid 99); 7 Aug 2012 11:22:24 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 07 Aug 2012 11:22:24 +0000 X-ASF-Spam-Status: No, hits=0.0 required=5.0 tests=FSL_RCVD_USER,RCVD_IN_DNSWL_NONE,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of dionne@dionne-associates.com designates 67.222.55.9 as permitted sender) Received: from [67.222.55.9] (HELO oproxy7-pub.bluehost.com) (67.222.55.9) by apache.org (qpsmtpd/0.29) with SMTP; Tue, 07 Aug 2012 11:22:15 +0000 Received: (qmail 28746 invoked by uid 0); 7 Aug 2012 11:21:53 -0000 Received: from unknown (HELO host183.hostmonster.com) (74.220.207.183) by oproxy7.bluehost.com with SMTP; 7 Aug 2012 11:21:53 -0000 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=dionne-associates.com; s=default; h=To:References:Message-Id:Content-Transfer-Encoding:Date:In-Reply-To:From:Subject:Mime-Version:Content-Type; bh=+XxsDaZlc0Ax25aCrJVFS+nHCk9KZ1gs3a940a9HPhA=; b=Rw9jXgP4uMIAddQzVJXhGaT5Tq3AWzNLXfCm68n5PIO7AR8TxEo8Un7FZVnfDf0qAvnfmcL/uACoUYkK5t8RRih2JX0wQUI2scKdfkZLT0pn/V4A7jpjZDHQVhQoZZz6; Received: from [67.189.221.27] (port=57475 helo=[192.168.1.100]) by host183.hostmonster.com with esmtpa (Exim 4.76) (envelope-from ) id 1SyhrE-0006uY-VL for user@couchdb.apache.org; Tue, 07 Aug 2012 05:21:53 -0600 Content-Type: text/plain; charset=windows-1252 Mime-Version: 1.0 (Mac OS X Mail 6.0 \(1485\)) Subject: Re: random couch crash From: Bob Dionne In-Reply-To: Date: Tue, 7 Aug 2012 07:21:53 -0400 Content-Transfer-Encoding: quoted-printable Message-Id: <27371E5A-201D-4017-9E3B-4F96093748B0@dionne-associates.com> References: To: user@couchdb.apache.org X-Mailer: Apple Mail (2.1485) X-Identified-User: {2551:host183.hostmonster.com:dionneas:dionne-associates.com} {sentby:smtp auth 67.189.221.27 authed with dionne@dionne-associates.com} Hi Stephen, Can you tell us anymore about the context, or did you start seeing these = in the logs? By chance do you have a scenario that reproduces this? Was = this db compacted or replicated from elsewhere? Thanks, Bob On Aug 7, 2012, at 2:06 AM, stephen bartell wrote: > Hi all, could some one help shed some light on this crash I'm having. = I'm on v1.2, ubuntu 11.04. =20 >=20 > [Mon, 06 Aug 2012 18:29:16 GMT] [error] [<0.492.0>] ** Generic server = <0.492.0> terminating=20 > ** Last message in was {pread_iolist,88385709} > ** When Server state =3D=3D = {file,{file_descriptor,prim_file,{#Port<0.2899>,79}}, > 93302896} > ** Reason for termination =3D=3D=20 > ** {{badmatch,{ok,<<32,50,48,48,10 =85 huge dump =85 ,0,3,232>>}}, > [{couch_file,read_raw_iolist_int,3}, > {couch_file,maybe_read_more_iolist,4}, > {couch_file,handle_call,3}, > {gen_server,handle_msg,5}, > {proc_lib,init_p_do_apply,3}]} >=20 > I'm not too familiar with erlang, but what I gathered from the src was = `pread_iolist` function is used when reading anything from the disk. So = I think this might be a corrupt db problem. >=20 > Thanks, > Stephen Bartell