]> git.ipfire.org Git - thirdparty/freeswitch.git/commitdiff
Add some debugging notes to our docs/
authorTravis Cross <tc@traviscross.com>
Tue, 21 Jan 2014 05:45:19 +0000 (05:45 +0000)
committerTravis Cross <tc@traviscross.com>
Tue, 21 Jan 2014 07:09:33 +0000 (07:09 +0000)
docs/Debugging [new file with mode: 0644]

diff --git a/docs/Debugging b/docs/Debugging
new file mode 100644 (file)
index 0000000..078faf8
--- /dev/null
@@ -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/<name-of-corefile>