<div dir="ltr">Thanks for your reply!<div><br></div><div>I have checked rabbitmq server log, it is showing error as "connection_closed_abruptly". </div><div>I am using rabbitmq's topic exchange conf. So i am having 4-5 consumers. but single server with one exchange, having 5 routing key- each mapped to 5 queue. 5 queue has got 5 consumer in diff machines. So even if, one consumer is down, still others are working. How is it possible, even i don't know. So i have written code to restart, that does not even work. But if i manually restarts service in that particular system, this helps.</div>
</div><div class="gmail_extra"><br clear="all"><div><div dir="ltr"><font color="#444444">- Arindam</font></div></div>
<br><br><div class="gmail_quote">On 28 August 2013 19:11, Emile Joubert <span dir="ltr"><<a href="mailto:emile@rabbitmq.com" target="_blank">emile@rabbitmq.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div class="im">On 28/08/13 14:20, Arindam wrote:<br>
> What do you mean by "detached"? Was the network disconnected?<br>
><br>
</div>> /Detached means -- consumer is not able to process data from queue./<br>
><br>
> /Scenario- when consume is up, it shows in management UI , consumers<br>
> section of queue./<br>
><br>
> /when consumer is detached, in management UI , it no more displays that<br>
<div class="im">> consumer. when i check with that windows service, it shows service is<br>
</div>> running fine, but log file for that service shows "SharedQueue closed"./<br>
><br>
> /No, the network in up at all time, i don' t know exact reason for<br>
> disconnection (may be that queue is idle for some time period) ./<br>
<br>
If you suspect a network timeout then please turn on AMQP heartbeats and<br>
see if that helps.<br>
<div class="im"><br>
> Have you checked the broker logfiles or the OS event log? Does<br>
> "rabbitmqctl report" produce output that you can share?<br>
><br>
</div>> /No i have not checked that, can you tell me location for that log<br>
> files? and how to use that command, and decode informations./<br>
<br>
Please see the "Logging" section:<br>
<a href="http://www.rabbitmq.com/install-windows.html" target="_blank">http://www.rabbitmq.com/install-windows.html</a><br>
<br>
The instructions on how to use that command are documented:<br>
<a href="http://www.rabbitmq.com/man/rabbitmqctl.1.man.html" target="_blank">http://www.rabbitmq.com/man/rabbitmqctl.1.man.html</a><br>
<div class="im"><br>
<br>
> Does this only happen when running as a service, or does the same happen<br>
> when the broker is run as a foreground application?<br>
</div>> /<br>
> /I have not tested consumer/broker in foreground, but i need that in<br>
> windows service only, so that my problem will be resolved./<br>
<br>
Running as an application will help determine whether the problem is<br>
service-specific.<br>
<div class="im"><br>
> Any other diagnostic information you can provide will help determine the<br>
> cause.<br>
><br>
</div>> /I have one more error in log file -- The AMQP operation was<br>
<div class="im">> interrupted: AMQP close-reason, initiated by Application, code=200,<br>
</div>> text="Goodbye", classId=0, methodId=0, cause= /<br>
<br>
This means the client application closed the connection normally. Check<br>
why your application closed the connection.<br>
<span class="HOEnZb"><font color="#888888"><br>
<br>
<br>
<br>
<br>
-Emile<br>
<br>
<br>
</font></span></blockquote></div><br></div>