[erlang-bugs] Deadlocking application_controller using init:stop/1, 2
Magnus Ottenklinger
magnus.ottenklinger@REDACTED
Tue Sep 9 11:38:06 CEST 2014
Hey Siri,
sorry for taking so long to reply.
Our system takes quite some time starting up (around one minute). While this is being done, multiple applications are started, each with a supervisor tree. Within those supervisor trees, processes might start other OTP applications, such as ssl.
The init:stop() is sent to the VM by our /etc/init.d script. If e.g. an error is detected during the startup phase, and we want to stop the node, the described deadlock appears, rendering the system unstoppable (in a clean way).
Regards, Magnus
More information about the erlang-bugs
mailing list