[Freeswitch-users] RE - Internal Interface suddenly freezes

Rémi MARAND remi.marand at odigo.com
Mon May 24 17:24:10 UTC 2021


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 at odigo.com

De : FreeSWITCH-users <freeswitch-users-bounces at 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 at odigo.com<mailto:remi.marand at 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 at odigo.com<mailto:remi.marand at odigo.com>

De : FreeSWITCH-users <freeswitch-users-bounces at lists.freeswitch.org<mailto:freeswitch-users-bounces at lists.freeswitch.org>> De la part de Kakiman Expert
Envoyé : vendredi 30 avril 2021 15:34
À : freeswitch-users at lists.freeswitch.org<mailto:freeswitch-users at 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.com%2F&data=04%7C01%7Cremi.marand%40odigo.com%7Cc21cdf6907d44ea1c06e08d91ed10b06%7Cbfa2632f99e14088a16c21c08ca1b899%7C1%7C0%7C637574706286402341%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C2000&sdata=ErO5HUFeGleVriKJrfrE3SQScoR2S6OBfUUKoL2qcVA%3D&reserved=0>
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.community%2F&data=04%7C01%7Cremi.marand%40odigo.com%7Cc21cdf6907d44ea1c06e08d91ed10b06%7Cbfa2632f99e14088a16c21c08ca1b899%7C1%7C0%7C637574706286402341%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C2000&sdata=jRU2wmhkEvwEwtwjVIxH4toOG6VIthCuK%2BjzhciUVfI%3D&reserved=0>

Professional FreeSWITCH Services
sales at freeswitch.com<mailto:sales at freeswitch.com>
https://freeswitch.com<https://fra01.safelinks.protection.outlook.com/?url=https%3A%2F%2Ffreeswitch.com%2F&data=04%7C01%7Cremi.marand%40odigo.com%7Cc21cdf6907d44ea1c06e08d91ed10b06%7Cbfa2632f99e14088a16c21c08ca1b899%7C1%7C0%7C637574706286412328%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C2000&sdata=RYD0uGkENHaHeqlDEa8NkrCGIIjhYIt%2BjBx7B6aE0Tg%3D&reserved=0>

Official FreeSWITCH Sites
https://freeswitch.com/oss<https://fra01.safelinks.protection.outlook.com/?url=https%3A%2F%2Ffreeswitch.com%2Foss&data=04%7C01%7Cremi.marand%40odigo.com%7Cc21cdf6907d44ea1c06e08d91ed10b06%7Cbfa2632f99e14088a16c21c08ca1b899%7C1%7C0%7C637574706286412328%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C2000&sdata=dKk8OgjO19FQftLQZGY267%2Bn8SFVDv6411%2FE6N69k8c%3D&reserved=0>
https://freeswitch.org/confluence<https://fra01.safelinks.protection.outlook.com/?url=https%3A%2F%2Ffreeswitch.org%2Fconfluence&data=04%7C01%7Cremi.marand%40odigo.com%7Cc21cdf6907d44ea1c06e08d91ed10b06%7Cbfa2632f99e14088a16c21c08ca1b899%7C1%7C0%7C637574706286412328%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C2000&sdata=yZzlKf%2BS%2B0%2Fvxg2brQtqrP6X6CFiuJE0jjooYmXZv68%3D&reserved=0>
https://cluecon.com<https://fra01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fcluecon.com%2F&data=04%7C01%7Cremi.marand%40odigo.com%7Cc21cdf6907d44ea1c06e08d91ed10b06%7Cbfa2632f99e14088a16c21c08ca1b899%7C1%7C0%7C637574706286422330%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C2000&sdata=JCl9v%2BoOPxgNqztDNZs%2BFJSqi3Fei147g9PvqA1cCdQ%3D&reserved=0>

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<https://fra01.safelinks.protection.outlook.com/?url=http%3A%2F%2Flists.freeswitch.org%2Fmailman%2Flistinfo%2Ffreeswitch-users&data=04%7C01%7Cremi.marand%40odigo.com%7Cc21cdf6907d44ea1c06e08d91ed10b06%7Cbfa2632f99e14088a16c21c08ca1b899%7C1%7C0%7C637574706286422330%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C2000&sdata=JcyXvQPJSnYM9asaljtab8Z3eAqjTdq9OPUuy1aJ4eY%3D&reserved=0>
UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users<https://fra01.safelinks.protection.outlook.com/?url=http%3A%2F%2Flists.freeswitch.org%2Fmailman%2Foptions%2Ffreeswitch-users&data=04%7C01%7Cremi.marand%40odigo.com%7Cc21cdf6907d44ea1c06e08d91ed10b06%7Cbfa2632f99e14088a16c21c08ca1b899%7C1%7C0%7C637574706286432317%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C2000&sdata=djgd01UzDCV106iUxLZcTitp7MJXTWDqUek2iZK4p1s%3D&reserved=0>
https://freeswitch.com<https://fra01.safelinks.protection.outlook.com/?url=https%3A%2F%2Ffreeswitch.com%2F&data=04%7C01%7Cremi.marand%40odigo.com%7Cc21cdf6907d44ea1c06e08d91ed10b06%7Cbfa2632f99e14088a16c21c08ca1b899%7C1%7C0%7C637574706286432317%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C2000&sdata=K9o11zWXDu7VrNLwshZ3LKa4aVIOSjByioSrmuE3cow%3D&reserved=0>

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20210524/f4214fd2/attachment-0001.html>


More information about the FreeSWITCH-users mailing list