[erlang-questions] simple_one_for_one supervisor: strange error when stopping node

Frank Muller <>
Wed Dec 21 18:47:31 CET 2016


Thank you Alex.

Forgot to mention that I'm using 17.5 on Linux.
I'm sure all children are linked because they're started using the
supervisor.

I'll try to narrow that my app and double check.

/Frank

Le mer. 21 déc. 2016 à 18:39, Alex S. <> a écrit :

> As a followup, the following insights from OTP 19’s source code:
>
>    %% If a naughty child did unlink and the child dies before
>    %% monitor the result will be that shutdown/2 receives a
>    %% 'DOWN'-message with reason noproc.
>    %% If the child should die after the unlink there
>    %% will be a 'DOWN'-message with a correct reason
>    %% that will be handled in shutdown/2.
>
> 21 дек. 2016 г., в 19:57, Frank Muller <>
> написал(а):
>
> Spent another day fighting with this, no luck.
>
> Even after applying this trick from angner’s repo, I’m still seeing these
> error message:
> https://github.com/agner/agner/blob/master/src/agner_app.erl#L17-L17
>
> Can someone at least (OTP guys) explain me the « why » i’m getting these
> messages please?
>
> /Frank
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://erlang.org/pipermail/erlang-questions/attachments/20161221/8ba5fa2e/attachment.html>


More information about the erlang-questions mailing list