On 10/10/2011 03:51 PM, Mino Haluz wrote:
Hi,
is there any setting which could allow me to set maximum memory per module ? As I am testing the carrier route module, I've added for testing purposes 100 000 rules sofar. When I start the kamailio, it gives me :
Oct 10 14:46:46 kamrouter /usr/sbin/kamailio[2182]: ERROR: carrierroute [../../ut.h:702]: could not allocate shared memory from available pool Oct 10 14:46:46 kamrouter /usr/sbin/kamailio[2182]: ERROR: carrierroute [cr_rule.c:155]: could not allocate shared memory from available pool
Thanks.
Hello
Can you increase the shared memory size ? But 100k rules should take only about 40-50MB of shared memory... I advise for at least 1GB(gigabyte) of SHM.
The error is happening only when the rules are loaded (or reloaded via cr_reload_routes) or during a message processing (I understand the former but just want to make sure)
Cheers, Marius