From 0aa4dc4f66815aa4b40e8b3b2d8b9a24c180debe Mon Sep 17 00:00:00 2001
From: Steve Vinoski
Date: Fri, 17 Oct 2014 17:21:37 -0400
Subject: Clarify the use of SIGUSR1 for forcing crash dumps
The crash_dump document mentions indirectly that delivering a SIGUSR1 to a
running emulator process can force it to crash dump. Clarify that text to
make it clear SIGUSR1 can be used for that purpose, and also add a similar
note about using SIGUSR1 to the erl documentation.
---
erts/doc/src/crash_dump.xml | 5 +++--
erts/doc/src/erl.xml | 3 ++-
2 files changed, 5 insertions(+), 3 deletions(-)
(limited to 'erts/doc')
diff --git a/erts/doc/src/crash_dump.xml b/erts/doc/src/crash_dump.xml
index d3de29b876..2b5fc877c3 100644
--- a/erts/doc/src/crash_dump.xml
+++ b/erts/doc/src/crash_dump.xml
@@ -115,8 +115,9 @@
sockets/pipes can be used simultaneously by Erlang (due to
limitations in the Unix call). The number of
open regular files is not affected by this.
- - "Received SIGUSR1" - The SIGUSR1 signal was sent to the
- Erlang machine (Unix only).
+ - "Received SIGUSR1" - Sending the SIGUSR1 signal to a
+ Erlang machine (Unix only) forces a crash dump. This slogan reflects
+ that the Erlang machine crash-dumped due to receiving that signal.
- "Kernel pid terminated (Who)
(Exit-reason)" - The kernel supervisor has detected
a failure, usually that the
diff --git a/erts/doc/src/erl.xml b/erts/doc/src/erl.xml
index f856b9ab86..e85519185f 100644
--- a/erts/doc/src/erl.xml
+++ b/erts/doc/src/erl.xml
@@ -525,7 +525,8 @@
core dump and no crash dump if an internal error is detected.
Calling erlang:halt/1 with a string argument will still
- produce a crash dump.
+ produce a crash dump. On Unix systems, sending an emulator process
+ a SIGUSR1 signal will also force a crash dump.
-
--
cgit v1.2.3