Hi, <div><br></div><div>I have exactly the same situation. Although the message volumes are slightly less probably 10,000 msg/day.. I am currently running on RabbitMQ 2.8.4. I have tried looking in the logs and I cannot see anything strange. Any other ideas?</div><div><br></div><div>Thanks Colin<br><br>On Thursday, January 5, 2012 11:57:21 PM UTC, Michael Nye wrote:<blockquote class="gmail_quote" style="margin: 0;margin-left: 0.8ex;border-left: 1px #ccc solid;padding-left: 1ex;">Hello,<div><br></div><div>I am currently using RabbitMQ in a reasonably high throughput manner, I would guess 100,000+ messages per day being sent through it. The install is on a Windows Server 2008 R2 box and all applications are in C# with everything running on the same machine.</div>
<div><br></div><div>The service will run fine for weeks, months but then randomly (so far it has happened 2 or 3 times) it appears the service just stops working. All applications will start throwing an exception AlreadyClosedException, and stop being able to send messages. To get things working again, I stop all applications, restart the rabbitmq service, and start the applications again.</div>
<div><br></div><div>I am not sure where to start in terms of debugging this, so am interested in hearing what people would suggest to try to track down why this is happening (I am only a basic user of rabbit). I believe the RabbitMQ service install is a stock standard install of version 2.6.1, so potentially an upgrade to 2.7.1 may clear things up.</div>
<div><br></div><div>For the record here is the exception being thrown,</div><div><br></div><div><span>The AMQP operation was interrupted: AMQP close-reason, initiated by Library, code=541, text="Unexpected Exception", classId=0, methodId=0, cause=System.IO.IOException: Unable to read data from the transport connection: An existing connection was forcibly closed by the remote host. ---> System.Net.Sockets.</span><span>SocketExcep<wbr>tion: An existing connection was forcibly closed by the remote host</span><br>
<span> at System.Net.Sockets.</span><span>NetworkStre<wbr>am.Read(Byte[] buffer, Int32 offset, Int32 size)</span><br><span> --- End of inner exception stack trace ---</span><br><span> at RabbitMQ.Client.Impl.Frame.</span><span>Rea<wbr>dFrom(NetworkBinaryReader reader)</span><br>
<span> at RabbitMQ.Client.Impl.</span><span>SocketFra<wbr>meHandler_0_9.</span><span>ReadFrame()</span><br><span> at RabbitMQ.Client.Impl.</span><span>Connectio<wbr>nBase.</span><span>MainLoopIteration()</span><br>
<span> at RabbitMQ.Client.Impl.</span><span>Connectio<wbr>nBase.MainLoop()</span><br><span> Source = RabbitMQ.Client</span><br><br><span> StackTrace:</span><br><span> at RabbitMQ.Client.Impl.</span><span>SessionBa<wbr>se.Transmit(Command cmd)</span><br>
<span> at RabbitMQ.Client.Impl.</span><span>ModelBase<wbr>.ModelSend(MethodBase method, ContentHeaderBase header, Byte[] body)</span><br><span> at RabbitMQ.Client.Impl.</span><span>ModelBase<wbr>.BasicPublish(String exchange, String routingKey, Boolean mandatory, Boolean immediate, IBasicProperties basicProperties, Byte[] body)</span><br>
<span> at RabbitMQ.Client.Impl.</span><span>ModelBase<wbr>.BasicPublish(String exchange, String routingKey, IBasicProperties basicProperties, Byte[] body)</span><br><span> at ...</span></div><div><span><br>
</span></div><div><span>Any help to track down the cause of this problem is appreciated!</span></div><div><span><br></span></div><div><span>Thanks,</span></div><div><span><br></span></div><div><span>Michael.</span></div>
</blockquote></div>