[Freeswitch-users] freeswitch is hanging

Steven Ayre steveayre at gmail.com
Mon Mar 25 20:57:03 MSK 2013


Mar 21 15:44:21 VECTONE-CLOUDE kernel: libtdsodbc.so.0[17899]: segfault at
1 ip 0000000000000001 sp 00007fff7cfe4578 error 4 in libtdsodbc.so.0.0.0[
7f9ee56e0000+56000]

Mar 22 09:26:30 VECTONE-CLOUDE kernel: freeswitch[18652]: segfault at 20 ip
00007f9beebfd6a8 sp 00007f9bee7ad8a0 error 4 in
mod_lua.so[7f9beebd9000+50000]****

That is freeswitch crashing. It appears to be a crash a database access
using the FreeTDS ODBC driver. I suggest you upgrade to master's HEAD, and
if you get another crash collect a backtrace and file a Jira.

A segfault is always a bug. It may be in FreeSWITCH (and if so it may
already be fixed in master's HEAD) or it may exist in FreeTDS. I would
suggest you check whether any updates to FreeTDS are available too.

-Steve


On 25 March 2013 17:07, Archana Venugopan <a.venugopan at mundio.com> wrote:

>  Hi,****
>
> ** **
>
> I have found this error in /var/log/messages. Can you please let me know
> what this segmentation fault indicates? Many thanks.****
>
> **  fil**
>
> Mar 17 03:38:01 VECTONE-CLOUDE kernel: imklog 4.6.2, log source =
> /proc/kmsg started.****
>
> Mar 17 03:38:01 VECTONE-CLOUDE rsyslogd: [origin software="rsyslogd"
> swVersion="4.6.2" x-pid="1243" x-info="http://www.rsyslog.com"] (re)start*
> ***
>
> Mar 21 15:44:21 VECTONE-CLOUDE kernel: libtdsodbc.so.0[17899]: segfault at
> 1 ip 0000000000000001 sp 00007fff7cfe4578 error 4 in
> libtdsodbc.so.0.0.0[7f9ee56e0000+56000]****
>
> Mar 22 09:26:30 VECTONE-CLOUDE kernel: freeswitch[18652]: segfault at 20
> ip 00007f9beebfd6a8 sp 00007f9bee7ad8a0 error 4 in
> mod_lua.so[7f9beebd9000+50000]****
>
> Mar 24 03:12:01 VECTONE-CLOUDE rsyslogd: [origin software="rsyslogd"
> swVersion="4.6.2" x-pid="1243" x-info="http://www.rsyslog.com"] rsyslogd
> was HUPed, type 'restart'.****
>
> Mar 24 03:12:01 VECTONE-CLOUDE kernel: Kernel logging (proc) stopped.****
>
> ** **
>
> ** **
>
> *From:* Archana Venugopan
> *Sent:* 25 March 2013 16:08
> *To:* 'FreeSWITCH Users Help'
> *Subject:* RE: [Freeswitch-users] freeswitch is hanging****
>
> ** **
>
> Hi,****
>
>  ****
>
> No errors are there in logs. There are REGISTER messages continuously and
> after that I have got these thread messages.****
>
>  I tried giving commands in fs_cli but it hangs. If we re-start freeswitch
> once it hangs it will work properly. But again after few hours freeswitch
> it will hang. Not sure what is happening.****
>
> ** **
>
> Regards,****
>
> Archana****
>
> ** **
>
> *From:* freeswitch-users-bounces at lists.freeswitch.org [mailto:
> freeswitch-users-bounces at lists.freeswitch.org] *On Behalf Of *Ken Rice
> *Sent:* 25 March 2013 16:49
> *To:* FreeSWITCH Users Help
> *Subject:* Re: [Freeswitch-users] freeswitch is hanging****
>
> ** **
>
> The MSG Thread is not whats making it hang, its spawning more threads
> cause someone is trying to hammer your box... Are you sure you arent
> getting DoS’d with something like sipvicious?
>
>
>
> On 3/25/13 9:34 AM, "Archana Venugopan" <a.venugopan at mundio.com> wrote:
> ****
>
> Hi,
>
> At times freeswitch hangs inspite of freeswitch is running in background.
>  The version I am using is FreeSWITCH Version 1.2.3 (1.2.3). At the time of
> freeswitch hang I see below log messages. I feel that ‘MSG Thread’ is
> making it hang not sure though.
>
> 2013-03-25 15:16:00.194109 [WARNING] sofia_reg.c:1484 SIP auth challenge
> (REGISTER) on sofia profile 'internal' for [gcmjanssen1 at testcloud.com]
> from ip 86.83.240.9
> 2013-03-25 15:16:52.074111 [WARNING] switch_event.c:554 Create additional
> event dispatch thread 2
> 2013-03-25 15:16:52.374112 [WARNING] switch_event.c:554 Create additional
> event dispatch thread 3
> 2013-03-25 15:24:26.164449 [CONSOLE] sofia.c:1602 MSG Thread 2 Started
> 2013-03-25 15:24:26.164449 [CONSOLE] sofia.c:1602 MSG Thread 1 Started
> 2013-03-25 15:39:18.254110 [CONSOLE] sofia.c:1602 MSG Thread 3 Started
> 2013-03-25 15:39:18.254110 [CONSOLE] sofia.c:1602 MSG Thread 4 Started
>
> Can anyone please let me know why is it hanging at times and what can be
> done to resolve it? Many thanks
>
>
>  ****
>  ------------------------------
>
> _________________________________________________________________________
> 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****
>
>
> --
> Ken
> *http://www.FreeSWITCH.org
> http://www.ClueCon.com
> http://www.OSTAG.org
> *irc.freenode.net #freeswitch****
>
> _________________________________________________________________________
> 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/20130325/e70c6c83/attachment-0001.html 


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