[rabbitmq-discuss] Crash problem

Bernhard Mogens Ege bme at saseco.dk
Mon Sep 16 12:30:31 BST 2013


Hi,

Our RabbitMQ service just decided that it would not start up anymore and present this error to the reason why:
=ERROR REPORT==== 15-Sep-2013::23:35:10 ===
** Generic server rabbit_disk_monitor terminating
** Last message in was update
** When Server state == {state,"c:/Users/bme/AppData/Roaming/RabbitMQ/db/rabbit at APPS-mnesia",
                               1000000000,10000,
                               {interval,#Ref<0.0.0.816>},
                               false}
** Reason for termination ==
** {eacces,[{erlang,open_port,
                    [{spawn,"C:\\Windows\\system32\\cmd.exe /cdir /-C /W \"c:/Users/bme/AppData/Roaming/RabbitMQ/db/rabbit at APPS-mnesia\""},
                     [stream,in,eof,hide]],
                    []},
            {os,cmd,1,[{file,"os.erl"},{line,175}]},
            {rabbit_disk_monitor,get_disk_free,2,[]},
            {rabbit_disk_monitor,internal_update,1,[]},
            {rabbit_disk_monitor,handle_info,2,[]},
            {gen_server,handle_msg,5,[{file,"gen_server.erl"},{line,607}]},
            {proc_lib,init_p_do_apply,3,[{file,"proc_lib.erl"},{line,227}]}]}


I don't know why this happened but I couldn't just restart the service. In the sasl log file I found this:


=CRASH REPORT==== 15-Sep-2013::23:35:10 ===
  crasher:
    initial call: rabbit_disk_monitor:init/1
    pid: <0.178.0>
    registered_name: rabbit_disk_monitor
    exception exit: {eacces,
                        [{erlang,open_port,
                             [{spawn,
                                  "C:\\Windows\\system32\\cmd.exe /cdir /-C /W \"c:/Users/bme/AppData/Roaming/RabbitMQ/db/rabbit at APPS-mnesia\""},
                              [stream,in,eof,hide]],
                             []},
                         {os,cmd,1,[{file,"os.erl"},{line,175}]},
                         {rabbit_disk_monitor,get_disk_free,2,[]},
                         {rabbit_disk_monitor,internal_update,1,[]},
                         {rabbit_disk_monitor,handle_info,2,[]},
                         {gen_server,handle_msg,5,
                             [{file,"gen_server.erl"},{line,607}]},
                         {proc_lib,init_p_do_apply,3,
                             [{file,"proc_lib.erl"},{line,227}]}]}
      in function  gen_server:terminate/6 (gen_server.erl, line 747)
    ancestors: [rabbit_disk_monitor_sup,rabbit_sup,<0.153.0>]
    messages: []
    links: [<0.82.0>,<0.177.0>]
    dictionary: []
    trap_exit: false
    status: running
    heap_size: 1597
    stack_size: 24
    reductions: 4575780523
  neighbours:

=SUPERVISOR REPORT==== 15-Sep-2013::23:35:10 ===
     Supervisor: {local,rabbit_disk_monitor_sup}
     Context:    child_terminated
     Reason:     {eacces,
                     [{erlang,open_port,
                          [{spawn,
                               "C:\\Windows\\system32\\cmd.exe /cdir /-C /W \"c:/Users/bme/AppData/Roaming/RabbitMQ/db/rabbit at APPS-mnesia\""},
                           [stream,in,eof,hide]],
                          []},
                      {os,cmd,1,[{file,"os.erl"},{line,175}]},
                      {rabbit_disk_monitor,get_disk_free,2,[]},
                      {rabbit_disk_monitor,internal_update,1,[]},
                      {rabbit_disk_monitor,handle_info,2,[]},
                      {gen_server,handle_msg,5,
                          [{file,"gen_server.erl"},{line,607}]},
                      {proc_lib,init_p_do_apply,3,
                          [{file,"proc_lib.erl"},{line,227}]}]}
     Offender:   [{pid,<0.178.0>},
                  {name,rabbit_disk_monitor},
                  {mfargs,{rabbit_disk_monitor,start_link,[1000000000]}},
                  {restart_type,transient},
                  {shutdown,4294967295},
                  {child_type,worker}]


=CRASH REPORT==== 15-Sep-2013::23:35:10 ===
  crasher:
    initial call: rabbit_disk_monitor:init/1
    pid: <0.4210.1>
    registered_name: []
    exception exit: unsupported_platform
      in function  gen_server:init_it/6 (gen_server.erl, line 320)
    ancestors: [rabbit_disk_monitor_sup,rabbit_sup,<0.153.0>]
    messages: []
    links: [<0.177.0>,<0.82.0>]
    dictionary: []
    trap_exit: false
    status: running
    heap_size: 1597
    stack_size: 24
    reductions: 615
  neighbours:

=SUPERVISOR REPORT==== 15-Sep-2013::23:35:10 ===
     Supervisor: {local,rabbit_disk_monitor_sup}
     Context:    start_error
     Reason:     unsupported_platform
     Offender:   [{pid,<0.178.0>},
                  {name,rabbit_disk_monitor},
                  {mfargs,{rabbit_disk_monitor,start_link,[1000000000]}},
                  {restart_type,transient},
                  {shutdown,4294967295},
                  {child_type,worker}]

RabbitMQ version is (from log file):
=INFO REPORT==== 27-Jul-2013::09:23:27 ===
Starting RabbitMQ 3.0.1 on Erlang R15B03

=INFO REPORT==== 27-Jul-2013::09:23:30 ===
Limiting to approx 924 file handles (829 sockets)

=INFO REPORT==== 27-Jul-2013::09:23:30 ===
Memory limit set to 409MB of 1023MB total.

=INFO REPORT==== 27-Jul-2013::09:23:30 ===
Disk free limit set to 1000MB

Suggestions to the cause of the crash?

Thanks,

Bernhard
=============================
Bernhard Mogens Ege
Software developer
E: bme at saseco.dk<mailto:bme at saseco.dk>
M: +45 51 90 50 86
Saseco
Åbogade 15
8200 Aarhus N
Denmark
=============================

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.rabbitmq.com/pipermail/rabbitmq-discuss/attachments/20130916/2373cead/attachment.htm>


More information about the rabbitmq-discuss mailing list