[SR-Users] Kamailio 5.4.4 extremely slow carrierroute preloading

sr.maillists at gmail.com sr.maillists at gmail.com
Wed Feb 24 17:31:38 CET 2021


Hi Maillist!

Does someone have experience with kamailio 5.4.4 and carrierroutes loading?
We have about 50'000 carrierroutes, kamailio 4.3.6 loads them in about 
10 seconds.

Kamailio 5.4.4 needs about 10 minutes (!) to load the routes if I set 
the parameter modparam("carrierroute", "fetch_rows", 50000);
Withous this parameter, v5.4.4 loads only 2000.

- Virtual Machine is an ubuntu 20.04 with all current updates
- Kamailio is installed from source
- The database is postgres on a separate host

I tested this with the same database and same VM, I only recompiled 
kamailio and made neccessary changes in the kamailio.cfg.
In 4.3.6 I disabled the modules tls and jsonrpcs and added the module 
mi_fifo.so instead.
Any Idea where to search? Did I miss something in the update-procedure?

Regards
Stefan



More information about the sr-users mailing list