Return-Path: Delivered-To: apmail-activemq-users-archive@www.apache.org Received: (qmail 62338 invoked from network); 9 Dec 2008 14:50:35 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 9 Dec 2008 14:50:35 -0000 Received: (qmail 20802 invoked by uid 500); 9 Dec 2008 14:50:46 -0000 Delivered-To: apmail-activemq-users-archive@activemq.apache.org Received: (qmail 20783 invoked by uid 500); 9 Dec 2008 14:50:46 -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 20772 invoked by uid 99); 9 Dec 2008 14:50:46 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 09 Dec 2008 06:50:46 -0800 X-ASF-Spam-Status: No, hits=0.2 required=10.0 tests=SPF_PASS,WHOIS_MYPRIVREG X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of gary.tully@gmail.com designates 209.85.128.184 as permitted sender) Received: from [209.85.128.184] (HELO fk-out-0910.google.com) (209.85.128.184) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 09 Dec 2008 14:49:13 +0000 Received: by fk-out-0910.google.com with SMTP id z22so1802008fkz.6 for ; Tue, 09 Dec 2008 06:50:01 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:to :subject:in-reply-to:mime-version:content-type :content-transfer-encoding:content-disposition:references; bh=qiGlz3vtTSBfp+keTQmZyQszq2nHPxDXzjl9l0RGYAM=; b=JdFnG6pMsMlbS/n1NG0tiC0a0jU5KhaV3kf61LECzPNJapWn/0RyPG6km3RTzOBejh aPL50EzUWbCfHCXHL8R8kjpX3bfOCTpmx0U2vo7A3EHAWvKb2zdfmTgR1WYYid8JODpi huTM5abk+RneuQcTieTjV6pCECRlYWHbtOLmQ= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:in-reply-to:mime-version :content-type:content-transfer-encoding:content-disposition :references; b=ClasC8Dtq2hHKBQ0G+JFORou6Ulu3FE/83JKGrsBCQUFOKnbQ+ax80ncW1dInoLgEg U+aoOeQoib89PdGc9kFJtrqGBI0rJixZNUMXh1Cq5YMSdmlyqBcsD9/hHpbl7xwMxwUz 6uib5tMfhqrq1nbwR2ukVLlZg3ckCWAdflK90= Received: by 10.180.255.1 with SMTP id c1mr66107bki.36.1228834200914; Tue, 09 Dec 2008 06:50:00 -0800 (PST) Received: by 10.181.31.8 with HTTP; Tue, 9 Dec 2008 06:50:00 -0800 (PST) Message-ID: <3a73c17c0812090650t78bb6262n999fcc6a8d2c13da@mail.gmail.com> Date: Tue, 9 Dec 2008 14:50:00 +0000 From: "Gary Tully" To: users@activemq.apache.org Subject: Re: Deadlock on producerWindow.waitForSpace() In-Reply-To: <20913298.post@talk.nabble.com> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <20913298.post@talk.nabble.com> X-Virus-Checked: Checked by ClamAV on apache.org with 5.2 right? that sounds plausible as failover is the default transport and the default inactivity timeout is 30 seconds. I guess is is possible that the producerAck gets lost, I don't think there is a recovery cache on the broker sending side. Do you see the failover transport doing a reconnect? Does it take more than 30 seconds for the consumer to consume the messages and release the memory. If you can produce a failing junit test case please raise a jira issue and attach it. 2008/12/9 Danielius Jurna : > > I have one very slow consumer and activemq is configured for throttling. The > problem is that my producer deadlocks on producerWindow.waitForSpace(). All > my queues goes down to 0, but producer still waits for space. > My ideas is that if connection to broker is lost, usageMutex.norifyAll() is > never called. And it seems that failover connection closes connection on > inactivity. > Can any AMQ developer comment on how procuder throttling behaves on > reconnect to broker? > -- > View this message in context: http://www.nabble.com/Deadlock-on-producerWindow.waitForSpace%28%29-tp20913298p20913298.html > Sent from the ActiveMQ - User mailing list archive at Nabble.com. > > -- http://blog.garytully.com Open Source SOA http://FUSESource.com