From 2ac90c41651e12eb09fbb835af8d87ecc3f007b2 Mon Sep 17 00:00:00 2001 From: Travis Cross Date: Tue, 21 Jan 2014 05:45:19 +0000 Subject: [PATCH] Add some debugging notes to our docs/ --- docs/Debugging | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) create mode 100644 docs/Debugging diff --git a/docs/Debugging b/docs/Debugging new file mode 100644 index 0000000000..078faf8691 --- /dev/null +++ b/docs/Debugging @@ -0,0 +1,19 @@ +How to Debug FreeSWITCH Issues +============================== + +Dumping a core file +------------------- + +Run: + + sysctl -w kernel.core_pattern=/tmp/core.%t_%e_s%s + sysctl -w fs.suid_dumpable=1 + ulimit -c unlimited + freeswitch -core + +Getting a backtrace from a core file +------------------------------------ + +Run: + + ./debian/scripts/backtrace-from-corefile /tmp/