[OpenSIPS-Users] rl_check some pipe are missing.
Răzvan Crainea
razvan at opensips.org
Mon Sep 28 07:39:12 EST 2020
Hi, Alain!
One thing that I can think of is that the commands you are running (both
from script and from MI) are not atomic - this means that from the time
you run rl_list, until the time the last one gets executed, new pipes
might appear/disappear. So it is almost impossible to get an accurate
"snapshot".
I don't have other ideas, but it's worth taking this into account.
Best regards,
Răzvan Crainea
OpenSIPS Core Developer
http://www.opensips-solutions.com
On 9/23/20 10:47 AM, Alain Bieuzent wrote:
> Hello all,
>
> Do we need more info ?
>
> Someone can help me ?
>
> Thanks
>
> *De : *Users <users-bounces at lists.opensips.org> au nom de Alain Bieuzent
> <alain.bieuzent at free.fr>
> *Répondre à : *OpenSIPS users mailling list <users at lists.opensips.org>
> *Date : *lundi 21 septembre 2020 à 10:18
> *À : *<users at lists.opensips.org>
> *Objet : *[OpenSIPS-Users] rl_check some pipe are missing.
>
> Hi All,
>
> We are using ratelimit module with opensips 3.0.3.
>
> Since we migrate from 2.4.7 to 3.0.3, the data export with opensips-cli
> are strange, there is some data missing.
>
> For example we put this rl_check at the same part of the code (to
> exclude an issue with $avp(cps), with add 2 more check with a fix value)
>
> rl_check("IP-$si", $(avp(cps){s.int}), "TAILDROP");
>
> rl_check("IP2-$si",9999 , "TAILDROP");
>
> rl_check("IP3-$si",10000 , "TAILDROP");
>
> when we export the value with opensips cli, we don’t have the same
> number of pipe :
>
> opensips-cli -x mi rl_list | grep IP- | wc -l && opensips-cli -x mi
> rl_list | grep IP2- | wc -l && opensips-cli -x mi rl_list | grep IP3- |
> wc -l
>
> 111
>
> 121
>
> 145
>
> Any idea ?
>
> Thanks
>
> _______________________________________________ Users mailing list
> Users at lists.opensips.org
> http://lists.opensips.org/cgi-bin/mailman/listinfo/users
>
>
> _______________________________________________
> Users mailing list
> Users at lists.opensips.org
> http://lists.opensips.org/cgi-bin/mailman/listinfo/users
>
More information about the Users
mailing list