looks like that did the trick. thanks<br><br><div class="gmail_quote">On Fri, Dec 31, 2010 at 10:41 PM, Bogdan-Andrei Iancu <span dir="ltr">&lt;<a href="mailto:bogdan@voice-system.ro">bogdan@voice-system.ro</a>&gt;</span> wrote:<br>
<blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">Hi Vic,<br>
<br>
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 <a href="http://www.opensips.org/html/docs/modules/1.6.x/drouting.html#id249169" target="_blank">http://www.opensips.org/html/docs/modules/1.6.x/drouting.html#id249169</a>).<br>

<br>
To adjust the share mem used by OpenSIPS, either use the &quot;-m &quot; cli param (number of Mb) or see the SHM_MEM_SIZE define in config.h (requires re-compiling).<br>
<br>
Regards,<br>
Bogdan<br>
<br>
Vic Jolin wrote:<br>
<blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;"><div><div></div><div class="h5">
We are experiencing a lot of this:<br>
Dec 30 16:45:09 [3016] ERROR:drouting:dr_load_routing_info: failed to add routing info for rule id 83483 -&gt; skipping<br>
Dec 30 16:45:09 [3016] WARNING:core:fm_malloc: Not enough free memory, will atempt defragmenation<br>
<br>
Our server memory is at 4GB and free Ram is still at 3GB, what could be causing this?<br>
<br>
Our number of rules are at 140,000++ and it says in the module description that drouting was tested on 300,000++<br></div></div>
------------------------------------------------------------------------<br>
<br>
_______________________________________________<br>
Users mailing list<br>
<a href="mailto:Users@lists.opensips.org" target="_blank">Users@lists.opensips.org</a><br>
<a href="http://lists.opensips.org/cgi-bin/mailman/listinfo/users" target="_blank">http://lists.opensips.org/cgi-bin/mailman/listinfo/users</a><br>
  <br>
</blockquote>
<br>
<br>
-- <br>
Bogdan-Andrei Iancu<br>
OpenSIPS Event - expo, conf, social, bootcamp<br>
2 - 4 February 2011, ITExpo, Miami,  USA<br>
<a href="http://www.voice-system.ro" target="_blank">www.voice-system.ro</a><br>
<br>
<br>
_______________________________________________<br>
Users mailing list<br>
<a href="mailto:Users@lists.opensips.org" target="_blank">Users@lists.opensips.org</a><br>
<a href="http://lists.opensips.org/cgi-bin/mailman/listinfo/users" target="_blank">http://lists.opensips.org/cgi-bin/mailman/listinfo/users</a><br>
</blockquote></div><br>