[Freeswitch-users] Speeding up FreeSWITCH load time

TTT lists at telium.io
Wed Jul 13 16:31:57 UTC 2022


I checked with “ps ax” and confirmed -nonat is running.  But I’ll investigate further using strace, and reload of pieces of the config., to see where the time is going.

 

I’m using HAfs (https://telium.io/hafs) to do the clustering (sensing, control, failover, syncing, IP movement, etc) and that works well, I just want to speed up the FreeSWITCH recovery speed.

 

Thanks

 

From: FreeSWITCH-users [mailto:freeswitch-users-bounces at lists.freeswitch.org] On Behalf Of Ken Rice
Sent: Tuesday, July 12, 2022 9:05 PM
To: FreeSWITCH Users Help <freeswitch-users at lists.freeswitch.org>
Subject: Re: [Freeswitch-users] Speeding up FreeSWITCH load time

 

are you sure -nonat is taking effect? thats about the only thing that would take any tome getting freeswitch startes up. without -nonat it takes many seconds for  upnp/nat-pmp to timeout. 

 

the only other way to avoid media loss is to do a full HA setup with proper  floating IP and fencing. theres agoos bit of info on this on the wiki and various places on the web

Sent from my iPhone





On Jul 12, 2022, at 08:21, TTT <lists at telium.io <mailto:lists at telium.io> > wrote:



I’m looking at a crash recovery scenario, and during this startup period the calls in progress have no audio.  (And input media bypass is not an option due to topology)

 

From: FreeSWITCH-users [mailto:freeswitch-users-bounces at lists.freeswitch.org] On Behalf Of Gregor Nanger
Sent: Tuesday, July 12, 2022 8:58 AM
To: FreeSWITCH Users Help <freeswitch-users at lists.freeswitch.org <mailto:freeswitch-users at lists.freeswitch.org> >
Subject: Re: [Freeswitch-users] Speeding up FreeSWITCH load time

 

Just for info. Why is this a problem.

 

On Tue, 12 Jul 2022, 14:54 TTT, <lists at telium.io <mailto:lists at telium.io> > wrote:

I found that the FreeSWITCH systemd service file already contains a –nonat option.  Maybe my expectations are out of line, should it take 10 seconds for FreeSWITCH to fully start?  My experience is with Asterisk, which is less than half of that to start.

 

If that’s normal, how can I diagnose what is consuming the start time?

 

Thanks

 

 

 

From: FreeSWITCH-users [mailto:freeswitch-users-bounces at lists.freeswitch.org <mailto:freeswitch-users-bounces at lists.freeswitch.org> ] On Behalf Of Avi Marcus
Sent: Monday, July 11, 2022 3:17 AM
To: FreeSWITCH Users Help <freeswitch-users at lists.freeswitch.org <mailto:freeswitch-users at lists.freeswitch.org> >
Subject: Re: [Freeswitch-users] Speeding up FreeSWITCH load time

 

It's probably taking time to discover NAT.

If you have a direct public IP and don't require NAT, you can instruct freeswitch to skip this step:

 

>To turn it off use "-nonat" to start freeswitch. If you still prefer to have NAT detection, but avoiding the port mapping using UPnP/NAT-PMP you can use "-nonatmap".

via: https://freeswitch.org/confluence/display/FREESWITCH/Auto+Nat




-Avi Marcus

 

 

On Mon, Jul 11, 2022 at 4:48 AM TTT <lists at telium.io <mailto:lists at telium.io> > wrote:

Is there a guide on how to speed FS loading times?  FS takes 10+ seconds to start which seems long (for a very simple configuration).

_________________________________________________________________________

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 <mailto: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 <mailto: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

_________________________________________________________________________

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 <mailto: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 <mailto: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

_________________________________________________________________________

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 <mailto: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 <mailto: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/20220713/7ea2bbc7/attachment-0001.html>


More information about the FreeSWITCH-users mailing list