[Freeswitch-users] mod_xml_radius concurrency problem

Ahmed Sboor ahmed at netelsat.net
Fri Mar 7 18:21:12 MSK 2014


Hi,
i am not sure how Freeradius server works but seems problem is with server
. as with mox_xml_radius we are doing 1000+ calls with media and have gone
upto 5000+ calls without rtp and never ever had issue with Radius server
and mod_xml_radius communication . They work perfect .
so may be some config issue or definitely freeradius issue .




On Fri, Mar 7, 2014 at 8:07 PM, Ričardas Stoma <ricardas.stoma at gmail.com>wrote:

> I'm using mod_xml_radius module to do radius authentication and
> accounting. When doing stress test (using sipp), i noticed that EVERY time
> when the number of concurrent calls reached exactly 245, authentications
> started to fail.
>
> From the logs, i see these errors appearing after 245 calls: freeswitch:
> rc_send_server: no reply from RADIUS server localhost.localdomain:1812,
> 127.0.0.1
>
> FreeSwitch and FreeRadius are communicating over localhost. I'm using 3
> servers to do this stress test. First server generates calls, seconds
> server does freeswitch + freeradius stuff and third servers is used for
> terminating calls. Calls are generated with RTP stream.
>
> Wireshark shows that freeradius is sending correct responses to every
> mod_xml_radius request, but after 245 calls, responses do not reach
> destination (i see error messages "destination port is unreachable").
>
> When the number of concurrent calls drops below 245, new calls are
> authenticated correctly (until it reaches that weird 245 limit).
>
> I'm using CentOS 6 (64 bit)
>
> Does anyone know why i'm getting this weird limitation? Is this related to
> freeswitch? freeradius server? mod_xml_radius? freeradius-client? linux?
>
> _________________________________________________________________________
> Professional FreeSWITCH Consulting Services:
> consulting at freeswitch.org
> http://www.freeswitchsolutions.com
>
> 
> 
>
> Official FreeSWITCH Sites
> http://www.freeswitch.org
> http://wiki.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
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20140307/4870c637/attachment-0001.html 


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