[Freeswitch-users] Mod_limit stuck when hitting limit value

Tamas Cseke cstomi.levlist at gmail.com
Thu Mar 12 09:06:57 PDT 2009


Hello,

we had the same problem. we couldn't test r12581 for sure yet, but we will.
This fix is only for the limit (db version), right?
Would be limit_hash a better choice to increase performance anyway?
Rod, do yoo have maybe experiences with limit_hash with your sipp?

Thanks in advance,
Tamas


Mathieu Rene írta:
> Were you doing transfers (action="transfer" in the dialplan) ?
>
> If yes, retry with revision 12581, and open a JIRA if it still is an  
> issue (also include a full debug log (delete your freeswitch.log file  
> before doing your test and attach it after) in your JIRA)
>
> Math
>
> On 12-Mar-09, at 10:12 AM, rod wrote:
>
>   
>> Hi list,
>>
>> I'm testing mod_limit like this:
>>        <action application="set" data="max_calls=60"/>
>>        <action application="set" data="GW_IP=10.10.20.100"/>
>>        <action application="limit" data="${AREA} ${GW_IP} $ 
>> {max_calls}"/>
>>
>> where AREA could be any value like: US/EUROPE/AFRICA... that has been
>> set for the call
>>
>> then I use sipp for load testing with 4 cps and max 65 calls so that I
>> will be limited by the limit of 60 in the dialplan.
>>
>> I use "limit_usage EUROPE 10.10.20.100" in cli and I see the limit  
>> value
>> growing up to 60.
>>
>> Sipp still tries to establish new call (up to 65 calls) at 4cps and  
>> for
>> each new cps in excess, FS sends a 503.
>> I wait for 10 seconds and stop sipp, but the limit value is never
>> decreasing even when there is no more channels used (show channels),  
>> the
>> limit value is stuck to 60.
>>
>>
>> If I limit Sipp to 55 calls (below the limit value), the limit value
>> increase and decrease depending on load, and the pbm doesn't appear.
>>
>> Does anybody is using mod_limit and have encountered the same pbm.
>>
>> I'm using latest svn: 12580.
>>
>> regards,
>> rod
>>
>>
>> _______________________________________________
>> 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
>>     
>
>
> _______________________________________________
> 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
>
>   





More information about the FreeSWITCH-users mailing list