<div>I'd recommend you examine the 'dmesg' command output. Look for lines that indicate a segfault or general protection fault occurred, eg:</div><div><br></div>[16203366.364647] freeswitch[949]: segfault at 7f170000001a ip 7f171a86c34b sp 4c32ce20 error 4 in <a href="http://libc-2.7.so">libc-2.7.so</a>[7f171a7f6000+14a000]<div>
<br></div><div>By default coredumps (if enabled) get written to the current working directory of freeswitch as the user it's running as - so it needs to be writeable by that user. They'll generally either be called core or core.PID.</div>
<div><br></div><div>To get a coredump start freeswitch with the -core option. This is equivalent to starting freeswitch with 'ulimit -c unlimited' in effect (on systems supporting setrlimit).</div><div><div><br></div>
<div>Once you have a coredump you can collect a backtrace and attach that to the Jira ticket. That shows what FS was doing when the crash occurred.</div><div><a href="http://wiki.freeswitch.org/wiki/Reporting_Bugs#Creating_A_Backtrace_With_gdb_.28Linux.2FUnix.29">http://wiki.freeswitch.org/wiki/Reporting_Bugs#Creating_A_Backtrace_With_gdb_.28Linux.2FUnix.29</a></div>
<div><br></div><div>Before raising a Jira upgrade to the latest version of the master branch and try to reproduce the crash there, just in case you're hitting a bug that's already been fixed. If it's fixed there and not in the latest version of the v1.2.stable branch that would also be useful to know.</div>
<div><br></div><div>-Steve</div><div><br></div><div><br><br><div class="gmail_quote">On 6 February 2013 02:19, Tristan Mahé <span dir="ltr"><<a href="mailto:t.mahe@b-and-c.net" target="_blank">t.mahe@b-and-c.net</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div text="#000000" bgcolor="#FFFFFF">
<div>Hi,<br>
<br>
Turn debug on ( fsctl loglevel 7 ) and check for coredumps on your
system ( ulimit -c ).<br>
<br>
Regards,<br>
<br>
Gled.<div><div class="h5"><br>
<br>
On 06/02/2013 03:08, Sirish Masur Mohan wrote:<br>
</div></div></div>
<blockquote type="cite"><div><div class="h5">
<div>
<p class="MsoNormal">Hi,<u></u><u></u></p>
<p class="MsoNormal"><u></u> <u></u></p>
<p class="MsoNormal">In last 2 days, I have observed that
FreeSWITCH process, after being up for about a day or so, dies
unexpectedly. This has happened twice, on two different
servers. There is no indication of failure in freeswitch log.<u></u><u></u></p>
<p class="MsoNormal"><u></u> <u></u></p>
<p class="MsoNormal">I am using a 32-bit Ubuntu, with FreeSWITCH
version being FreeSWITCH Version 1.3.13b.<u></u><u></u></p>
<p class="MsoNormal"><u></u> <u></u></p>
<p class="MsoNormal">Any clues on how to debug this? <u></u><u></u></p>
<p class="MsoNormal"><u></u> <u></u></p>
<p class="MsoNormal">Thanks!<u></u><u></u></p>
<p class="MsoNormal"><u></u> <u></u></p>
<p class="MsoNormal">With regards,<u></u><u></u></p>
<p class="MsoNormal">Sirish<u></u><u></u></p>
<p class="MsoNormal"><u></u> <u></u></p>
</div>
<br>
<fieldset></fieldset>
<br>
</div></div><div class="im"><pre>_________________________________________________________________________
Professional FreeSWITCH Consulting Services:
<a href="mailto:consulting@freeswitch.org" target="_blank">consulting@freeswitch.org</a>
<a href="http://www.freeswitchsolutions.com" target="_blank">http://www.freeswitchsolutions.com</a>
FreeSWITCH-powered IP PBX: The CudaTel Communication Server
<a href="http://www.cudatel.com" target="_blank">http://www.cudatel.com</a>
Official FreeSWITCH Sites
<a href="http://www.freeswitch.org" target="_blank">http://www.freeswitch.org</a>
<a href="http://wiki.freeswitch.org" target="_blank">http://wiki.freeswitch.org</a>
<a href="http://www.cluecon.com" target="_blank">http://www.cluecon.com</a>
FreeSWITCH-users mailing list
<a href="mailto:FreeSWITCH-users@lists.freeswitch.org" target="_blank">FreeSWITCH-users@lists.freeswitch.org</a>
<a href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a>
UNSUBSCRIBE:<a href="http://lists.freeswitch.org/mailman/options/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/options/freeswitch-users</a>
<a href="http://www.freeswitch.org" target="_blank">http://www.freeswitch.org</a>
</pre>
</div></blockquote>
<br>
</div>
<br>_________________________________________________________________________<br>
Professional FreeSWITCH Consulting Services:<br>
<a href="mailto:consulting@freeswitch.org">consulting@freeswitch.org</a><br>
<a href="http://www.freeswitchsolutions.com" target="_blank">http://www.freeswitchsolutions.com</a><br>
<br>
FreeSWITCH-powered IP PBX: The CudaTel Communication Server<br>
<a href="http://www.cudatel.com" target="_blank">http://www.cudatel.com</a><br>
<br>
Official FreeSWITCH Sites<br>
<a href="http://www.freeswitch.org" target="_blank">http://www.freeswitch.org</a><br>
<a href="http://wiki.freeswitch.org" target="_blank">http://wiki.freeswitch.org</a><br>
<a href="http://www.cluecon.com" target="_blank">http://www.cluecon.com</a><br>
<br>
FreeSWITCH-users mailing list<br>
<a href="mailto:FreeSWITCH-users@lists.freeswitch.org">FreeSWITCH-users@lists.freeswitch.org</a><br>
<a href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a><br>
UNSUBSCRIBE:<a href="http://lists.freeswitch.org/mailman/options/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/options/freeswitch-users</a><br>
<a href="http://www.freeswitch.org" target="_blank">http://www.freeswitch.org</a><br>
<br></blockquote></div><br></div></div>