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 style>The AMQP operation was interrupted: AMQP close-reason, initiated by Library, code=541, text=&quot;Unexpected Exception&quot;, 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. ---&gt; System.Net.Sockets.</span><span style>SocketException: An existing connection was forcibly closed by the remote host</span><br style>
<span style>� at System.Net.Sockets.</span><span style>NetworkStream.Read(Byte[] buffer, Int32 offset, Int32 size)</span><br style><span style>� --- End of inner exception stack trace ---</span><br style><span style>� at RabbitMQ.Client.Impl.Frame.</span><span style>ReadFrom(NetworkBinaryReader reader)</span><br style>
<span style>� at RabbitMQ.Client.Impl.</span><span style>SocketFrameHandler_0_9.</span><span style>ReadFrame()</span><br style><span style>� at RabbitMQ.Client.Impl.</span><span style>ConnectionBase.</span><span style>MainLoopIteration()</span><br style>
<span style>� at RabbitMQ.Client.Impl.</span><span style>ConnectionBase.MainLoop()</span><br style><span style>�Source = RabbitMQ.Client</span><br style><br style><span style>�StackTrace:</span><br style><span style>� � � at RabbitMQ.Client.Impl.</span><span style>SessionBase.Transmit(Command cmd)</span><br style>
<span style>� at RabbitMQ.Client.Impl.</span><span style>ModelBase.ModelSend(MethodBase method, ContentHeaderBase header, Byte[] body)</span><br style><span style>� at RabbitMQ.Client.Impl.</span><span style>ModelBase.BasicPublish(String exchange, String routingKey, Boolean mandatory, Boolean immediate, IBasicProperties basicProperties, Byte[] body)</span><br style>
<span style>� at RabbitMQ.Client.Impl.</span><span style>ModelBase.BasicPublish(String exchange, String routingKey, IBasicProperties basicProperties, Byte[] body)</span><br style><span style>� at ...</span></div><div><span style><br>
</span></div><div><span style>Any help to track down the cause of this problem is appreciated!</span></div><div><span style><br></span></div><div><span style>Thanks,</span></div><div><span style><br></span></div><div><span style>Michael.</span></div>