[Freeswitch-users] Sofia stops responding after a few days

Bipin Patel bipin at xbipin.com
Fri Jan 26 15:02:49 UTC 2018


hi,

im on the latest master but this has been happening since few months now 
and i almost checked all the modules and disabled everything other than 
xml_curl, sofia on tls which i use and its happening only on the sofia 
TLS profile
Happens every few days at random times

FreeSWITCH Version 1.9.0+git~20180119T195505Z~3f8585f636~64bit (git 
3f8585f 2018-01-19 19:55:05Z 64bit)


Regards,
Bipin


------------------------------------------------------------------------
-------- Original Message --------
Subject: Re: [Freeswitch-users] Sofia stops responding after a few days
From: Brian West <brian at freeswitch.com>
To: FreeSWITCH Users Help <freeswitch-users at lists.freeswitch.org>
Date: 1/26/2018, 6:53:56 PM
> Critical information needed, What FreeSWITCH Revision?
>
> /b
>
>
> On Fri, Jan 26, 2018 at 8:49 AM, Bipin Patel <bipin at xbipin.com 
> <mailto:bipin at xbipin.com>> wrote:
>
>     hi,
>
>     after trying a lot i still suffer the issue and when this happens
>     i see the below constantly flooding the cli
>
>     ..\..\sofia-sip\libsofia-sip-ua\tport\tport_type_tls.c:434
>     tport_tls_recv() tport_type_tls(00000006A25BB0C0): tls_read()
>     returned -1
>     ..\..\sofia-sip\libsofia-sip-ua\tport\tport.c:2864
>     tport_recv_event() tport_recv_event(00000006A25BB0C0)
>     ..\..\sofia-sip\libsofia-sip-ua\tport\tport_type_tls.c:434
>     tport_tls_recv() tport_type_tls(00000006A25BB0C0): tls_read()
>     returned -1
>     ..\..\sofia-sip\libsofia-sip-ua\tport\tport.c:2864
>     tport_recv_event() tport_recv_event(00000006A25BB0C0)
>     ..\..\sofia-sip\libsofia-sip-ua\tport\tport_type_tls.c:434
>     tport_tls_recv() tport_type_tls(00000006A25BB0C0): tls_read()
>     returned -1
>     ..\..\sofia-sip\libsofia-sip-ua\tport\tport.c:2864
>     tport_recv_event() tport_recv_event(00000006A25BB0C0)
>     ..\..\sofia-sip\libsofia-sip-ua\tport\tport_type_tls.c:434
>     tport_tls_recv() tport_type_tls(00000006A25BB0C0): tls_read()
>     returned -1
>     ..\..\sofia-sip\libsofia-sip-ua\tport\tport.c:2864
>     tport_recv_event() tport_recv_event(00000006A25BB0C0)
>     ..\..\sofia-sip\libsofia-sip-ua\tport\tport_type_tls.c:434
>     tport_tls_recv() tport_type_tls(00000006A25BB0C0): tls_read()
>     returned -1
>     ..\..\sofia-sip\libsofia-sip-ua\tport\tport.c:2864
>     tport_recv_event() tport_recv_event(00000006A25BB0C0)
>     ..\..\sofia-sip\libsofia-sip-ua\tport\tport_type_tls.c:434
>     tport_tls_recv() tport_type_tls(00000006A25BB0C0): tls_read()
>     returned -1
>
>
>     sorry for double posting, sent it to the wrong thread earlier
>
>     Regards,
>     Bipin
>
>
>     ------------------------------------------------------------------------
>     -------- Original Message --------
>     Subject: Re: [Freeswitch-users] Sofia stops responding after a few
>     days
>     From: Ryan Harris <ryharris at airmail.cc> <mailto:ryharris at airmail.cc>
>     To: freeswitch-users at lists.freeswitch.org
>     <mailto:freeswitch-users at lists.freeswitch.org>
>     Date: 12/22/2017, 8:55:42 PM
>>
>>     Hello,
>>
>>     This comment in the default sip_profiles/internal.xml has caught
>>     my eye in the past:
>>     https://freeswitch.org/stash/projects/FS/repos/freeswitch/browse/conf/vanilla/sip_profiles/internal.xml#63-82
>>     <https://freeswitch.org/stash/projects/FS/repos/freeswitch/browse/conf/vanilla/sip_profiles/internal.xml#63-82>
>>
>>     Maybe you can enable the watchdog and see if you can get a useful
>>     core dump.
>>
>>
>>     On 12/22/2017 10:09 AM, Bipin Patel wrote:
>>>
>>>     Hi,
>>>
>>>     Thanks for the reply but in my case the server already has 8gb
>>>     of ram and it's not at all busy and plus this instance of fs
>>>     hardly has less than 10 registrations at any given time.
>>>
>>>     On December 22, 2017 12:53:04 PM Miguel Jesús López Valverde
>>>     <mjlopez at smartic.es> <mailto:mjlopez at smartic.es> wrote:
>>>
>>>>     I had similar problems with FS installed under an Amazon EFS
>>>>     instance. When FS did not attend registration requests and
>>>>     executed the "sofia profile internal restart" command, it did
>>>>     not load the profile and it no longer appeared before the
>>>>     "sofia status" query.
>>>>
>>>>     I checked that this instance was short of ram memory and I
>>>>     changed the instance to a higher one with more memory. Since
>>>>     then I have not appreciated this problem again.
>>>>
>>>>     Receive a greeting.
>>>>
>>>>     *De:*FreeSWITCH-users
>>>>     [mailto:freeswitch-users-bounces at lists.freeswitch.org
>>>>     <mailto:freeswitch-users-bounces at lists.freeswitch.org>] *En
>>>>     nombre de *Bipin Patel
>>>>     *Enviado el:* viernes, 22 de diciembre de 2017 7:46
>>>>     *Para:* FreeSWITCH Users Help
>>>>     <freeswitch-users at lists.freeswitch.org>
>>>>     <mailto:freeswitch-users at lists.freeswitch.org>
>>>>     *Asunto:* [Freeswitch-users] Sofia stops responding after a few
>>>>     days
>>>>
>>>>     hi,
>>>>
>>>>     I have 2 instances of FS running on a single windows box, first
>>>>     instance uses normal sip UDP profiles mainly used for routing
>>>>     calls to carriers and its running as a service since a few
>>>>     months without any issues. The second instance runs a sip TLS
>>>>     profile and accepts inbound registrations and forwards calls in
>>>>     sip UDP ahead, it uses xml_curl for directory users but the
>>>>     problem is every 2-3 days the inbound TLS profile stops
>>>>     responding to registrations, and when that happens i cant even
>>>>     stop and restart the service, have to kill it and start again.
>>>>     FS_CLI works but doesnt show any error, at first i though it
>>>>     could be the xml_curl causing the issue but later realized it
>>>>     never sends any requests when sofia stops responding.
>>>>
>>>>     i have been banging my head from the past week or so but not
>>>>     able to find the cause, could any1 help in guiding me what to
>>>>     check when this happens so can find the root cause, im using
>>>>     commercial certs for TLS and when its running there r no issues
>>>>     other than sofia stops responding every few days, it happens at
>>>>     random times.
>>>>
>>>>     -- 
>>>>     Regards,
>>>>     Bipin
>>>>
>>>>     ------------------------------------------------------------------------
>>>>
>>>>     <https://www.avast.com/sig-email?utm_medium=email&utm_source=link&utm_campaign=sig-email&utm_content=emailclient>
>>>>     	Libre de virus. www.avast.com
>>>>     <https://www.avast.com/sig-email?utm_medium=email&utm_source=link&utm_campaign=sig-email&utm_content=emailclient>
>>>>
>>>>
>>>>     <#m_7793210244807471277_DAB4FAD8-2DD7-40BB-A1B8-4E2AA1F9FDF2>
>>>>     _________________________________________________________________________
>>>>     Professional FreeSWITCH Consulting Services:
>>>>     consulting at freeswitch.org <mailto:consulting%40freeswitch.org>
>>>>     http://www.freeswitchsolutions.com
>>>>     <http://www.freeswitchsolutions.com>
>>>>
>>>>     Official FreeSWITCH Sites
>>>>     http://www.freeswitch.org
>>>>     http://confluence.freeswitch.org <http://confluence.freeswitch.org>
>>>>     http://www.cluecon.com
>>>>
>>>>     FreeSWITCH-users mailing list
>>>>     FreeSWITCH-users at lists.freeswitch.org
>>>>     <mailto:FreeSWITCH-users%40lists.freeswitch.org>
>>>>     http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
>>>>     <http://lists.freeswitch.org/mailman/listinfo/freeswitch-users>
>>>>     UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
>>>>     <http://lists.freeswitch.org/mailman/options/freeswitch-users>
>>>>     http://www.freeswitch.org
>>>
>>>
>>>     _________________________________________________________________________
>>>     Professional FreeSWITCH Consulting Services:
>>>     consulting at freeswitch.org <mailto:consulting at freeswitch.org>
>>>     http://www.freeswitchsolutions.com
>>>     <http://www.freeswitchsolutions.com>
>>>
>>>     Official FreeSWITCH Sites
>>>     http://www.freeswitch.org
>>>     http://confluence.freeswitch.org <http://confluence.freeswitch.org>
>>>     http://www.cluecon.com
>>>
>>>     FreeSWITCH-users mailing list
>>>     FreeSWITCH-users at lists.freeswitch.org
>>>     <mailto:FreeSWITCH-users at lists.freeswitch.org>
>>>     http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
>>>     <http://lists.freeswitch.org/mailman/listinfo/freeswitch-users>
>>>     UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
>>>     <http://lists.freeswitch.org/mailman/options/freeswitch-users>
>>>     http://www.freeswitch.org
>>
>>
>>
>>     _________________________________________________________________________
>>     Professional FreeSWITCH Consulting Services:
>>     consulting at freeswitch.org <mailto:consulting at freeswitch.org>
>>     http://www.freeswitchsolutions.com
>>     <http://www.freeswitchsolutions.com>
>>
>>     Official FreeSWITCH Sites
>>     http://www.freeswitch.org
>>     http://confluence.freeswitch.org <http://confluence.freeswitch.org>
>>     http://www.cluecon.com
>>
>>     FreeSWITCH-users mailing list
>>     FreeSWITCH-users at lists.freeswitch.org
>>     <mailto:FreeSWITCH-users at lists.freeswitch.org>
>>     http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
>>     <http://lists.freeswitch.org/mailman/listinfo/freeswitch-users>
>>     UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
>>     <http://lists.freeswitch.org/mailman/options/freeswitch-users>
>>     http://www.freeswitch.org
>
>
>     _________________________________________________________________________
>     Professional FreeSWITCH Consulting Services:
>     consulting at freeswitch.org <mailto:consulting at freeswitch.org>
>     http://www.freeswitchsolutions.com
>     <http://www.freeswitchsolutions.com>
>
>     Official FreeSWITCH Sites
>     http://www.freeswitch.org
>     http://confluence.freeswitch.org <http://confluence.freeswitch.org>
>     http://www.cluecon.com
>
>     FreeSWITCH-users mailing list
>     FreeSWITCH-users at lists.freeswitch.org
>     <mailto:FreeSWITCH-users at lists.freeswitch.org>
>     http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
>     <http://lists.freeswitch.org/mailman/listinfo/freeswitch-users>
>     UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
>     <http://lists.freeswitch.org/mailman/options/freeswitch-users>
>     http://www.freeswitch.org
>
>
>
>
> -- 
>
> Brian West | Co-founder and Developer
>
> Need Commercial support? email sales at freeswitch.com 
> <mailto: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 <mailto:brian at freeswitch.com>
>
> Mobile: 918-424-9378
>
> Website: https://www.FreeSWITCH.com <https://www.freeswitch.com/>
>
> color-facebook-96.png 
> <https://www.facebook.com/freeswitch/>color-twitter-96.png 
> <https://twitter.com/freeswitch?ref_src=twsrc%5Egoogle%7Ctwcamp%5Eserp%7Ctwgr%5Eauthor>
>
>
>
> _________________________________________________________________________
> Professional FreeSWITCH Consulting Services:
> consulting at freeswitch.org
> http://www.freeswitchsolutions.com
>
> Official FreeSWITCH Sites
> http://www.freeswitch.org
> http://confluence.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/20180126/54b89998/attachment-0001.html>


More information about the FreeSWITCH-users mailing list