Re: High volume ratelimit CPS

"Jon Bonilla (Manwe) via sr-users" <[email protected]>
Newsgroups gmane.comp.voip.ser
Message-ID <[email protected]>
El Mon, 8 Dec 2025 19:49:58 +0000
Ben Kaufman <[email protected]> escribió:

> I don't see how it could fail to be "fast enough", since $shtinc() is atomic.
>  In other words if you were running 600 children (theoretically, please don't
> actually set children to 600), the operation $var(cps) =
> $shtinc(caps=>$var(cps)) will only happen one at a time, all other processes
> will wait until it is free before they can change it.
>

Hi Ben

I really don't know. I remember adding a log because the destination was
complaining and the cps being sent was higher than the limit before the
rejections hit. 

I need to set a new box for another destination. I'll try to implement the same
solution and reproduce it.

__________________________________________________________
Kamailio - Users Mailing List - Non Commercial Discussions -- [email protected]
To unsubscribe send an email to [email protected]
Important: keep the mailing list in the recipients, do not reply only to the sender!
signature.asc (application/pgp-signature, 833 B)
-----BEGIN PGP SIGNATURE-----

iQIzBAEBCgAdFiEEeCM0ZbH8r7OFHtBdv/8mNWfCIT8FAmk3RWgACgkQv/8mNWfC
IT+QgRAAxAoajAD6erbkxaXlRX3hHLYJnHcWK3TzLSsgs1MQqKYN7SaKVHlX4s1z
tHebLuigmCDyw7WT6UfQ93WoELkivl9FEoZuFgFs58grB5VhPvyAk0qVjFZhoReA
mky9Z9uPKP1COU9xr7VPhFSJAnRjVlOf5nlnlsKk7eYhNbaVInnGB5n0BjjfA0HF
nYCu47X+sVxWWSgupK57Ng8HE5fqbtCOMiu9lRBnllh/TJBhdnAyQp8arJJs+HtB
QJrHSIZqo9gsI88sgM4iDAZrJXf44ZWg8XklVv6jzgCTG5qKOSDPecR61Dw0H8RC
5JF3DMuj5WMlOu+//QX1nLUegLnU7dM93N4Wt8K3JeKIGuFe7aoOSq/jAkuwQ7Jv
pFf2XD/MWcCvezz77ZZ1o1k1n/iZJ5Al5tPlzZHAGHRwnQtqScha/yq8u0Zvyr5G
2rafiraiVg15NjoW/IgGikUI9yC26AVYP0fol+pmojQeQEkBAcsAUmNp4XYI+0d/
tOer7sF21/OnFeGUvZG3yGAye4sVnNSC7l5wWfzjqIRMtyPXMBCmOKU1LMoUVpEJ
x4PxHSiq9WhX4B11km4oKV4tSwwSbdtj20RuRaXEkdmX9DqJBH/as3j0woYpAchJ
uuJRpQgQSYhalwOSOctFD3WjNyACe2doTxTwntX8cG489VO2+rw=
=UaOO
-----END PGP SIGNATURE-----
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.