Hi Vic,

OpenSIPS uses a fix size chunk of memory (does not dynamically allocate at runtime memory from OS). So probably your shm memory in OpenSIPS is too few for the number of rules you have (see http://www.opensips.org/html/docs/modules/1.6.x/drouting.html#id249169).

To adjust the share mem used by OpenSIPS, either use the "-m " cli param (number of Mb) or see the SHM_MEM_SIZE define in config.h (requires re-compiling).

Regards,
Bogdan

Vic Jolin wrote:
We are experiencing a lot of this:
Dec 30 16:45:09 [3016] ERROR:drouting:dr_load_routing_info: failed to add routing info for rule id 83483 -> skipping Dec 30 16:45:09 [3016] WARNING:core:fm_malloc: Not enough free memory, will atempt defragmenation

Our server memory is at 4GB and free Ram is still at 3GB, what could be causing this?

Our number of rules are at 140,000++ and it says in the module description that drouting was tested on 300,000++
------------------------------------------------------------------------

_______________________________________________
Users mailing list
[email protected]
http://lists.opensips.org/cgi-bin/mailman/listinfo/users


--
Bogdan-Andrei Iancu
OpenSIPS Event - expo, conf, social, bootcamp
2 - 4 February 2011, ITExpo, Miami,  USA
www.voice-system.ro


_______________________________________________
Users mailing list
[email protected]
http://lists.opensips.org/cgi-bin/mailman/listinfo/users

Reply via email to