activemq-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Timothy Bish <tabish...@gmail.com>
Subject Re: Consumer hangs on creation
Date Wed, 17 Oct 2012 12:33:14 GMT
On Wed, 2012-10-17 at 04:44 -0700, Ishitori wrote: 
> There were a situation in my production environment when an application
> couldn't create a consumer. It looks like a thread freeze for infinite.
> There are no exceptions or errors happen, but the thread got blocked. 
> 
> I am using AMQ 5.6.0 with the latest NMS client library. 
> 
> I created a dump file and here is the stack trace:
> 
> System.Threading.WaitHandle.WaitOneNative(System.Runtime.InteropServices.SafeHandle,
> UInt32, Boolean, Boolean)
> System.Threading.WaitHandle.InternalWaitOne(System.Runtime.InteropServices.SafeHandle,
> Int64, Boolean, Boolean)
> Apache.NMS.ActiveMQ.Transport.FutureResponse.get_Response()
> Apache.NMS.ActiveMQ.Transport.ResponseCorrelator.Request(Apache.NMS.ActiveMQ.Commands.Command,
> System.TimeSpan)
> Apache.NMS.ActiveMQ.Connection.SyncRequest(Apache.NMS.ActiveMQ.Commands.Command,
> System.TimeSpan)
> Apache.NMS.ActiveMQ.Session.CreateConsumer(Apache.NMS.IDestination,
> System.String, Boolean)
> ...
> 

Is your client using failover?
If so was there a broker running?
What do the broker logs say?

> So it is seems that the broker didn't respond to the consumer who was
> waiting for the response forever.
> 
> Why the broker didn't respond anything? What could cause that? And why
> consumer didn't throw an exception after the timeout is reached? If there is
> a timeout at all?
> 
> 
> 
> --
> View this message in context: http://activemq.2283324.n4.nabble.com/Consumer-hangs-on-creation-tp4657882.html
> Sent from the ActiveMQ - User mailing list archive at Nabble.com.

-- 
Tim Bish
Sr Software Engineer | RedHat Inc.
tim.bish@redhat.com | www.fusesource.com | www.redhat.com 
skype: tabish121 | twitter: @tabish121
blog: http://timbish.blogspot.com/


Mime
View raw message