Return-Path: Delivered-To: apmail-qpid-users-archive@www.apache.org Received: (qmail 12961 invoked from network); 1 Apr 2011 05:56:18 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 1 Apr 2011 05:56:18 -0000 Received: (qmail 77036 invoked by uid 500); 1 Apr 2011 05:56:18 -0000 Delivered-To: apmail-qpid-users-archive@qpid.apache.org Received: (qmail 77011 invoked by uid 500); 1 Apr 2011 05:56:18 -0000 Mailing-List: contact users-help@qpid.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: users@qpid.apache.org Delivered-To: mailing list users@qpid.apache.org Received: (qmail 77003 invoked by uid 99); 1 Apr 2011 05:56:16 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 01 Apr 2011 05:56:16 +0000 X-ASF-Spam-Status: No, hits=4.5 required=5.0 tests=FSL_RU_URL,HTML_MESSAGE,SPF_PASS,UNPARSEABLE_RELAY X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of Sergey_Zhemzhitsky@troika.ru designates 212.176.123.185 as permitted sender) Received: from [212.176.123.185] (HELO lists1.troika.ru) (212.176.123.185) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 01 Apr 2011 05:56:09 +0000 Received: from ms2.troika.ru (unknown [212.44.148.25]) by lists1.troika.ru (Postfix) with ESMTP id EDEBA134059 for ; Fri, 1 Apr 2011 09:55:38 +0400 (MSD) Received: from magician.troika.ru (magician.msk.trd.ru) by ms2.troika.ru (Clearswift SMTPRS 5.3.2) with ESMTP id ; Fri, 1 Apr 2011 09:55:38 +0400 In-Reply-To: <4D949835.3030706@redhat.com> To: Alan Conway Cc: Kim van der Riet , users@qpid.apache.org Subject: Re: I/O Errors MIME-Version: 1.0 X-KeepSent: DD331305:06654D6C-C3257865:002003A9; type=4; name=$KeepSent X-Mailer: Lotus Notes Release 7.0.4 March 23, 2009 Message-ID: From: Sergey_Zhemzhitsky@troika.ru Date: Fri, 1 Apr 2011 09:55:38 +0400 X-MIMETrack: Serialize by Router on Magician/TRD(Release 8.5.1FP3|May 23, 2010) at 01.04.2011 09:55:38, Serialize complete at 01.04.2011 09:55:38 Content-Type: multipart/alternative; boundary="=_alternative 00208F39C3257865_=" --=_alternative 00208F39C3257865_= Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Hi Alan, Thanks for information, >From you message I understood that queue policy error can occur due to previous errors with persistent store, for example, queue policy is incremented and just after that the error occurs when trying to persist a message. Best Regards, Sergey Zhemzhitsky Alan Conway 31.03.2011 19:06 Please respond to users@qpid.apache.org To users@qpid.apache.org cc Kim van der Riet Subject Re: I/O Errors On 03/31/2011 09:33 AM, Kim van der Riet wrote: > The first two errors are store errors; the third is a broker error > related to policy handling (in QueuePolicy.cpp). However, these errors > may be related. > > I would be interested in reproducing these errors, can you supply > additional details, including the hardware (ie, how many processors, how > much memory and disk space), OS and version you are using, also if > possible a simple reproducer. > > None of these errors should show up during normal usage, and indicate a > possible race condition or logic error. > I think the broker error is caused by the store error plus a bug in the broker: the queue policy count is incremented before the call to the store, when the store throws the count is not decremented so its incorrect since the message didn't actually get on the queue. > > On Wed, 2011-03-30 at 17:20 +0400, Sergey_Zhemzhitsky@troika.ru wrote: >> Hi there, >> >> I'm using qpid 0.8 and sending only durable messages. >> >> From time to time the following exceptions can occur: >> >> 1. Journal "MyQueue": get_events() returned JERR_JCNTL_AIOCMPLWAIT; >> wmgr_status: wmgr: pi=29 pc=44 po=0 aer=32 edac:TFFF >> ps=[AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA] wrfc: state: Active fcntl[6]: pfid=6 >> ws=11268 wc=3256 rs=0 rc=0 ec=1282 ac=32 >> 2. Journal "MyQueue": Unexpected I/O response (RHM_IORES_BUSY) on queue >> MyQueue >> 3. error Unexpected exception: Attempted size underflow on dequeue(559): >> size: max=104857600, current=119; count: unlimited; type=reject >> >> From the source code I know that >> >> JERR_JCNTL_AIOCMPLWAIT means that "Timeout waiting for AIOs to complete" >> RHM_IORES_BUSY means that "Another blocking operation is in progress" >> >> but that all and I can't go any further. >> >> Could you please help to determine what kind of I/O operations can cause >> such errors and why they can occur? >> >> >> Best Regards, >> Sergey Zhemzhitsky >> Information Technology Division >> Troika Dialog, 4, Romanov lane, Moscow 125009, Russia >> Phone. +7 495 2580500 ext. 1246 >> _______________________________________________________ >> >> The information contained in this message may be privileged and conf idential and protected from disclosure. If you are not the original intended recipient, you are hereby notified that any review, retransmission, dissemination, or other use of, or taking of any action in reliance upon, this information is prohibited. If you have received this communication in error, please notify the sender immediately by replying to this message and delete it from your computer. Thank you for your cooperation. Troika Dialog, Russia. >> If you need assistance please contact our Contact Center (+7495) 258 0500 or go to www.troika.ru/eng/Contacts/system.wbp >> > > > > --------------------------------------------------------------------- > Apache Qpid - AMQP Messaging Implementation > Project: http://qpid.apache.org > Use/Interact: mailto:users-subscribe@qpid.apache.org > --------------------------------------------------------------------- Apache Qpid - AMQP Messaging Implementation Project: http://qpid.apache.org Use/Interact: mailto:users-subscribe@qpid.apache.org _______________________________________________________ The information contained in this message may be privileged and conf idential and protected from disclosure. If you are not the original intended recipient, you are hereby notified that any review, retransmission, dissemination, or other use of, or taking of any action in reliance upon, this information is prohibited. If you have received this communication in error, please notify the sender immediately by replying to this message and delete it from your computer. Thank you for your cooperation. Troika Dialog, Russia. If you need assistance please contact our Contact Center (+7495) 258 0500 or go to www.troika.ru/eng/Contacts/system.wbp --=_alternative 00208F39C3257865_=--