[Spce-user] Speeding up rate-o-mate

Raúl Alexis Betancor Santana rabs at dimension-virtual.com
Mon Apr 18 14:09:23 EDT 2016


That perl line says 'set loop_interval as the value of ENV var RATEOMAT_LOOP_INTERVAL or 10 secs' 

But a 'route without rate' it's not a problem of decreasing the rating interval, it means you don't have rate's for that routes. 

Also, you don't need to restart the full server, if you whant, you could just restart rate-o-mat 

> De: "Marco Teixeira" <admin at marcoteixeira.com>
> Para: "Raúl Alexis Betancor Santana" <rabs at dimension-virtual.com>
> CC: spce-user at lists.sipwise.com
> Enviados: Lunes, 18 de Abril 2016 18:38:27
> Asunto: Re: [Spce-user] Speeding up rate-o-mate

> Hi Raúl,

> Yeap, i know... But what must be, must be... and now i need to sacrifice call
> performance to bring rating up to date, as it was stucked for a few days in a
> "route without rate"...
> I can't reboot the server, and a simple restart of the service, does not seem to
> work.

> Why ?

> I don't know perl... Is this line
> my $loop_interval = $ENV{RATEOMAT_LOOP_INTERVAL} ? int
> $ENV{RATEOMAT_LOOP_INTERVAL} : 10;
> setting a "no less then" 10 seconds ?

> Regards

> On Mon, Apr 18, 2016 at 5:43 PM, Raúl Alexis Betancor Santana <
> rabs at dimension-virtual.com > wrote:

>> It's not a good idea to lower that value, that will increase your server load.

>> If it's beause you whant to 'lock' subscribers that have reached their limits,
>> better to work with the prepaid engine.

>>> De: "Marco Teixeira" < admin at marcoteixeira.com >
>>> Para: spce-user at lists.sipwise.com
>>> Enviados: Lunes, 18 de Abril 2016 17:15:49
>>> Asunto: [Spce-user] Speeding up rate-o-mate

>>> Hi,

>>> Changed rateomate loop settings in config, from 10 to 2 sec.
>>> Ngcp-cfg apply, detected and regenerated the configs but still rating in 10 sec
>>> interval.
>>> How can i speed it up?

>>> Thkx
>>> _______________________________________________
>>> Spce-user mailing list
>>> Spce-user at lists.sipwise.com
>>> https://lists.sipwise.com/listinfo/spce-user

>> _______________________________________________
>> Spce-user mailing list
>> Spce-user at lists.sipwise.com
>> https://lists.sipwise.com/listinfo/spce-user
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.sipwise.com/pipermail/spce-user_lists.sipwise.com/attachments/20160418/23ac4665/attachment-0001.html>


More information about the Spce-user mailing list