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

Frank Muller <>
Tue Dec 20 22:16:07 CET 2016


I’m seeing this intermittent error when stopping my Erlang node with

2016-12-20 22:00:11 =SUPERVISOR REPORT====
    Supervisor: {local,server_sock_sup}
    Context:    shutdown_error
    Reason:     noproc

2016-12-20 22:00:11.069 [error] <0.162.0> Supervisor server_sock_sup had
child client_sock started with client_sock start_link() at undefined exit
with reason noproc in context shutdown_error

The client_sock is a gen_server which traps exit.
It’s supervised by server_sock_sup as a simple_one_for_one.

I’ve also tried without trapping exit in client_sock and was also able to
notice this error.

Can someone please explain me what I’m doing wrong?

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://erlang.org/pipermail/erlang-questions/attachments/20161220/5c0eb619/attachment.html>

More information about the erlang-questions mailing list