Return-Path: X-Original-To: apmail-activemq-users-archive@www.apache.org Delivered-To: apmail-activemq-users-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id B267FC7C6 for ; Mon, 3 Jun 2013 15:54:42 +0000 (UTC) Received: (qmail 74464 invoked by uid 500); 3 Jun 2013 15:54:41 -0000 Delivered-To: apmail-activemq-users-archive@activemq.apache.org Received: (qmail 74323 invoked by uid 500); 3 Jun 2013 15:54:41 -0000 Mailing-List: contact users-help@activemq.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: users@activemq.apache.org Delivered-To: mailing list users@activemq.apache.org Received: (qmail 73951 invoked by uid 99); 3 Jun 2013 15:54:41 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 03 Jun 2013 15:54:41 +0000 X-ASF-Spam-Status: No, hits=-0.7 required=5.0 tests=RCVD_IN_DNSWL_LOW,SPF_PASS,URIBL_DBL_REDIR X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of chirino@gmail.com designates 209.85.212.50 as permitted sender) Received: from [209.85.212.50] (HELO mail-vb0-f50.google.com) (209.85.212.50) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 03 Jun 2013 15:54:37 +0000 Received: by mail-vb0-f50.google.com with SMTP id w16so656340vbb.23 for ; Mon, 03 Jun 2013 08:54:16 -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 :x-google-sender-auth:message-id:subject:from:to:content-type :content-transfer-encoding; bh=F3uFzBwo4IepEJ0oKThkBiFANqrh4PjNRBaudRsk98I=; b=upkTp7KioFkDNKstF9XyfO4aQ8qEvF4pTOAPJct2NVk04QTbgG27dMs1Tv488vR51a boGdF1FwV3cE35/flu18Sj8+nyjDMZ08XHlcQzb4FUVTNqDimkS0HZ2KLerRssTno4b3 WcM3FEmhpBj+tB/UjeB8hqsUTJnL8StlWlkUhuXW6DbyBDZY6yhON/4bJndGQIkZbvwW 7h6N/rY24zr+97TBMdi+S9hAO70yTjSq4fciIYuZdAVCc+KbLDqbIvJhc7tgFTvGMnpq +GjvBGvfgyBnOh+dCeyoD+SR+9AVEYY58OvXcU4elhNeWju+MrCYw/K94bATtPHNc/BG KG3g== MIME-Version: 1.0 X-Received: by 10.58.230.135 with SMTP id sy7mr17355014vec.42.1370274856329; Mon, 03 Jun 2013 08:54:16 -0700 (PDT) Sender: chirino@gmail.com Received: by 10.52.66.8 with HTTP; Mon, 3 Jun 2013 08:54:16 -0700 (PDT) In-Reply-To: <3C05E861-4DEB-438C-976B-FCEB29824F33@cfandersen.com> References: <1369578103634-4667495.post@n4.nabble.com> <1369712834158-4667522.post@n4.nabble.com> <1369763262357-4667560.post@n4.nabble.com> <3C05E861-4DEB-438C-976B-FCEB29824F33@cfandersen.com> Date: Mon, 3 Jun 2013 11:54:16 -0400 X-Google-Sender-Auth: d_YlYWIBKZUUvxge_IZHE1oK54o Message-ID: Subject: Re: Activemq 5.9 leveldb replication issue From: Hiram Chirino To: users Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable X-Virus-Checked: Checked by ClamAV on apache.org Hi Freddy, That 'short record at position' is odd. Basically it means it tired to read a message from the log file and the read call read fewer bytes than what we requested. I guess that's valid for an OS to do and we just need to issue an additional read to load the remaining bytes. I've just committed a change that should help with that: http://is.gd/0nMmLH So try out a new snapshot and keep an eye for that exception and let me know you see it happen on your system again. Thanks! On Fri, May 31, 2013 at 1:28 PM, heimdull wrote: > I tried this morning to replicate the issue on these two servers and was = not able to do so. The only issue that I got was a few messages that got st= uck in the queue with a consumer holding them hostage. either restarting th= at consumer or moving them to a different queue and back resolved that. > > I did look at older errors that I had and found there recovery mode error= s: > > INFO | jvm 1 | 2013/05/19 12:15:22 | INFO | DB recovered from failu= re. > INFO | jvm 1 | 2013/05/19 12:15:22 | WARN | DB operation failed. (e= ntering recovery mode) > INFO | jvm 1 | 2013/05/19 12:15:22 | java.io.IOException: short reco= rd at position: 2467052 in file: /opt/activemq/data/0000000000000000.log, o= ffset: 2467052 > INFO | jvm 1 | 2013/05/19 12:15:22 | at org.apache.activemq.le= veldb.RecordLog$LogReader.read(RecordLog.scala:287) -- Hiram Chirino Engineering | Red Hat, Inc. hchirino@redhat.com | fusesource.com | redhat.com skype: hiramchirino | twitter: @hiramchirino blog: Hiram Chirino's Bit Mojo