[erlang-questions] Re: What happens if the code server crashes?
Geoff Cant
nem@REDACTED
Sun Dec 6 08:29:43 CET 2009
Tony Arcieri <tony@REDACTED> writes:
> On Sat, Nov 28, 2009 at 1:09 PM, Tony Arcieri <tony@REDACTED> wrote:
>
>> What does Erlang do when a bug in the code server is encountered?
>>
>
> Nobody knows, huh? Kinda scary...
The node shuts down - the code_server is attached to the kernel_sup, and
any crash of a kernel_sup child results in a node shutdown. See the
comments around
http://github.com/erlang/otp/blob/ccase/r13b04_dev/lib/kernel/src/kernel.erl#L61
You can see this for yourself via exit(whereis(code_server), kill) in
the shell.
Cheers,
--
Geoff Cant
More information about the erlang-questions
mailing list