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

Geoff Cant <>
Sun Dec 6 08:29:43 CET 2009

Tony Arcieri <> writes:

> On Sat, Nov 28, 2009 at 1:09 PM, Tony Arcieri <> 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

You can see this for yourself via exit(whereis(code_server), kill) in
the shell.

Geoff Cant

More information about the erlang-questions mailing list