[erlang-questions] Re: What happens if the code server crashes?

Tony Arcieri tony@REDACTED
Sun Dec 6 19:23:47 CET 2009


Aha, this is the behavior I was expecting.  Thanks for the details about how
it's implemented.

On Sun, Dec 6, 2009 at 12:29 AM, Geoff Cant <nem@REDACTED> wrote:

> 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
>
>


-- 
Tony Arcieri
Medioh/Nagravision


More information about the erlang-questions mailing list