Re: [OpenSIPS-Users] Qrouting : qr_reload --> invalid values with opensips-cli -x mi qr_reload
And for history_span = 60 minutes and for 10307 rules, it takes about 20G of shared memory. Le mer. 3 mars 2021 à 19:59, Abdoul Osséni a écrit : > Hi Chircu, > > Thank you for this fix. > > I notice qrouting module consumes a lot of memory (shared memory) in > proportion to the value of the "history_span" parameter. > For example, for history_span = 30 minutes and for 10307 rules, it takes > about 10G of shared memory. > > select count(*) from dr_rules where sort_alg = "Q"; > +--+ > | count(*) | > +--+ > |10307 | > +--+ > > Regards > Abdoul OSSENI > > Le mer. 3 mars 2021 à 18:58, Liviu Chircu a écrit : > >> On 03.03.2021 19:46, Liviu Chircu wrote: >> > Let's see what this is all about... >> >> Fixed [1] on both master and 3.1! >> >> [1]: https://github.com/OpenSIPS/opensips/commit/39e5dfd6d395 >> >> Cheers, >> >> -- >> Liviu Chircu >> www.twitter.com/liviuchircu | www.opensips-solutions.com >> >> >> ___ >> Users mailing list >> Users@lists.opensips.org >> http://lists.opensips.org/cgi-bin/mailman/listinfo/users >> > ___ Users mailing list Users@lists.opensips.org http://lists.opensips.org/cgi-bin/mailman/listinfo/users
Re: [OpenSIPS-Users] Qrouting : qr_reload --> invalid values with opensips-cli -x mi qr_reload
Hi Chircu, Thank you for this fix. I notice qrouting module consumes a lot of memory (shared memory) in proportion to the value of the "history_span" parameter. For example, for history_span = 30 minutes and for 10307 rules, it takes about 10G of shared memory. select count(*) from dr_rules where sort_alg = "Q"; +--+ | count(*) | +--+ |10307 | +--+ Regards Abdoul OSSENI Le mer. 3 mars 2021 à 18:58, Liviu Chircu a écrit : > On 03.03.2021 19:46, Liviu Chircu wrote: > > Let's see what this is all about... > > Fixed [1] on both master and 3.1! > > [1]: https://github.com/OpenSIPS/opensips/commit/39e5dfd6d395 > > Cheers, > > -- > Liviu Chircu > www.twitter.com/liviuchircu | www.opensips-solutions.com > > > ___ > Users mailing list > Users@lists.opensips.org > http://lists.opensips.org/cgi-bin/mailman/listinfo/users > ___ Users mailing list Users@lists.opensips.org http://lists.opensips.org/cgi-bin/mailman/listinfo/users
Re: [OpenSIPS-Users] Qrouting : qr_reload --> invalid values with opensips-cli -x mi qr_reload
On 03.03.2021 19:46, Liviu Chircu wrote: Let's see what this is all about... Fixed [1] on both master and 3.1! [1]: https://github.com/OpenSIPS/opensips/commit/39e5dfd6d395 Cheers, -- Liviu Chircu www.twitter.com/liviuchircu | www.opensips-solutions.com ___ Users mailing list Users@lists.opensips.org http://lists.opensips.org/cgi-bin/mailman/listinfo/users
Re: [OpenSIPS-Users] Qrouting : qr_reload --> invalid values with opensips-cli -x mi qr_reload
On 03.03.2021 15:39, Abdoul Osséni wrote: When I execute opensips-cli -x mi qr_reload, I got invalid value for all penalities: Mar 3 14:37:54 sd-68704 /usr/local/sbin/opensips[28847]: DBG:qrouting:qr_reload: qr_profile (1, QOS ROUTING) thresholds: [0.20 0.20 -1.00 -1.00 120.00] [0.10 0.10 -1.00 -1.00 30.00] Mar 3 14:37:54 sd-68704 /usr/local/sbin/opensips[28847]: DBG:qrouting:qr_reload: qr_profile (1, QOS ROUTING) penalties: [0.70 0.70 0.70 0.70 0.70] [0.10 0.10 0.10 0.10 0.10] Hey, Abdoul! Well... technically speaking, you're only getting an invalid value for 80% of penalties, not all of them! LOL The good news is that I replicated this bug on first try - I never realized it was there because I was always using identical penalties! Let's see what this is all about... Cheers, -- Liviu Chircu www.twitter.com/liviuchircu | www.opensips-solutions.com ___ Users mailing list Users@lists.opensips.org http://lists.opensips.org/cgi-bin/mailman/listinfo/users
[OpenSIPS-Users] Qrouting : qr_reload --> invalid values with opensips-cli -x mi qr_reload
Hello Team, opensips-cli -x mi qr_reload takes invalid values when changing default warn_penalty_xxx and crit_penalty_xxx. Examples: -> database values id: 1 profile_name: QOS ROUTING warn_threshold_asr: 0.2 warn_threshold_ccr: 0.2 warn_threshold_pdd: -1 warn_threshold_ast: -1 warn_threshold_acd: 120 crit_threshold_asr: 0.1 crit_threshold_ccr: 0.1 crit_threshold_pdd: -1 crit_threshold_ast: -1 crit_threshold_acd: 30 warn_penalty_asr: 0.7 warn_penalty_ccr: 0.5 warn_penalty_pdd: 0.5 warn_penalty_ast: 0.5 warn_penalty_acd: 0.5 crit_penalty_asr: 0.1 crit_penalty_ccr: 0.05 crit_penalty_pdd: 0.05 crit_penalty_ast: 0.05 crit_penalty_acd: 0.05 When I execute opensips-cli -x mi qr_reload, I got invalid value for all penalities: Mar 3 14:37:54 sd-68704 /usr/local/sbin/opensips[28847]: DBG:qrouting:qr_reload: qr_profile (1, QOS ROUTING) thresholds: [0.20 0.20 -1.00 -1.00 120.00] [0.10 0.10 -1.00 -1.00 30.00] Mar 3 14:37:54 sd-68704 /usr/local/sbin/opensips[28847]: DBG:qrouting:qr_reload: qr_profile (1, QOS ROUTING) penalties: [0.70 0.70 0.70 0.70 0.70] [0.10 0.10 0.10 0.10 0.10] Regards Abdoul. ___ Users mailing list Users@lists.opensips.org http://lists.opensips.org/cgi-bin/mailman/listinfo/users