activemq-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Ishitori <Ishit...@bk.ru>
Subject Consumer hangs on creation
Date Wed, 17 Oct 2012 11:44:33 GMT
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)
...

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.

Mime
View raw message