Return-Path: Delivered-To: apmail-activemq-users-archive@www.apache.org Received: (qmail 56978 invoked from network); 12 Feb 2010 14:58:41 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 12 Feb 2010 14:58:41 -0000 Received: (qmail 70249 invoked by uid 500); 12 Feb 2010 14:58:40 -0000 Delivered-To: apmail-activemq-users-archive@activemq.apache.org Received: (qmail 70204 invoked by uid 500); 12 Feb 2010 14:58: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 70194 invoked by uid 99); 12 Feb 2010 14:58:40 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 12 Feb 2010 14:58:40 +0000 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of tabish121@gmail.com designates 209.85.216.196 as permitted sender) Received: from [209.85.216.196] (HELO mail-px0-f196.google.com) (209.85.216.196) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 12 Feb 2010 14:58:29 +0000 Received: by pxi34 with SMTP id 34so649317pxi.8 for ; Fri, 12 Feb 2010 06:58:08 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:subject:from:to:in-reply-to :references:content-type:date:message-id:mime-version:x-mailer :content-transfer-encoding; bh=Noc2TLP921WZ1qEH8WnGL1jkGuhw2ch08pvQV+hFJ3s=; b=kxHGwt1SrM0vUqzRGwI/THZZlLw2BKY/3Onm4/DaJgZ2u0Ydo4zz8GqD2/ItV0M2gl FmabSdtIkTg55vL327umUdZ1qoVqWemEnFPUkOUvsgtDxaUPKlvkwFmcgLqPZ7Dr+kYU epsQiBAqoasOoE0Y1eHbcpkPNqOjvXh7vNj+M= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=subject:from:to:in-reply-to:references:content-type:date:message-id :mime-version:x-mailer:content-transfer-encoding; b=wHDULlHlIyk9zRrLHlZybz0XuhWbXfaVBQ55ilpSQFDBeqo6X2iGQh4p3Rrfg3oVJf EzBIzPDHWUujp193cCjeXHVFgXRg1R1T9I6XwLIl580mI7oIIe5NIymdgFeCmsjE6Avc 0Bf5EuczD9OZ0vjtAMkW/NfEDyY4BeOMDipOE= Received: by 10.141.90.5 with SMTP id s5mr1016433rvl.81.1265986687891; Fri, 12 Feb 2010 06:58:07 -0800 (PST) Received: from ?192.168.2.150? (c-76-21-195-19.hsd1.va.comcast.net [76.21.195.19]) by mx.google.com with ESMTPS id 18sm815317pwj.12.2010.02.12.06.58.05 (version=SSLv3 cipher=RC4-MD5); Fri, 12 Feb 2010 06:58:06 -0800 (PST) Subject: Re: DeadLock in CMS 3.1 ? From: Timothy Bish To: users@activemq.apache.org In-Reply-To: <27564631.post@talk.nabble.com> References: <27562260.post@talk.nabble.com> <1265982360.2334.6.camel@localhost> <27564631.post@talk.nabble.com> Content-Type: text/plain; charset="UTF-8" Date: Fri, 12 Feb 2010 09:58:02 -0500 Message-ID: <1265986682.2334.9.camel@localhost> Mime-Version: 1.0 X-Mailer: Evolution 2.28.2 (2.28.2-1.fc12) Content-Transfer-Encoding: 8bit X-Virus-Checked: Checked by ClamAV on apache.org On Fri, 2010-02-12 at 06:46 -0800, Sodan wrote: > Actually I were able to reproduce it every time, I started the app. > Nothing much going on, but as soon I as recieved a message a create > a session/producer from the replyto dest, then it will just hang there... > maybe the other end (ie. the broker) is somehow faulty and dont return > a response so createsession just hangs... > > we restarted the broker and now it works... (until next time)... > > should it throw an exception right away or after some time ? > > Søren > Its possible that your experiencing producer flow control from the broker, see: http://activemq.apache.org/producer-flow-control.html Regards Tim. > > Timothy Bish wrote: > > > > On Fri, 2010-02-12 at 03:35 -0800, Sodan wrote: > >> When lots of message are going on I suddenly sometimes get: > >> > >> res = WaitForSingleObject( condition->semaphore, (DWORD)mills ); // > >> forever > >> ?? > >> hang here forever > >> > >> lobbyserver.exe!decaf::internal::util::concurrent::ConditionImpl::wait(decaf::util::concurrent::ConditionHandle > >> * condition=0x098c9e18, __int64 mills=0x00000000ffffffff, __int64 > >> nanos=0x0000000000000000) Line 110 + 0x10 bytes C++ > >> lobbyserver.exe!decaf::internal::util::concurrent::ConditionImpl::wait(decaf::util::concurrent::ConditionHandle > >> * condition=0x098c9e18) Line 71 + 0x11 bytes C++ > >> lobbyserver.exe!decaf::util::concurrent::Mutex::wait() Line 95 + 0xf > >> bytes > >> C++ > >> lobbyserver.exe!decaf::util::concurrent::CountDownLatch::await() Line 53 > >> + > >> 0x17 bytes C++ > >> lobbyserver.exe!activemq::transport::correlator::FutureResponse::getResponse() > >> Line 63 C++ > >> lobbyserver.exe!activemq::transport::correlator::ResponseCorrelator::request(const > >> decaf::lang::Pointer > >> & command={...}) Line 119 + 0x2d bytes C++ > >> lobbyserver.exe!activemq::core::ActiveMQConnection::syncRequest(decaf::lang::Pointer > >> command={...}, unsigned int timeout=0x00000000) Line 611 + 0x32 bytes > >> C++ > >> lobbyserver.exe!activemq::core::ActiveMQConnection::createSession(cms::Session::AcknowledgeMode > >> ackMode=AUTO_ACKNOWLEDGE) Line 149 C++ > >> > >> Søren > >> > > > > Can you provide more information on this such as a small sample app that > > demonstrates the issue. I need more context into what you are doing > > when this occurs before I can start to investigate. > > > > Regards > > > > > > -- > > Tim Bish > > > > Open Source Integration: http://fusesource.com > > ActiveMQ in Action: http://www.manning.com/snyder/ > > > > Follow me on Twitter: http://twitter.com/tabish121 > > My Blog: http://timbish.blogspot.com/ > > > > > > > -- Tim Bish Open Source Integration: http://fusesource.com ActiveMQ in Action: http://www.manning.com/snyder/ Follow me on Twitter: http://twitter.com/tabish121 My Blog: http://timbish.blogspot.com/