We have started getting below mentioned errors at our clients place intermittently. I had to restart rabbit MQ service to restore back the system. Any kind of help is highly appreciated. The error just piles up in log file, I have attached an sample file which has errors logged for just a minute.
''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''
ERROR 2015-04-08 13:28:51,823 [1718] MassTransit.Context.ServiceBusReceiveContext - Consumer Exception Exposed
None of the specified endpoints were reachable
Endpoints attempted:
------------------------------------------------
endpoint=amqp-0-9://localhost:5672, attempts=1
System.OutOfMemoryException: Exception of type 'System.OutOfMemoryException' was thrown.
at System.Threading.Thread.StartInternal(IPrincipal principal, StackCrawlMark& stackMark)
at System.Threading.Thread.Start(StackCrawlMark& stackMark)
at System.Threading.Thread.Start()
at RabbitMQ.Client.Impl.ConnectionBase.StartMainLoop()
at RabbitMQ.Client.Impl.ConnectionBase..ctor(ConnectionFactory factory, Boolean insist, IFrameHandler frameHandler)
at RabbitMQ.Client.Framing.Impl.v0_9_1.ProtocolBase.CreateConnection(ConnectionFactory factory, Boolean insist, IFrameHandler frameHandler)
at RabbitMQ.Client.ConnectionFactory.FollowRedirectChain(Int32 maxRedirects, IDictionary`2 connectionAttempts, IDictionary`2 connectionErrors, AmqpTcpEndpoint[]& mostRecentKnownHosts, AmqpTcpEndpoint endpoint)
================================================
Stack trace:
at RabbitMQ.Client.ConnectionFactory.CreateConnection(Int32 maxRedirects)
at RabbitMQ.Client.ConnectionFactory.CreateConnection()
at MassTransit.Transports.RabbitMq.RabbitMqConnection.Connect()
at MassTransit.Transports.ConnectionHandlerImpl`1.Connect()
at MassTransit.Transports.ConnectOnFirstUsePolicy.Execute(Action callback)
at MassTransit.Transports.ConnectionPolicyChainImpl.Next(Action callback)
at MassTransit.Transports.ConnectionHandlerImpl`1.Use(Action`1 callback)
at MassTransit.Transports.RabbitMq.InboundRabbitMqTransport.Receive(Func`2 lookupSinkChain, TimeSpan timeout)
at MassTransit.Transports.Transport.Receive(Func`2 callback, TimeSpan timeout)
at MassTransit.Transports.Endpoint.Receive(Func`2 receiver, TimeSpan timeout)
at MassTransit.Context.ServiceBusReceiveContext.ReceiveFromEndpoint()
ERROR 2015-04-08 13:28:51,823 [1014] MassTransit.Context.ServiceBusReceiveContext - Consumer Exception Exposed
None of the specified endpoints were reachable
Endpoints attempted:
'''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''