[Freeswitch-users] FreeSWITCH dying with no core file

Andrew Cassidy andrew at cassidywebservices.co.uk
Thu Aug 2 12:36:16 MSD 2012


Thanks. Ok it doesn't sound related to my problem unfortunately :( I'll
have to persevere!

On 1 August 2012 17:04, Adam Johnston <ajohnston at blimessaging.com> wrote:

> Andrew,
>
> I loaded the core file into gdb and looked at the backtrace. It turns out
> that the problem was not in the FreeSWITCH code but rather in LuaSocket,
> and the error was thrown while I was caching fax results in a key-value
> store using a Lua script. My issue was very similar to this Jira:
> http://jira.freeswitch.org/browse/FS-2893. I recompiled LuaSocket with
> the FreeSWITCH includes and am hoping that fixes things.
>
> Adam
>
>
> On Wed, Aug 1, 2012 at 11:27 AM, Andrew Cassidy <
> andrew at cassidywebservices.co.uk> wrote:
>
>> Hi, what have you done with the core file?
>>
>> On 31 July 2012 21:16, Adam Johnston <ajohnston at blimessaging.com> wrote:
>>
>>> That did it. My sporadic crash happened again and, sure enough, there's
>>> a core file.
>>>
>>> Thanks again,
>>> Adam Johnston
>>>
>>>
>>> On Fri, Jul 27, 2012 at 4:59 PM, Stefan Knoblich <stkn at freeswitch.org>wrote:
>>>
>>>> -----BEGIN PGP SIGNED MESSAGE-----
>>>> Hash: SHA1
>>>>
>>>> On 07/27/12 21:34, Adam Johnston wrote:
>>>> > I use FreeSWITCH exclusively for high-volume fax, both sending and
>>>> receiving, and I've been running into a sporadic issue where the FreeSWITCH
>>>> process will die with nothing in the logs to
>>>> > indicate an issue and no core file anywhere on the system. I'm
>>>> setting "ulimit -c unlimited" in my init script, so I would expect to see a
>>>> core file. Version: FreeSWITCH Version
>>>> > 1.2.0-rc2+git~20120713T162602Z~0afd7318bd+unclean~20120713T182401Z
>>>>
>>>> You need to set /proc/sys/fs/suid_dumpable to a non-zero value (see man
>>>> 5 proc), to enable core dumping for processes
>>>> that switch their UID on startup (such as freeswitch with -u option).
>>>>
>>>> By default, the freeswitch process will try to put the core file into
>>>> the CWD (current work directory),
>>>> so make sure the UID it is running as can write there (or "cd" into a
>>>> different directory before starting it).
>>>> You might also want to check out man 5 core, for all the other options
>>>> (e.g. piping core dumps into a custom handler, with core_pattern).
>>>>
>>>> -----BEGIN PGP SIGNATURE-----
>>>> Version: GnuPG v2.0.19 (GNU/Linux)
>>>> Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/
>>>>
>>>> iEYEARECAAYFAlATASwACgkQjiIIAK4rYUrjvQCgh1grtcBfPVhbZNw8tdQpsyda
>>>> 614Amwb1pKDFL93dU33cy2wj1FNYYnzJ
>>>> =0Xqk
>>>> -----END PGP SIGNATURE-----
>>>>
>>>
>>>
>>> _________________________________________________________________________
>>> 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
>>>
>>> Join Us At ClueCon - Aug 7-9, 2012
>>>
>>> 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
>>>
>>>
>>
>>
>> --
>> *Andrew Cassidy BSc (Hons) MBCS SSCA*
>> Managing Director
>>
>>
>> *T <info at cassidywebservices.co.uk> *03300 100 960  *F<info at cassidywebservices.co.uk>
>>  *03300 100 961
>> *E <info at cassidywebservices.co.uk> *andrew at cassidywebservices.co.uk
>> *W <info at cassidywebservices.co.uk> *www.cassidywebservices.co.uk
>>
>>
>> _________________________________________________________________________
>> 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
>>
>> Join Us At ClueCon - Aug 7-9, 2012
>>
>> 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
>>
>>
>
> _________________________________________________________________________
> 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
>
> Join Us At ClueCon - Aug 7-9, 2012
>
> 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
>
>


-- 
*Andrew Cassidy BSc (Hons) MBCS SSCA*
Managing Director


*T <info at cassidywebservices.co.uk> *03300 100 960
*F<info at cassidywebservices.co.uk>
 *03300 100 961
*E <info at cassidywebservices.co.uk> *andrew at cassidywebservices.co.uk
*W <info at cassidywebservices.co.uk> *www.cassidywebservices.co.uk
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20120802/bb7b620b/attachment.html 


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