[FreeSWITCH changes Session limits to lower numbers]
Hi Users, I am actually doing some stress testing with FreeSWITCH version 1.10. I have set session limit to 1000 and just sending 2CPS but when calls go beyond around 200, it shows me below log and lowers the session limit. Artoo reduces the max sessions to 234 thus, saving the switch from certain doom. 2019-12-16 13:23:07.504847 [CRIT] switch_core_session.c:1818 LUKE'S VOICE: Artoo, see what you can do with it. Hang on back there.... It's 8core 32GB physical machine, and the only change in my FS is that i am using mod_avmd to detect beep. Now what i am really looking for is, if i can disable this behaviour of FreeSWITCH, As it automatically lowers the Session limit to 200-300 range.(which is very low, even if the switch can handle say 500 calls later, it will remain 200-300 sessions). Regards Abbasi
Hello Bilal, It also happened to me in the past, but I was trying to run more then 4k sessions. It happens because Freeswitch cannot open more threads. I followed the blog belog and it helped me when I had this issue. Basically I set the ulimit -s to 16384 and worked fine. Not it's running 8k sessions with no problem. https://dustycodes.wordpress.com/2012/02/09/increasing-number-of-threads-per... Regards, Em ter., 17 de dez. de 2019 às 05:56, Bilal Abbasi <bilaln018@gmail.com> escreveu:
Hi Users, I am actually doing some stress testing with FreeSWITCH version 1.10. I have set session limit to 1000 and just sending 2CPS but when calls go beyond around 200, it shows me below log and lowers the session limit.
Artoo reduces the max sessions to 234 thus, saving the switch from certain doom. 2019-12-16 13:23:07.504847 [CRIT] switch_core_session.c:1818 LUKE'S VOICE: Artoo, see what you can do with it. Hang on back there....
It's 8core 32GB physical machine, and the only change in my FS is that i am using mod_avmd to detect beep. Now what i am really looking for is, if i can disable this behaviour of FreeSWITCH, As it automatically lowers the Session limit to 200-300 range.(which is very low, even if the switch can handle say 500 calls later, it will remain 200-300 sessions).
Regards Abbasi
_________________________________________________________________________
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
-- *Carlos E. Wagner* *Tecnólogo em Telecomunicações, OCP, dCAA* *E-mail:* *kaduww@gmail.com <kaduww@gmail.com>* *Fone:* +55 48 9981-0894 *Skype:* carlos.e.wagner www.blogdovoip.com
You can't and don't want to disable this behavior. It's an internal safeguard to make sure FS is able to reliably create threads. Somewhere there is a hardware or os setting limitation <https://freeswitch.org/confluence/display/FREESWITCH/Performance+Testing+and+Configurations#PerformanceTestingandConfigurations-RecommendedULIMITsettings> (or both) that is preventing FS from creating threads. If you can fix that you sh be able to create more sessions On Tue, Dec 17, 2019 at 2:26 PM Bilal Abbasi <bilaln018@gmail.com> wrote:
Hi Users, I am actually doing some stress testing with FreeSWITCH version 1.10. I have set session limit to 1000 and just sending 2CPS but when calls go beyond around 200, it shows me below log and lowers the session limit.
Artoo reduces the max sessions to 234 thus, saving the switch from certain doom. 2019-12-16 13:23:07.504847 [CRIT] switch_core_session.c:1818 LUKE'S VOICE: Artoo, see what you can do with it. Hang on back there....
It's 8core 32GB physical machine, and the only change in my FS is that i am using mod_avmd to detect beep. Now what i am really looking for is, if i can disable this behaviour of FreeSWITCH, As it automatically lowers the Session limit to 200-300 range.(which is very low, even if the switch can handle say 500 calls later, it will remain 200-300 sessions).
Regards Abbasi
_________________________________________________________________________
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
participants (3)
-
Bilal Abbasi
-
Carlos Eduardo
-
Neil Patel