[Freeswitch-users] Getting 503 Service Unavailable while enable record_session

bhavik patel bhavikpatel14388 at gmail.com
Mon Sep 21 13:08:47 MSD 2015


I did try to setup like ,

<param name="max-sessions" value="2000"/>
<param name="sessions-per-second" value="500"/>

Here:
*fs_cli -x"status"*
UP 0 years, 0 days, 1 hour, 59 minutes, 10 seconds, 738 milliseconds, 807
microseconds
FreeSWITCH (Version 1.4.21 git a223dd0 2015-09-01 20:26:22Z 64bit) is ready
155177 session(s) since startup
375 session(s) - peak 473, last 5min 464
30 session(s) per Sec out of max 500, peak 83, last 5min 66
2000 session(s) max
min idle cpu 0.00/36.30
Current Stack Size/Max 240K/8192K

But getting same result.
Any help will be appreciated.

On Mon, Sep 21, 2015 at 9:34 AM, bhavik patel <bhavikpatel14388 at gmail.com>
wrote:

> Thank you for reply.
>
> In my switch.conf.xml file have following setting.
>
> <param name="max-sessions" value="1000"/>
> <param name="sessions-per-second" value="30"/>
>
>
> What should be the proper value for this parameter for call recording.?
>
> In my server i have 100+ CC.
>
>  Please suggest here.
>
>
> On Sun, Sep 20, 2015 at 7:16 PM, Volodymyr Fedorov <lexxua at gmail.com>
> wrote:
>
>> In my setup Freeswitch handles up to simultaneous 210 recorded calls in
>> OpenVZ container.As mentioned above just adjust in
>> "/etc/freeswitch/autoload_configs/switch.conf.xml" values of variables:
>> "max-sessions" and "sessions-per-second".
>>
>>
>> On Sun, Sep 20, 2015 at 8:46 AM, Kamil Nigmatullin <
>> kamil.nigmatullin at gmail.com> wrote:
>>
>>> 30 calls limit is by default and can be configured according to your
>>> needs
>>> 20 сент. 2015 г. 0:14 пользователь "Stanislav Sinyagin" <
>>> ssinyagin at gmail.com> написал:
>>>
>>> Recording 100 simultaneous sessions shouldn't be a problem on a decent
>>>> baremetal server.
>>>>
>>>> Keep in mind that the default maximum is 30 calls per second, and you
>>>> may easily hit that limit in your tests.
>>>> On Sep 19, 2015 3:05 PM, "bhavik patel" <bhavikpatel14388 at gmail.com>
>>>> wrote:
>>>>
>>>>> Hi Guys,
>>>>>
>>>>> I am using record_session applications on one of my live server, which
>>>>> have 100 concurrent calls are running.
>>>>>
>>>>> When i enable using dialplan then calls are dropping and getting most
>>>>> of call "503 Service Unavilable", so it means record_session generating
>>>>> load on freeswitch.
>>>>>
>>>>> I am using FreeSWITCH Version
>>>>> 1.4.21+git~20150901T202622Z~a223dd0236~64bit (git a223dd0 2015-09-01
>>>>> 20:26:22Z 64bit).
>>>>>
>>>>> Can any one please suggest me is it bug of Freeswitch ?
>>>>>
>>>>> --
>>>>> Thanks,
>>>>> Bhavik Patel
>>>>>
>>>>>
>>>>>
>>>>> _________________________________________________________________________
>>>>> Professional FreeSWITCH Consulting Services:
>>>>> consulting at freeswitch.org
>>>>> http://www.freeswitchsolutions.com
>>>>>
>>>>> Official FreeSWITCH Sites
>>>>> http://www.freeswitch.org
>>>>> http://confluence.freeswitch.org
>>>>> http://www.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
>>>>> http://www.freeswitch.org
>>>>>
>>>>
>>>>
>>>> _________________________________________________________________________
>>>> Professional FreeSWITCH Consulting Services:
>>>> consulting at freeswitch.org
>>>> http://www.freeswitchsolutions.com
>>>>
>>>> Official FreeSWITCH Sites
>>>> http://www.freeswitch.org
>>>> http://confluence.freeswitch.org
>>>> http://www.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
>>>> http://www.freeswitch.org
>>>>
>>>
>>> _________________________________________________________________________
>>> Professional FreeSWITCH Consulting Services:
>>> consulting at freeswitch.org
>>> http://www.freeswitchsolutions.com
>>>
>>> Official FreeSWITCH Sites
>>> http://www.freeswitch.org
>>> http://confluence.freeswitch.org
>>> http://www.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
>>> http://www.freeswitch.org
>>>
>>
>>
>>
>> --
>> Best regards,
>> Volodymyr
>>
>> _________________________________________________________________________
>> Professional FreeSWITCH Consulting Services:
>> consulting at freeswitch.org
>> http://www.freeswitchsolutions.com
>>
>> Official FreeSWITCH Sites
>> http://www.freeswitch.org
>> http://confluence.freeswitch.org
>> http://www.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
>> http://www.freeswitch.org
>>
>
>
>
> --
> Thanks,
> Bhavik Patel
>
>


-- 
Thanks,
Bhavik Patel
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20150921/e6836e93/attachment.html 


Join us at ClueCon 2016 Aug 8-12, 2016
More information about the FreeSWITCH-users mailing list