{
"threadName": "taskExector-10",
"threadId": 77,
"blockedTime": -1,
"blockedCount": 317,
"waitedTime": -1,
"waitedCount": 379,
"lockName": "com.rabbitmq.utility.BlockingValueOrException@105f30b9",
"lockOwnerId": -1,
"lockOwnerName": null,
"inNative": false,
"suspended": false,
"threadState": "WAITING",
"stackTrace": [
{
"methodName": "wait",
"fileName": "Object.java",
"lineNumber": -2,
"className": "java.lang.Object",
"nativeMethod": true
},
{
"methodName": "wait",
"fileName": "Object.java",
"lineNumber": 502,
"className": "java.lang.Object",
"nativeMethod": false
},
{
"methodName": "get",
"fileName": "BlockingCell.java",
"lineNumber": 50,
"className": "com.rabbitmq.utility.BlockingCell",
"nativeMethod": false
},
{
"methodName": "uninterruptibleGet",
"fileName": "BlockingCell.java",
"lineNumber": 89,
"className": "com.rabbitmq.utility.BlockingCell",
"nativeMethod": false
},
{
"methodName": "uninterruptibleGetValue",
"fileName": "BlockingValueOrException.java",
"lineNumber": 33,
"className": "com.rabbitmq.utility.BlockingValueOrException",
"nativeMethod": false
},
{
"methodName": "getReply",
"fileName": "AMQChannel.java",
"lineNumber": 361,
"className": "com.rabbitmq.client.impl.AMQChannel$BlockingRpcContinuation",
"nativeMethod": false
},
{
"methodName": "privateRpc",
"fileName": "AMQChannel.java",
"lineNumber": 226,
"className": "com.rabbitmq.client.impl.AMQChannel",
"nativeMethod": false
},
{
"methodName": "exnWrappingRpc",
"fileName": "AMQChannel.java",
"lineNumber": 118,
"className": "com.rabbitmq.client.impl.AMQChannel",
"nativeMethod": false
},
{
"methodName": "queueDeclare",
"fileName": "ChannelN.java",
"lineNumber": 844,
"className": "com.rabbitmq.client.impl.ChannelN",
"nativeMethod": false
},
{
"methodName": "queueDeclare",
"fileName": "ChannelN.java",
"lineNumber": 61,
"className": "com.rabbitmq.client.impl.ChannelN",
"nativeMethod": false
},
{
"methodName": "invoke",
"fileName": null,
"lineNumber": -1,
"className": "sun.reflect.GeneratedMethodAccessor176",
"nativeMethod": false
},
{
"methodName": "invoke",
"fileName": "DelegatingMethodAccessorImpl.java",
"lineNumber": 43,
"className": "sun.reflect.DelegatingMethodAccessorImpl",
"nativeMethod": false
},
{
"methodName": "invoke",
"fileName": "Method.java",
"lineNumber": 498,
"className": "java.lang.reflect.Method",
"nativeMethod": false
},
{
"methodName": "invoke",
"fileName": "CachingConnectionFactory.java",
"lineNumber": 916,
"className": "org.springframework.amqp.rabbit.connection.CachingConnectionFactory$CachedChannelInvocationHandler",
"nativeMethod": false
},
{
"methodName": "queueDeclare",
"fileName": null,
"lineNumber": -1,
"className": "com.sun.proxy.$Proxy166",
"nativeMethod": false
},
{
"methodName": "declareQueues",
"fileName": "RabbitAdmin.java",
"lineNumber": 577,
"className": "org.springframework.amqp.rabbit.core.RabbitAdmin",
"nativeMethod": false
},
{
"methodName": "access$200",
"fileName": "RabbitAdmin.java",
"lineNumber": 67,
"className": "org.springframework.amqp.rabbit.core.RabbitAdmin",
"nativeMethod": false
},
{
"methodName": "doInRabbit",
"fileName": "RabbitAdmin.java",
"lineNumber": 209,
"className": "org.springframework.amqp.rabbit.core.RabbitAdmin$3",
"nativeMethod": false
},
{
"methodName": "doInRabbit",
"fileName": "RabbitAdmin.java",
"lineNumber": 206,
"className": "org.springframework.amqp.rabbit.core.RabbitAdmin$3",
"nativeMethod": false
},
{
"methodName": "doExecute",
"fileName": "RabbitTemplate.java",
"lineNumber": 1394,
"className": "org.springframework.amqp.rabbit.core.RabbitTemplate",
"nativeMethod": false
},
{
"methodName": "execute",
"fileName": "RabbitTemplate.java",
"lineNumber": 1367,
"className": "org.springframework.amqp.rabbit.core.RabbitTemplate",
"nativeMethod": false
},
{
"methodName": "execute",
"fileName": "RabbitTemplate.java",
"lineNumber": 1343,
"className": "org.springframework.amqp.rabbit.core.RabbitTemplate",
"nativeMethod": false
},
{
"methodName": "declareQueue",
"fileName": "RabbitAdmin.java",
"lineNumber": 206,
"className": "org.springframework.amqp.rabbit.core.RabbitAdmin",
"nativeMethod": false
},
{
"methodName": "sendData",
"fileName": "QDispatcherService.java",
"lineNumber": 59,
"className": "com.mycompany.QDispatcherService",
"nativeMethod": false
},
....
"lockedMonitors": [
{
"className": "java.lang.Object",
"identityHashCode": 285810320,
"lockedStackFrame": {
"methodName": "invoke",
"fileName": "CachingConnectionFactory.java",
"lineNumber": 916,
"className": "org.springframework.amqp.rabbit.connection.CachingConnectionFactory$CachedChannelInvocationHandler",
"nativeMethod": false
},
"lockedStackDepth": 13
}
],
"lockedSynchronizers": [
{
"className": "java.util.concurrent.ThreadPoolExecutor$Worker",
"identityHashCode": 372417558
}
],
"lockInfo": {
"className": "com.rabbitmq.utility.BlockingValueOrException",
"identityHashCode": 274673849
}
},
--
You received this message because you are subscribed to the Google Groups "rabbitmq-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to rabbitmq-users+unsubscribe@googlegroups.com.
To post to this group, send email to rabbitmq-users@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
To post to this group, send email to rabbitm...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
--MKStaff Software Engineer, Pivotal/RabbitMQ
To unsubscribe from this group and stop receiving emails from it, send an email to rabbitmq-user...@googlegroups.com.
To post to this group, send email to rabbitm...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
--MKStaff Software Engineer, Pivotal/RabbitMQ
--MKStaff Software Engineer, Pivotal/RabbitMQ
To unsubscribe from this group and stop receiving emails from it, send an email to rabbitmq-users+unsubscribe@googlegroups.com.
To post to this group, send email to rabbitmq-users@googlegroups.com.
Gary, yes I will keep in mind when cross-posting. My bad.Now declaring queue is requirement, I believe that is not what causing this situation. We have to declare queue because we are going to create thousans of queue for individual customers and those queues will be deleted once processed by consumer. We cant use one queue, also sequence of messages matters to us in processing. That is reason behind prod creates queues and consumers after processing deletes queue.Now back to problem, how do I set timeout or something. I am using spring boot (1.4)/rabbittemplate/Cloud foundry/Rabbit mq v 3.6.3.As mentioned when I see this issue, I can see on dashboard all those channels in running mode. Just now found this type of log from devops in rabbit mq server:
operation queue.declare caused a channel exception not_found: "no queue 'ourqueueName' in vhost '778fb055-6bd0-405c-913b-11a9925ec2f3'"and
some other error like - rabbit@d793bde59d57926276778ec63b36215c.log:Channel error on connection <0.25252.369> (10.999.999.12:52784 -> 10.999.999.14:5672, vhost: '778fb055-6bd0-405c-913b-11a9925ec2f3', user: 'df6w349b-ef3a-41e5-bec2-a0316eb98be3'), channel 7:
To unsubscribe from this group and stop receiving emails from it, send an email to rabbitmq-users+unsubscribe@googlegroups.com.
To post to this group, send email to rabbitmq-users@googlegroups.com.
Hi Gents,I want to give feedback on this issue, we again started seeing same issue and now I upgraded to version 4.1.0 and I configured default channel timeout from 10 min to 1 min and our hang is gone :) That is good thing. Thanks for enhancing library and giving this hook.I have question though - what is causing it and should be remedy for this. Is that something wrong with how we use or network/cluster config.After upgrading version I can see periodic exception in log as below that prevents hang situation.
com.rabbitmq.client.ChannelContinuationTimeoutException: Continuation call for method #method<channel.open>(out-of-band=) on channel AMQChannel(amqp://4ak19088-e413-4b62-9df4-8ef2d16d543f@X.X.X.X:5672/e455646b-0d81-4516-fht5-823160b104kl,69) (#69) timed out
To unsubscribe from this group and stop receiving emails from it, send an email to rabbitmq-users+unsubscribe@googlegroups.com.
To post to this group, send email to rabbitmq-users@googlegroups.com.