Hi All I have the same problem. Freeswitch stop responding every few hours (7 hours - 12 hours). Then a restart was required. I tired different hardwares(Server Motherboard, cpu, memory and disks) https://pastebin.freeswitch.org/view/dfbbab9e Server is idle and Lots of Memory https://imgur.com/a/4c3ZbRt *Environment* Freeswitch core database is postgres Freeswitch Configuration via xml_curl ( php,pdo,mysql) Freeswitch Dialplan ( lua, odbc, mysql) 300 Phones Registered Call volume is less than 10 calls per minute. Weekends not more than 10 calls per day. I do not think Freeswitch Dialplan ( lua, odbc, mysql) is a problem. I believe the issue is related to xml_curl ( php,pdo,mysql) and the registration Server has lots of resources. https://imgur.com/a/4c3ZbRt I upgraded from FreeSWITCH (Version 1.4.23 git 1665168 2015-10-01 18:31:59Z 64bit) is ready, to Debian 11, Freeswitch 1.10.X all the versions have the same issues. Can you please let me know the right direction to troubleshoot this issue? Thank you Lloyd On Thu, Nov 4, 2021 at 8:56 AM John Covici <covici@ccs.covici.com> wrote:
Those sound like profile parameters to me -- are you sure about where they go?
On Thu, 04 Nov 2021 05:58:07 -0400, Rémi MARAND wrote:
[1 <multipart/alternative (fr-FR) (7bit)>] [1.1 <text/plain; iso-8859-1 (quoted-printable)>] Hello,
We have upgraded to 1.10.6 and use mod_mariadb as advised.
Unfortunately, we still have these registrations stops. it is not
frequent and difficult to reproduce.
I would like to test the multi-thread registration as preconized, I
tried but there is no corresponding info in logs.
Should you confirm that the parameters : <param name="inbound-reg-in-new-thread" value="true"/> <param name="max-reg-threads" value="16"/> Must be inserted in the "global_settings" part of the sofia.conf.xml
file ??
How should I check the effective multithread registration process ??
Best regards.
Rémi Marand.
De : FreeSWITCH-users <freeswitch-users-bounces@lists.freeswitch.org> De la part de Stefan Kainz Envoyé : mardi 25 mai 2021 13:15 À : FreeSWITCH Users Help <freeswitch-users@lists.freeswitch.org> Objet : Re: [Freeswitch-users] RE - Internal Interface suddenly freezes
Thank you.
We will try 1.10.6 with mod_mariadb this week!
Thanks!
Von: FreeSWITCH-users <freeswitch-users-bounces@lists.freeswitch.org <mailto:freeswitch-users-bounces@lists.freeswitch.org>> Im Auftrag von Rémi MARAND Gesendet: Montag, 24. Mai 2021 19:24 An: FreeSWITCH Users Help <freeswitch-users@lists.freeswitch.org<mailto: freeswitch-users@lists.freeswitch.org>> Betreff: Re: [Freeswitch-users] RE - Internal Interface suddenly freezes
Hello,
Thank you for the various information about this incident on the userlist and github.
We are using Postgresql on Freeswitch server itself. The version of Freeswitch is 1.10.5-release-17-25569c1631~64bit On Debian 10.
I cannot reproduce the problem on our development environment with thousands of registrations and thousands of calls, for this reason I suspect some unexpected behavior of the web client, and I note that a few TCP connections: on wss:7443 remain after the Register they carry is completed. I am looking for a solution on the Freeswitch side to close them on inactivity timeout.
If we are successful in causing the problem, we will release the core as you recommend. As for the transition to version 1.10.6, this is a track that we will try.
Best Regards.
remi.marand@odigo.com<mailto:remi.marand@odigo.com>
De : FreeSWITCH-users <freeswitch-users-bounces@lists.freeswitch.org <mailto:freeswitch-users-bounces@lists.freeswitch.org>> De la part de Stefan Kainz Envoyé : lundi 24 mai 2021 17:42 À : FreeSWITCH Users Help Objet : Re: [Freeswitch-users] RE - Internal Interface suddenly freezes
Another one :)
At this point we have a script that restarts freeswitch every time this happens. We don't really have a solution for this so far, and are out of things to test ...
May I ask if you have an external interface in your setup? Does that interface freeze too? We have a external interface, and it looks like it doesn't happen to that one. We also have a third interface called "alternate_routing", which doesn't handle registrations or presence. Like the external interface it doesn't freeze.
Do you use Mariadb/ODBC for odbc-core?
Im hoping the GitHub-issue gets some attention soon. Maybe it helps if some of you also post a backtrace when this happens.
To your problem, can you confirm that this isn't some sort of SYN-Flood-Attack? Maybe check the IP's that are connected. I think its pretty easy to find out if those are real-users or hackers.
Regards,
On 22.05.2021, at 08:22, Rémi MARAND <remi.marand@odigo.com<mailto: remi.marand@odigo.com>> wrote:
Hello,
It seems we have the same problem, it doesn't happen often, but the Register part of internal profile does crash.
I observe that the number of connections established on the WSS port (7443) sometimes exceeds the number of active registrations. (netstat -tpa).. It could be really important (2 or 3 times the number of Registrations), it could of course be a software problem on the WebRTC (Front) client side.
Is there a way on the Freeswitch side in the configuration to disconnect TLS connections that are no longer registered? On timeout for example.
Best regards.
Rémi Marand. remi.marand@odigo.com<mailto:remi.marand@odigo.com>
De : FreeSWITCH-users <freeswitch-users-bounces@lists.freeswitch.org <mailto:freeswitch-users-bounces@lists.freeswitch.org>> De la part de Kakiman Expert Envoyé : vendredi 30 avril 2021 15:34 À : freeswitch-users@lists.freeswitch.org<mailto: freeswitch-users@lists.freeswitch.org> Objet : [Freeswitch-users] RE - Internal Interface suddenly freezes
hello
Did you find any solution to this issue ?
I am in production with 1.10.5 version and since a week, I have the same issue. The internal profile is out of service and registration is impossible.
and we don't have any answer to "sofia status profile internal" , the prompt in fs_cli keeps waiting.
the only way to solve is to restart freeswitch
thanks regards
_________________________________________________________________________
The FreeSWITCH project is sponsored by SignalWire https://signalwire.com < https://fra01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fsignalwire...
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< https://fra01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fsignalwire...
Professional FreeSWITCH Services sales@freeswitch.com<mailto:sales@freeswitch.com> https://freeswitch.com< https://fra01.safelinks.protection.outlook.com/?url=https%3A%2F%2Ffreeswitch...
Official FreeSWITCH Sites https://freeswitch.com/oss< https://fra01.safelinks.protection.outlook.com/?url=https%3A%2F%2Ffreeswitch...
https://freeswitch.org/confluence< https://fra01.safelinks.protection.outlook.com/?url=https%3A%2F%2Ffreeswitch...
https://cluecon.com< https://fra01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fcluecon.co...
FreeSWITCH-users mailing list FreeSWITCH-users@lists.freeswitch.org<mailto: FreeSWITCH-users@lists.freeswitch.org> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users< https://fra01.safelinks.protection.outlook.com/?url=http%3A%2F%2Flists.frees...
UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users < https://fra01.safelinks.protection.outlook.com/?url=http%3A%2F%2Flists.frees...
https://freeswitch.com< https://fra01.safelinks.protection.outlook.com/?url=https%3A%2F%2Ffreeswitch...
[1.2 <text/html; iso-8859-1 (quoted-printable)>] [2 <text/plain; utf-8 (base64)>] _________________________________________________________________________
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@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@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users https://freeswitch.com
-- Your life is like a penny. You're going to lose it. The question is: How do you spend it?
John Covici wb2una covici@ccs.covici.com
_________________________________________________________________________
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@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@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users https://freeswitch.com