[Freeswitch-users] Internal Sofia Hang

Amit Nakum amit.nakum2009 at gmail.com
Mon Apr 15 11:16:50 UTC 2019


Dear Team,

My internal sofia get hang.I try sofia configuration with sqlite as well as
mysql but same result.

current scenario is as per below.

I am using Freeswitch 1.8.5 64  in Server version: 5.5.60-MariaDB  Server.
I am facing strange issue, internal sofia stop processing incoming calls,
during this time I can see incoming sip packets which reach to network
using ngrep command but sofia is not responding to any sip message.

After restarting sofia its start processing again, and after few hour
again  it stop process sip message.

I am using mysql only for directory and core thru crul. Its simple SIP to
SIP call. no other database operation like cdr insertion etc.

Server configuraton is below.

I have install freeswitch 1.8.5.5 on centos7 on vpsdime cloud server.

Here is output of uname -a " Linux  3.10.0-957.5.1.el7.x86_64 #1 SMP Fri
Feb 1 14:54:57 UTC 2019 x86_64 x86_64 x86_64 GNU/Linux"

output of sed '/^$/!H;/^$/x;$!d' /proc/cpuinfo
processor       : 7
vendor_id       : GenuineIntel
cpu family      : 6
model           : 62
model name      : Intel(R) Xeon(R) CPU E5-2690 v2 @ 3.00GHz
stepping        : 4
microcode       : 0x1
cpu MHz         : 2999.998
cache size      : 16384 KB
physical id     : 0
siblings        : 8
core id         : 7
cpu cores       : 8
apicid          : 7
initial apicid  : 7
fpu             : yes
fpu_exception   : yes
cpuid level     : 13
wp              : yes
flags           : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca
cmov pat pse36 clflush mmx fxsr sse sse2 ss ht syscall nx pdpe1gb rdtscp lm
constant_tsc arch_perfmon rep_good
nopl xtopology eagerfpu pni pclmulqdq ssse3 cx16 pcid sse4_1 sse4_2 x2apic
popcnt tsc_deadline_timer aes xsave avx f16c rdrand hypervisor lahf_lm
fsgsbase tsc_adjust smep erms xsaveopt a
rat
bogomips        : 5999.99
clflush size    : 64
cache_alignment : 64
address sizes   : 40 bits physical, 48 bits virtual
power management

free -g
             total        used        free      shared  buff/cache
 available
Mem:             31           0          22           1           7
  28
Swap:             1           0           1


Concurrent calls :30

Please help to resolved.


On Sun, Apr 14, 2019 at 4:22 AM Brian West <brian at freeswitch.com> wrote:

