Add some debugging notes to our docs/

This commit is contained in:
Travis Cross 2014-01-21 05:45:19 +00:00
parent e364450a57
commit 2ac90c4165
1 changed files with 19 additions and 0 deletions

19
docs/Debugging Normal file
View File

@ -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>