[Freeswitch-users] Internal Interface suddenly freezes

David Villasmil david.villasmil.work at gmail.com
Mon Mar 29 21:57:32 UTC 2021


That was going to be my next question: what’s lua doing and at what point?

On Mon, 29 Mar 2021 at 16:09, Stefan Kainz <s.kainz at wnt.at> wrote:

> I just found an issue on jira, where it seems someone had the same problem
> I have.
>
> https://freeswitch.org/jira/browse/FS-3328
>
> I don’t have mod_xml_curl enabled though.
>
>
>
> But knowing that sofia can handle only one register at a time and then
> blocking all subsequent Registers is a good starting point …
>
>
>
> Regards,
>
>
>
> *Von:* FreeSWITCH-users <freeswitch-users-bounces at lists.freeswitch.org> *Im
> Auftrag von *Bote Man
> *Gesendet:* Montag, 29. März 2021 15:45
> *An:* 'FreeSWITCH Users Help' <freeswitch-users at lists.freeswitch.org>
> *Betreff:* Re: [Freeswitch-users] Internal Interface suddenly freezes
>
>
>
> The one common element is your Lua script.
>
>
>
> I am certainly no expert on script writing, but I have seen a number of
> problems on the mailing list over the years with scripts doing “too much”
> work during critical sections of the dialplan. Perhaps there is a race
> condition?
>
>
>
> Hope this helps.
>
>
>
>
>
> ---
>
> John Boteler
>
> BnC Group U.S.A.
>
>
>
>
>
>
>
> *From:* FreeSWITCH-users <freeswitch-users-bounces at lists.freeswitch.org> *On
> Behalf Of *Stefan Kainz
> *Sent:* Monday, 29 March, 2021 07:49
> *To:* FreeSWITCH Users Help <freeswitch-users at lists.freeswitch.org>
> *Subject:* Re: [Freeswitch-users] Internal Interface suddenly freezes
>
>
>
> Thank you for your answer!
>
>
>
> Hmm, I also tested it on two completely different servers ( no
> virtualization ) and the problem exists on both.
>
> Im also going to try it on a third server, also completely different, but
> I cant really image that this is a hardware-thing …
>
>
>
> We also have many freeswitch servers in production ( Exactly the same
> hardware as the server with the problem ).
>
> The only difference is that one of those servers handles registrations,
> and one doesn’t.
>
> The one handling the registrations has the problem, the other one doesn’t.
>
>
>
> Its really strange …
>
>
>
> Regards,
>
>
>
> *Von:* FreeSWITCH-users <freeswitch-users-bounces at lists.freeswitch.org> *Im
> Auftrag von *David Villasmil
> *Gesendet:* Montag, 29. März 2021 13:12
> *An:* FreeSWITCH Users Help <freeswitch-users at lists.freeswitch.org>
> *Betreff:* Re: [Freeswitch-users] Internal Interface suddenly freezes
>
>
>
> That looks to be more on the hardware side than software. It’d be an
> extremely coincidence those versions and all those OS have some issue
> somewhere.
>
> Change hardware.
>
>
>
> On Sun, 28 Mar 2021 at 09:12, Stefan Kainz <s.kainz at wnt.at> wrote:
>
> Hi everbody,
>
> I have a little bit of a problem.
> Im using Version 1.10.3. ( but this problem also occurs on version 1.4.18 )
>
> Sometimes the internal Sofia interface just stops responding to SIP
> Requests.
> It sometimes happens once every day, and sometimes once a week.
> It happens at completely random times, like one day in the morning, and
> the next day in the middle of the night.
> The freeswitch.log gives me nothing, its like the Sofia interface was
> stopped.
>
> When I try to restart the interface with "sofia profile internal restart”
> nothing happens. The fs_cli just remains stuck with that command.
>
> The solution is to restart the freeswitch service.
>
> Sometimes when I recognise it too late, for example in the middle of the
> night, it seems like the problem solves itself after about 2 hours.
> The profile just starts working again, without somebody doing anything.
>
> I have checked a variety of things, including the firewall & fail2ban,
> network connection, made sure watchdog is disabled, and also tested it on
> different Debian-versions and freeswitch versions.
> It seems this problem occurs on every freeswitch version i have tested.
>
> The external-profile on the other hand, keeps working like nothing
> happened.
>
> Both Interfaces listen on the same network-device with a public ip.
> The only difference is, the internal profile uses a Lua file to handle
> registrations.
>
> Has anybody come across anything similar?
>
> Any help is much appreciated!
>
> Regards,
>
> _________________________________________________________________________
>
> The FreeSWITCH project is sponsored by SignalWire https://signalwire.com
> Enhance your FreeSWITCH install with disruptive priced SMS and PSTN
> services.
> Build your next product on our scalable cloud platform.
>
> Join our online community to chat in real time
> https://signalwire.community
>
> 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
>
> --
>
> Regards,
>
>
>
> David Villasmil
>
> email: david.villasmil.work at gmail.com
>
> phone: +34669448337
> _________________________________________________________________________
>
> The FreeSWITCH project is sponsored by SignalWire https://signalwire.com
> Enhance your FreeSWITCH install with disruptive priced SMS and PSTN
> services.
> Build your next product on our scalable cloud platform.
>
> Join our online community to chat in real time
> https://signalwire.community
>
> 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

-- 
Regards,

David Villasmil
email: david.villasmil.work at gmail.com
phone: +34669448337
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20210329/232c79a5/attachment-0001.html>


More information about the FreeSWITCH-users mailing list