[SR-Users] Kamailio LCR module memory concern
Juha Heinanen
jh at tutpro.com
Wed Jun 10 17:13:10 CEST 2015
Ali Taher writes:
> I'm using LCR module where I have 44 million rules and 13 million rule
> targets (not all rules have destinations).
> When I'm setting lcr_rule_hash_size parameter to 268435456 (2 power 28) I
> got the following error : "no memory for rules hash table" in the log
it makes no sense to use hash table of 268+ million entries for 44
million rules.
> When I'm setting lcr_rule_hash_size parameter to 1024,meaning 1024 rules
> will be fetched from the database (please correct if I'm wrong) Kamailio
> takes around 2 minutes and 30 seconds to start , which is worrying for
> me :(
lcr_rule_hash_size has nothing to do with fetching rules from database.
fetch_rows is for that purpose. read README.
-- juha
More information about the sr-users
mailing list