Return-Path: Delivered-To: apmail-activemq-users-archive@www.apache.org Received: (qmail 99603 invoked from network); 11 Sep 2010 22:39:41 -0000 Received: from unknown (HELO mail.apache.org) (140.211.11.3) by 140.211.11.9 with SMTP; 11 Sep 2010 22:39:41 -0000 Received: (qmail 11922 invoked by uid 500); 11 Sep 2010 22:39:41 -0000 Delivered-To: apmail-activemq-users-archive@activemq.apache.org Received: (qmail 11874 invoked by uid 500); 11 Sep 2010 22:39:40 -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 11866 invoked by uid 99); 11 Sep 2010 22:39:40 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 11 Sep 2010 22:39:40 +0000 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests=FREEMAIL_FROM,RCVD_IN_DNSWL_NONE,SPF_PASS,T_TO_NO_BRKTS_FREEMAIL X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of mhixson@gmail.com designates 209.85.212.171 as permitted sender) Received: from [209.85.212.171] (HELO mail-px0-f171.google.com) (209.85.212.171) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 11 Sep 2010 22:39:36 +0000 Received: by pxi19 with SMTP id 19so4444947pxi.2 for ; Sat, 11 Sep 2010 15:39:15 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:content-type:mime-version :subject:from:in-reply-to:date:content-transfer-encoding:message-id :references:to:x-mailer; bh=TvUbWa26KXuQjjYbnVifQJPXTYEtk3dID3M9I6NLt7k=; b=qc1mVUJ1ePGWRyKaBy/dlfPieWVI1RSO/Bdg5LGozyN0wXwkVjKgrxOZByIzK3P+zd WIj7omAXFCoSwPjjGJFEKRw/21RPWJ3+LHS7okEGt2L65iSAg467F2kY/TO1uKMT1Oyx jSAn2tSZehGKIY0YY0JtJq84NDrPm3nzvFQ5E= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=content-type:mime-version:subject:from:in-reply-to:date :content-transfer-encoding:message-id:references:to:x-mailer; b=oRtFJkFyIZrCihja357z7nrq+gs2CSWkozRtVxVDUxFiSnL0Pc3jPA7jI5lJbxWL/w lC7UIic0U4aeX/ah5LBJkenPIiQ7e1ENWXVGjVj6OPB8cK8GKXUgqdxd1NRF2r6U3JWK /cvgR0H4JA5N+GxklWANEZvWzYkIY8gA6VqRM= Received: by 10.143.44.20 with SMTP id w20mr2503876wfj.122.1284244755048; Sat, 11 Sep 2010 15:39:15 -0700 (PDT) Received: from [192.168.1.148] (static-24-113-8-238.wavecable.com [24.113.8.238]) by mx.google.com with ESMTPS id q23sm5658260wfc.6.2010.09.11.15.39.13 (version=TLSv1/SSLv3 cipher=RC4-MD5); Sat, 11 Sep 2010 15:39:13 -0700 (PDT) Content-Type: text/plain; charset=us-ascii Mime-Version: 1.0 (Apple Message framework v1081) Subject: Re: 5.4.0 stops accepting messages randomly From: Matthew Hixson In-Reply-To: Date: Sat, 11 Sep 2010 15:39:12 -0700 Content-Transfer-Encoding: quoted-printable Message-Id: References: <1E9D6014-0412-4F24-A7E1-8A58FA71A07E@gmail.com> To: users@activemq.apache.org X-Mailer: Apple Mail (2.1081) We did find this in the logs. activemq.log:2010-09-08 10:55:02,555 | INFO | Usage Manager Memory = Limit is full. Producer (ID:isp01-55443-1283902621643-0:0:1:1) stopped = to prevent flooding queue://mpqueue. See = http://activemq.apache.org/producer-flow-control.html for more info = (blocking for: 1s) | org.apache.activemq.broker.re gion.Queue | ActiveMQ Transport: tcp:///10.13.85.14:52682 We have since increased the memory limit and we'll see if this happens = again. If so I'll get a full thread dump. Thanks, -M@ On Sep 10, 2010, at 12:51 AM, Dejan Bosanac wrote: > Can you turn on debug logging and post logs and thread dumps when the > broker hangs. Also, do you see messages in logs about producer flow > control being used? >=20 >=20 > Cheers > -- > Dejan Bosanac - http://twitter.com/dejanb >=20 > Open Source Integration - http://fusesource.com/ > ActiveMQ in Action - http://www.manning.com/snyder/ > Blog - http://www.nighttale.net >=20 >=20 >=20 > On Thu, Sep 9, 2010 at 11:33 PM, Matthew Hixson = wrote: >> We have been running 5.4.0 in production for a few weeks and it can = easily handle tens of thousands of messages a day, but then for no = apparent reason it will cease accepting new messages from our producers. = The consumers will drain the queue empty, but then nothing new gets = accepted into Active MQ. Restarting Active MQ and then restarting all = the producers and consumers allows things to proceed as normal. >> Below is our activemq.xml. >> Thanks for any help. >> -M@ >>=20 >> >> > xmlns=3D"http://www.springframework.org/schema/beans" >> xmlns:amq=3D"http://activemq.apache.org/schema/core" >> xmlns:xsi=3D"http://www.w3.org/2001/XMLSchema-instance" >> xsi:schemaLocation=3D"http://www.springframework.org/schema/beans = http://www.springframework.org/schema/beans/spring-beans-2.0.xsd >> http://activemq.apache.org/schema/core = http://activemq.apache.org/schema/core/activemq-core.xsd"> >>=20 >> >> >> >> = file:${activemq.base}/conf/credentials.properties >> >> >>=20 >> >> >>=20 >> >>=20 >> >> >> >> " producerFlowControl=3D"false" = memoryLimit=3D"100mb"> >> >> >> >> >> " producerFlowControl=3D"true" = memoryLimit=3D"1mb"> >> >> >> >> >> >>=20 >>=20 >> >> >> >> >>=20 >> >> >> >> >>=20 >>=20 >> >>=20 >> >> >> >> >>=20 >> >>=20 >> >>=20 >> >> >>=20 >>