[rabbitmq-discuss] Irregular service failure

Colin Bull colinbul at gmail.com
Wed Aug 8 10:58:01 BST 2012


Hi, 

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?

Thanks Colin

On Thursday, January 5, 2012 11:57:21 PM UTC, Michael Nye wrote:
>
> Hello,
>
> 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.
>
> 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.
>
> 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.
>
> For the record here is the exception being thrown,
>
> 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.SocketException: An existing connection was 
> forcibly closed by the remote host
>   at System.Net.Sockets.NetworkStream.Read(Byte[] buffer, Int32 offset, 
> Int32 size)
>   --- End of inner exception stack trace ---
>   at RabbitMQ.Client.Impl.Frame.ReadFrom(NetworkBinaryReader reader)
>   at RabbitMQ.Client.Impl.SocketFrameHandler_0_9.ReadFrame()
>   at RabbitMQ.Client.Impl.ConnectionBase.MainLoopIteration()
>   at RabbitMQ.Client.Impl.ConnectionBase.MainLoop()
>  Source = RabbitMQ.Client
>
>  StackTrace:
>       at RabbitMQ.Client.Impl.SessionBase.Transmit(Command cmd)
>   at RabbitMQ.Client.Impl.ModelBase.ModelSend(MethodBase method, 
> ContentHeaderBase header, Byte[] body)
>   at RabbitMQ.Client.Impl.ModelBase.BasicPublish(String exchange, String 
> routingKey, Boolean mandatory, Boolean immediate, IBasicProperties 
> basicProperties, Byte[] body)
>   at RabbitMQ.Client.Impl.ModelBase.BasicPublish(String exchange, String 
> routingKey, IBasicProperties basicProperties, Byte[] body)
>   at ...
>
> Any help to track down the cause of this problem is appreciated!
>
> Thanks,
>
> Michael.
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.rabbitmq.com/pipermail/rabbitmq-discuss/attachments/20120808/37f4e75e/attachment.htm>


More information about the rabbitmq-discuss mailing list