[OpenSIPS-Users] not enough memory when using drouting
Vic Jolin
victor.jolin at gmail.com
Fri Dec 31 21:09:44 CET 2010
looks like that did the trick. thanks
On Fri, Dec 31, 2010 at 10:41 PM, Bogdan-Andrei Iancu <
bogdan at voice-system.ro> wrote:
> 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
>> Users at lists.opensips.org
>> 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
> Users at lists.opensips.org
> http://lists.opensips.org/cgi-bin/mailman/listinfo/users
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.opensips.org/pipermail/users/attachments/20110101/20727215/attachment.htm>
More information about the Users
mailing list