[erlang-questions] What is shutdown_error?
Wed Jun 6 10:25:29 CEST 2012
sorry, forgot to copy the list
2012/6/6 Siri Hansen <>
> shutdown_error is used by supervisor (and application_master) to inform at
> something went a bit wrong during shutdown or a child. When shutting down a
> child, supervisor will normally do exit(ChildPid,shutdown) and then monitor
> the child to check the actual exit reason. If it terminates with Reason /=
> shutdown, supervisor will report a shutdown_error.
> Also, if a child does not respond to supervisor's attempt of graceful
> shutdown within the shutdown time specified in the child spec, then the
> supervisor will kill it brutally and report a shutdown_error. This might be
> what happened in your case, since the reason reported is 'killed'.
> 2012/6/5 Ryan Flynn <>
>> What is shutdown_error? I can't figure out what to make of
>> shutdown_error; all I can find is a brief mention that it exists in sasl
>> docs. Full error:
>> Supervisor foo_sup had child foo_server started with
>> foo_server:start_link() at <0.379.0> exit with reason killed in context
>> Thanks in advance.
>> erlang-questions mailing list
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the erlang-questions