IMHO, anything more than about 100k keys really should be stored in something 
external to Kamailio (such as redis) to prevent exactly this issue.  If you’re 
running redis on the same server as Kamailio and using localhost to access it, 
then the latency increase for accessing the data via redis as opposed to htable 
is almost nonexistent.

Brooks Bridges | Engineering Manager
O1 Communications
4359 Town Center Boulevard, Suite 217
El Dorado Hills, California 95762
office: 916.235.2097 | main: 888.444.1111, Option 2
email: [email protected]<mailto:[email protected]> | web: 
www.o1.com<http://www.o1.com/>

From: sr-users [mailto:[email protected]] On Behalf Of 
Mauricio Tejeda
Sent: Monday, October 22, 2018 13:31
To: [email protected]
Subject: [SR-Users] htable 1 Millon registers

Good afternoon.

Trying to use the htables module to load an extensive table in memory, I can 
not start kamailio.

If the table contains few records (5 and 10 in my examples), this works without 
problems, for everything else I lose the connection to the database

"Lost connection to MySQL server during query"

I modified the timeout of mariadb but I can not work.

Someone with a similar problem or ideas on how to solve it?

Thank you
_______________________________________________
Kamailio (SER) - Users Mailing List
[email protected]
https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users

Reply via email to