> Contact coreteam at freeswitch.org
>
> /b
>
> On Sat, Apr 13, 2019 at 15:29 Amit Nakum <amit.nakum2009 at gmail.com> wrote:
>
>> Hello Team,
>>
>> Earlier we have same issue in sqlite so i decide to switch to mysql but
>> same issue i face with mysql.
>>
>> I dont think postgres will solved this issue.
>>
>> Please guide other solution and how to debug this issue more.
>>
>>
>> On Tue, Apr 9, 2019 at 8:56 AM Alexey Sibyakin <alex at freeswitch.com>
>> wrote:
>>
>>> Hello,
>>>
>>> Short answer: use Postgres, MySQL/MariaDB is known to have deadlocks in
>>> threaded workloads.
>>>
>>> Regards,
>>>
>>> Alex
>>>
>>> Alex Sibyakin | Support Engineer SignalWire | 228 Hamilton Ave 3rd
>>> Floor, Palo Alto, CA 94303
>>> <https://maps.google.com/?q=228+Hamilton+Ave+3rd+Floor,+Palo+Alto,+CA+94303&entry=gmail&source=g>
>>> Email: alex at freeswitch.com Website: https://www.signalwire.com
>>>
>>>
>>>
>>> On Tue, Apr 9, 2019 at 6:53 AM Amit Nakum <amit.nakum2009 at gmail.com>
>>> wrote:
>>>
>>>> Hello Team,
>>>>
>>>> You must be a member of this list to send messages to the list.
>>>>
>>>>
>>>>
>>>>
>>>> Dear Team,
>>>>
>>>> I am using Freeswitch 1.8.5 64  in Server version: 5.5.60-MariaDB
>>>> Server. I am facing strange issue, internal sofia stop processing incoming
>>>> calls, during this time I can see incoming sip packets which reach to
>>>> network using ngrep command but sofia is not responding to any sip message.
>>>>
>>>> After restarting sofia its start processing again and after few
>>>> houragain  it stop process sip message.
>>>>
>>>> We have install freeswitch 1.5.5 on centos7 on vpsdime cloud server.
>>>>
>>>> Here is output of uname -a " Linux  3.10.0-957.5.1.el7.x86_64 #1 SMP
>>>> Fri Feb 1 14:54:57 UTC 2019 x86_64 x86_64 x86_64 GNU/Linux"
>>>>
>>>> output of sed '/^$/!H;/^$/x;$!d' /proc/cpuinfo
>>>> processor       : 7
>>>> vendor_id       : GenuineIntel
>>>> cpu family      : 6
>>>> model           : 62
>>>> model name      : Intel(R) Xeon(R) CPU E5-2690 v2 @ 3.00GHz
>>>> stepping        : 4
>>>> microcode       : 0x1
>>>> cpu MHz         : 2999.998
>>>> cache size      : 16384 KB
>>>> physical id     : 0
>>>> siblings        : 8
>>>> core id         : 7
>>>> cpu cores       : 8
>>>> apicid          : 7
>>>> initial apicid  : 7
>>>> fpu             : yes
>>>> fpu_exception   : yes
>>>> cpuid level     : 13
>>>> wp              : yes
>>>> flags           : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge
>>>> mca cmov pat pse36 clflush mmx fxsr sse sse2 ss ht syscall nx pdpe1gb
>>>> rdtscp lm constant_tsc arch_perfmon rep_good
>>>> nopl xtopology eagerfpu pni pclmulqdq ssse3 cx16 pcid sse4_1 sse4_2
>>>> x2apic popcnt tsc_deadline_timer aes xsave avx f16c rdrand hypervisor
>>>> lahf_lm fsgsbase tsc_adjust smep erms xsaveopt a
>>>> rat
>>>> bogomips        : 5999.99
>>>> clflush size    : 64
>>>> cache_alignment : 64
>>>> address sizes   : 40 bits physical, 48 bits virtual
>>>> power management
>>>>
>>>> free -g
>>>>              total        used        free      shared  buff/cache
>>>>  available
>>>> Mem:             31           0          22           1           7
>>>>       28
>>>> Swap:             1           0           1
>>>>
>>>>
>>>> Concurrent calls :30
>>>>
>>>> Please help to resolved.
>>>>
>>>>
>>>>
>>>>
>>>> _________________________________________________________________________
>>>> Professional FreeSWITCH Services
>>>> sales at freeswitch.com
>>>> https://freeswitch.com
>>>>
>>>> Official FreeSWITCH Sites
>>>> https://freeswitch.com/oss
>>>> https://freeswitch.org/confluence
>>>> https://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
>>>> https://freeswitch.com
>>>
>>> _________________________________________________________________________
>>> Professional FreeSWITCH Services
>>> sales at freeswitch.com
>>> https://freeswitch.com
>>>
>>> Official FreeSWITCH Sites
>>> https://freeswitch.com/oss
>>> https://freeswitch.org/confluence
>>> https://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
>>> https://freeswitch.com
>>
>> _________________________________________________________________________
>> Professional FreeSWITCH Services
>> sales at freeswitch.com
>> https://freeswitch.com
>>
>> Official FreeSWITCH Sites
>> https://freeswitch.com/oss
>> https://freeswitch.org/confluence
>> https://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
>> https://freeswitch.com
>
> --
>
> Brian West | Co-founder and Developer
>
> Need Commercial support? email sales at freeswitch.com
>
> FreeSWITCH Solutions | 17345 Civic Drive #2531 Brookfield, WI 53045
> <https://maps.google.com/?q=17345+Civic+Drive+%232531+Brookfield,+WI+53045&entry=gmail&source=g>
>
> Email: brian at freeswitch.com
>
> Mobile: 918-424-9378
>
> Website: https://www.FreeSWITCH.com <https://www.freeswitch.com/>
>
> [image: https://www.facebook.com/signalwireinc?src=email]
> <https://www.facebook.com/freeswitch> [image:
> https://twitter.com/freeswitch] <https://twitter.com/freeswitch>
> _________________________________________________________________________
> Professional FreeSWITCH Services
> sales at freeswitch.com
> https://freeswitch.com
>
> Official FreeSWITCH Sites
> https://freeswitch.com/oss
> https://freeswitch.org/confluence
> https://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
> https://freeswitch.com
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20190415/9b4d727a/attachment-0001.html>


More information about the FreeSWITCH-users mailing list