Is there any way to disable the generation of "crash dump" & "core dump" files when running 'erl' ?
PS: I know about the "+d" option of erl but I want to completely disable the generation of crash/core dumps.
Is there any way to disable the generation of "crash dump" & "core dump" files when running 'erl' ?
PS: I know about the "+d" option of erl but I want to completely disable the generation of crash/core dumps.
If you are into dirty patching, you can insert a return statement right at the top of the erl_crash_dump_v function in break.c, and recompile.
You may also set the ERL_CRASH_DUMP environment variable to "/dev/null". It designates to which file the crash dump should be written.
See: https://github.com/yrashk/erlang/blob/e1282325ed75e52a98d58f5bd9fb0fa27896173f/erts/emulator/beam/break.c#L684