RabbitMQ service crashes without logs

732 views
Skip to first unread message

Vineet Nair

unread,
Dec 18, 2017, 1:43:35 AM12/18/17
to rabbitmq-users
We are currently on RabbitMQ version 3.6.9. We have observed that Rabbitmq service crashes without any info in the logs. We have checked the logs at
1)/var/log/rabbitmq/rab...@node.log,
2)shutdown_err,
3)startup_err,
4)shutdown_log,
5)startup_log.

There is no info regarding the cause of the crash here. Is there something that we can fine tune to get the crash dumps??

Michael Klishin

unread,
Dec 18, 2017, 2:20:59 AM12/18/17
to rabbitm...@googlegroups.com
If there are absolutely no logs in either of those locations it means either the node never actually started or the logs
are redirected somewhere else.

Start with the config verification section in http://www.rabbitmq.com/configure.html to find the actual log location for your node.

On Mon, Dec 18, 2017 at 9:43 AM, Vineet Nair <vineet...@gmail.com> wrote:
We are currently on RabbitMQ version 3.6.9. We have observed that Rabbitmq service crashes without any info in the logs. We have checked the logs at
1)/var/log/rabbitmq/rabbit@node.log,
2)shutdown_err,
3)startup_err,
4)shutdown_log,
5)startup_log.

There is no info regarding the cause of the crash here. Is there something that we can fine tune to get the crash dumps??

--
You received this message because you are subscribed to the Google Groups "rabbitmq-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to rabbitmq-users+unsubscribe@googlegroups.com.
To post to this group, send email to rabbitmq-users@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.



--
MK

Staff Software Engineer, Pivotal/RabbitMQ

Vineet Nair

unread,
Dec 18, 2017, 3:18:15 AM12/18/17
to rabbitmq-users
Hey,

Thanks for replying. I have double checked the logs locations and I see the logs are being configured for the before mentioned locations. The issue that i have is only when the RabbitMQ service crashes. The logs are getting generated properly when the service is up and running. 

So wanted to know if there is anything else that i need to check in order to get the Crash logs?? Else i am just blind sighted once the RabbitMQ service crashes. This has happened almost 3 times since last week.

Thanks!!


On Monday, 18 December 2017 12:50:59 UTC+5:30, Michael Klishin wrote:
If there are absolutely no logs in either of those locations it means either the node never actually started or the logs
are redirected somewhere else.

Start with the config verification section in http://www.rabbitmq.com/configure.html to find the actual log location for your node.
On Mon, Dec 18, 2017 at 9:43 AM, Vineet Nair <vineet...@gmail.com> wrote:
We are currently on RabbitMQ version 3.6.9. We have observed that Rabbitmq service crashes without any info in the logs. We have checked the logs at
1)/var/log/rabbitmq/rabbit@node.log,
2)shutdown_err,
3)startup_err,
4)shutdown_log,
5)startup_log.

There is no info regarding the cause of the crash here. Is there something that we can fine tune to get the crash dumps??

--
You received this message because you are subscribed to the Google Groups "rabbitmq-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to rabbitmq-user...@googlegroups.com.
To post to this group, send email to rabbitm...@googlegroups.com.

For more options, visit https://groups.google.com/d/optout.

Michael Klishin

unread,
Dec 18, 2017, 3:50:26 AM12/18/17
to rabbitm...@googlegroups.com
RabbitMQ begins logging early in its boot process. You don't have to enable anything for that. Like I said earlier,
the most common reason for completely empty logs is "the node was never started".

If you are looking for logs around the time of the "crash" (you haven't specified how that is observed or defined) and there are none,
it could be the the out of memory killer or similar kicked in.

You are running a version that is known to underreport its memory usage, see https://github.com/rabbitmq/rabbitmq-server/issues/1223.
Consider upgrading ot 3.6.14 ASAP. From there, see OS/kernel level logs for any relevant messages.

To unsubscribe from this group and stop receiving emails from it, send an email to rabbitmq-users+unsubscribe@googlegroups.com.
To post to this group, send email to rabbitmq-users@googlegroups.com.

For more options, visit https://groups.google.com/d/optout.
Reply all
Reply to author
Forward
0 new messages