Disabling erl_crash.dump

To disable erl_crash.dump you can use the ERL_CRASH_DUMP environment variable. You need to give it a path that doesn’t exists so that open returns a value < 0.

export ERL_CRASH_DUMP=/disable/crash/dump

https://github.com/erlang/otp/blob/maint/erts/emulator/beam/break.c#L757

 
6
Kudos
 
6
Kudos