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

Brian West brian at freeswitch.org
Mon Sep 21 18:24:50 MSD 2015


What kind of hardware are you running on and what does the signaling say?
The ultimate truth as to what is going on will be in the logs, FreeSWITCH
is rather chatty when debug mode is on. :)

/b


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

> 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
>
>
> _________________________________________________________________________
> 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
>



-- 

*Brian West*
brian at freeswitch.org


*Twitter: @FreeSWITCH , @briankwest*
http://www.freeswitchbook.com
http://www.freeswitchcookbook.com

Got Bugs? Report them here <https://freeswitch.org/jira>! | Reddit:
/r/freeswitch <https://www.reddit.com/r/freeswitch>

*T:*+19184209001 | *F:*+19184209002 | *M:*+1918424WEST (9378)
*iNUM:*+883 5100 1420 9001 | *ISN:*410*543 | *Skype:*briankwest
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20150921/98871d6f/attachment.html 


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