[Freeswitch-users] FreeSWITCH process dies

Steven Ayre steveayre at gmail.com
Wed Feb 6 12:52:01 MSK 2013


I'd recommend you examine the 'dmesg' command output. Look for lines that
indicate a segfault or general protection fault occurred, eg:

[16203366.364647] freeswitch[949]: segfault at 7f170000001a ip 7f171a86c34b
sp 4c32ce20 error 4 in libc-2.7.so[7f171a7f6000+14a000]

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.

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).

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.
http://wiki.freeswitch.org/wiki/Reporting_Bugs#Creating_A_Backtrace_With_gdb_.28Linux.2FUnix.29

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.

-Steve



On 6 February 2013 02:19, Tristan Mahé <t.mahe at b-and-c.net> wrote:

>  Hi,
>
> Turn debug on ( fsctl loglevel 7 ) and check for coredumps on your system
> ( ulimit -c ).
>
> Regards,
>
> Gled.
>
>
> On 06/02/2013 03:08, Sirish Masur Mohan wrote:
>
>  Hi,****
>
> ** **
>
> 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.***
> *
>
> ** **
>
> I am using a 32-bit Ubuntu, with FreeSWITCH version being FreeSWITCH
> Version 1.3.13b.****
>
> ** **
>
> Any clues on how to debug this? ****
>
> ** **
>
> Thanks!****
>
> ** **
>
> With regards,****
>
> Sirish****
>
> ** **
>
>
> _________________________________________________________________________
> Professional FreeSWITCH Consulting Services:consulting at freeswitch.orghttp://www.freeswitchsolutions.com
>
> FreeSWITCH-powered IP PBX: The CudaTel Communication Server
>
> Official FreeSWITCH Siteshttp://www.freeswitch.orghttp://wiki.freeswitch.orghttp://www.cluecon.com
>
> FreeSWITCH-users mailing listFreeSWITCH-users at lists.freeswitch.orghttp://lists.freeswitch.org/mailman/listinfo/freeswitch-users
> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-usershttp://www.freeswitch.org
>
>
>
> _________________________________________________________________________
> Professional FreeSWITCH Consulting Services:
> consulting at freeswitch.org
> http://www.freeswitchsolutions.com
>
> 
> 
>
> Official FreeSWITCH Sites
> http://www.freeswitch.org
> http://wiki.freeswitch.org
> http://www.cluecon.com
>
> FreeSWITCH-users mailing list
> FreeSWITCH-users at lists.freeswitch.org
> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
> http://www.freeswitch.org
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20130206/16ad3448/attachment.html 


Join us at ClueCon 2011 Aug 9-11, 2011
More information about the FreeSWITCH-users mailing list