[erlang-questions] What can lead to disksup timeout and failure:

Max Lapshin <>
Tue Jan 28 16:04:26 CET 2014


https://gist.github.com/maxlapshin/8669197

2014-01-28 07:40:11 =ERROR REPORT====
** Generic server disksup terminating
** Last message in was timeout
** When Server state == {state,80,1800000,{unix,linux},[],#Port<0.102799>}
** Reason for termination ==
**
{badarg,[{erlang,port_close,[#Port<0.102799>],[]},{disksup,terminate,2,[{file,"disksup.erl"},{line,164}]},{gen_server,terminate,6,[{file,"gen_server.erl"},{line,719}]},{proc_lib,init_p_do_apply,3,[{file,"proc_lib.erl"},{line,239}]}]}
2014-01-28 07:40:11 =CRASH REPORT====
  crasher:
    initial call: disksup:init/1
    pid: <0.20756.3>
    registered_name: disksup
    exception exit:
{{badarg,[{erlang,port_close,[#Port<0.102799>],[]},{disksup,terminate,2,[{file,"disksup.erl"},{line,164}]},{gen_server,terminate,6,[{file,"gen_server.erl"},{line,719}]},{proc_lib,init_p_do_apply,3,[{file,"proc_lib.erl"},{line,239}]}]},[{gen_server,terminate,6,[{file,"gen_server.erl"},{line,722}]},{proc_lib,init_p_do_apply,3,[{file,"proc_lib.erl"},{line,239}]}]}
    ancestors: [os_mon_sup,<0.125.0>]
    messages: []
    links: [<0.126.0>]
    dictionary: []
    trap_exit: true
    status: running
    heap_size: 610
    stack_size: 27
    reductions: 346
  neighbours:
2014-01-28 07:40:11 =SUPERVISOR REPORT====
     Supervisor: {local,os_mon_sup}
     Context:    child_terminated
     Reason:
{badarg,[{erlang,port_close,[#Port<0.102799>],[]},{disksup,terminate,2,[{file,"disksup.erl"},{line,164}]},{gen_server,terminate,6,[{file,"gen_server.erl"},{line,719}]},{proc_lib,init_p_do_apply,3,[{file,"proc_lib.erl"},{line,239}]}]}
     Offender:
[{pid,<0.20756.3>},{name,disksup},{mfargs,{disksup,start_link,[]}},{restart_type,permanent},{shutdown,2000},{child_type,worker}]

2014-01-28 07:40:11 =SUPERVISOR REPORT====
     Supervisor: {local,os_mon_sup}
     Context:    shutdown
     Reason:     reached_max_restart_intensity
     Offender:
[{pid,<0.20756.3>},{name,disksup},{mfargs,{disksup,start_link,[]}},{restart_type,permanent},{shutdown,2000},{child_type,worker}]




After this erlang application dies.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://erlang.org/pipermail/erlang-questions/attachments/20140128/cc0ac724/attachment.html>


More information about the erlang-questions mailing list