diff options
author | Björn-Egil Dahlberg <[email protected]> | 2012-10-24 14:22:36 +0200 |
---|---|---|
committer | Björn-Egil Dahlberg <[email protected]> | 2012-10-24 14:22:36 +0200 |
commit | bb915519aa16f6410b19c6f868805b47717f11fa (patch) | |
tree | 02171f62ff06e14586a803b6a69c885978137cd8 /erts/doc | |
parent | 49b7b5d5158f89fb4bee068719d000d6c753fdcd (diff) | |
parent | d5733bc3e34449affde2594d85b905c8ab440d42 (diff) | |
download | otp-bb915519aa16f6410b19c6f868805b47717f11fa.tar.gz otp-bb915519aa16f6410b19c6f868805b47717f11fa.tar.bz2 otp-bb915519aa16f6410b19c6f868805b47717f11fa.zip |
Merge branch 'maint'
Conflicts:
erts/etc/common/heart.c
Diffstat (limited to 'erts/doc')
-rw-r--r-- | erts/doc/src/erl.xml | 31 |
1 files changed, 31 insertions, 0 deletions
diff --git a/erts/doc/src/erl.xml b/erts/doc/src/erl.xml index 93d1289e8d..7cdb3a4dfe 100644 --- a/erts/doc/src/erl.xml +++ b/erts/doc/src/erl.xml @@ -1042,6 +1042,37 @@ the emulator will be allowed to spend writing a crash dump. When the given number of seconds have elapsed, the emulator will be terminated by a SIGALRM signal.</p> + + <p> If the environment variable is <em>not</em> set or it is set to zero seconds, <c><![CDATA[ERL_CRASH_DUMP_SECONDS=0]]></c>, + the runtime system will not even attempt to write the crash dump file. It will just terminate. + </p> + <p> If the environment variable is set to negative valie, e.g. <c><![CDATA[ERL_CRASH_DUMP_SECONDS=-1]]></c>, + the runtime system will wait indefinitely for the crash dump file to be written. + </p> + <p> This environment variable is used in conjuction with + <seealso marker="kernel:heart"><c>heart</c></seealso> if <c>heart</c> is running: + </p> + <taglist> + <tag><c><![CDATA[ERL_CRASH_DUMP_SECONDS=0]]></c></tag> + <item><p> + Suppresses the writing a crash dump file entirely, + thus rebooting the runtime system immediately. + This is the same as not setting the environment variable. + </p> + </item> + <tag><c><![CDATA[ERL_CRASH_DUMP_SECONDS=-1]]></c></tag> + <item><p>Setting the environment variable to a negative value will cause the + termination of the runtime system to wait until the crash dump file + has been completly written. + </p> + </item> + <tag><c><![CDATA[ERL_CRASH_DUMP_SECONDS=S]]></c></tag> + <item><p> + Will wait for <c>S</c> seconds to complete the crash dump file and + then terminate the runtime system. + </p> + </item> + </taglist> </item> <tag><c><![CDATA[ERL_AFLAGS]]></c></tag> <item> |