[erlang-questions] What is shutdown_error?
Sat Jun 9 00:23:35 CEST 2012
Thank you :)
On Wed, Jun 6, 2012 at 4:25 AM, Siri Hansen <> wrote:
> 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
> erlang-questions mailing list
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the erlang-questions