I increased the shared memory size to 1GB with
sysctl -w kernel.shmmax=1000000000
The problem still persists. The error happens when "/etc/init.d/kamailio
restart" is executed. Is there any other way how to increase it ?
On Mon, Oct 10, 2011 at 3:49 PM, marius zbihlei <marius.zbihlei(a)1and1.ro>wrote;wrote:
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
--
Zbihlei Marius
Head of
Linux Development Services Romania
1&1 Internet Development srl Tel KA: 754-9512
Str Mircea Eliade 18 Tel RO: +40-31-223-9512
Sect 1, Bucuresti mailto: marius.zbihlei(a)1and1.ro
71295, Romania
______________________________**_________________
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<http:/…