Hi Juha,
Can you please tell me what memory should be allocated to handle 44 million
rules.
Thanks,
Ali
-----Original Message-----
From: sr-users [mailto:sr-users-bounces@lists.sip-router.org] On Behalf Of
Juha Heinanen
Sent: Wednesday, June 10, 2015 6:13 PM
To: Kamailio (SER) - Users Mailing List
Subject: [SR-Users] Kamailio LCR module memory concern
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
_______________________________________________
SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list
sr-users(a)lists.sip-router.org
http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users