Hello,
On 11.12.23 18:56, Benoit Panizzon via sr-users wrote:
Hi
We have reached 20000 registered CPE and start facing issues.
Am I observing correctly that when ka_mode 4 is enabled, OPTIONS are
send simultaneously to all registered CPE and not spread over the
interval?
They could be the cause very high pps peaks on network equipment?
If so, is there a way to spread the ka options over time so they don't
cause such high peaks?
Or even better, is there a way to enable them for only some customers
via a variable?
there is a modparam ka_mode to tune a bit where to send the keep-alives,
one is done by matching a branch flag used for marking natted devices.
If that is not enough because one wants to differentiate between natted
endpoints and those that have to get keepalove, then, being open source,
one can add support for another ka_mode where a different branch flag
can be used to select what contacts should get keepalive.
Cheers, Daniel
--
Daniel-Constantin Mierla (@
asipto.com)
twitter.com/miconda --
linkedin.com/in/miconda
Kamailio Consultancy and Development Services
Kamailio Advanced Training --
asipto.com