<html>
<head>
<meta content="text/html; charset=UTF-8" http-equiv="Content-Type">
</head>
<body bgcolor="#FFFFFF" text="#000000">
<div class="moz-cite-prefix"><tt>Hi, Jeff!<br>
<br>
There were some fixes relate to the memory statistics in
revision #9322. Anyway, the problem was that the statistics were
not reported properly, but the internal behavior was working as
it should. Therefore, your OpenSIPS did run out of memory. Try
to update your sources and then let us know if you still have
these issues.<br>
<br>
Best regards,<br>
</tt>
<meta http-equiv="content-type" content="text/html; charset=UTF-8">
<pre class="moz-signature" cols="72">Razvan Crainea
OpenSIPS Core Developer
<a class="moz-txt-link-freetext" href="http://www.opensips-solutions.com">http://www.opensips-solutions.com</a>
</pre>
On 11/26/2012 08:29 PM, Jeff Pyle wrote:<br>
</div>
<blockquote
cite="mid:CACYJG3LOkrCp3nposgq=30530QZDYhfpgV=jZo-zvxLr81MUqQ@mail.gmail.com"
type="cite">Hello,
<div><br>
</div>
<div>On Opensips 1.7 build 9142 (July 6 this year), I have
encountered an interesting problem. First, we see errors like
this:</div>
<div><br>
</div>
<div>
<div>WARNING:core:fm_malloc: Not enough free memory, will atempt
defragmenation</div>
<div>ERROR:core:build_res_buf_from_sip_res: out of pkg mem</div>
<div>ERROR:tm:relay_reply: no mem for outbound reply buffer</div>
<div>WARNING:core:fm_malloc: Not enough free memory, will atempt
defragmenation</div>
<div>ERROR:core:build_res_buf_from_sip_req: out of pkg memory ;
needs 347</div>
</div>
<div><br>
</div>
<div>Various modules fail in various ways because of memory
problems. The statistics show something very interesting:</div>
<div><br>
</div>
<div>
<div>pkmem:0-total_size = 2097152</div>
<div>pkmem:0-used_size = 75796</div>
<div>
pkmem:0-real_used_size = 99612</div>
<div>pkmem:0-max_used_size = 101384</div>
<div>pkmem:0-free_size = 1997540</div>
<div>pkmem:0-fragments = 6</div>
<div>pkmem:1-total_size = 2097152</div>
<div>pkmem:1-used_size = 102216</div>
<div>pkmem:1-real_used_size = 127448</div>
<div>pkmem:1-max_used_size = 130864</div>
<div>pkmem:1-free_size = 1969704</div>
<div>pkmem:1-fragments = 60</div>
<div>pkmem:2-total_size = 2097152</div>
<div>pkmem:2-used_size = 2053012</div>
<div>pkmem:2-real_used_size = 2147376</div>
<div>pkmem:2-max_used_size = 2154380</div>
<div>pkmem:2-free_size = <b>4294917072</b></div>
<div>pkmem:2-fragments = 20</div>
<div>pkmem:3-total_size = 2097152</div>
<div>pkmem:3-used_size = 2093180</div>
<div>pkmem:3-real_used_size = 2189356</div>
<div>pkmem:3-max_used_size = 2193028</div>
<div>pkmem:3-free_size = <b>4294875092</b></div>
<div>pkmem:3-fragments = 20</div>
</div>
<div>... and on through pkmem:8. </div>
<div><br>
</div>
<div>The free_size for processes 2 and 3 is approximately 4 GB,
yet only 2 MB total per process. The values for the other
processes are okay. Does this look symptomatic of a problem
that has already been fixed, or do we need to do more
investigation?</div>
<div><br>
</div>
<div><br>
</div>
<div>- Jeff</div>
<br>
<fieldset class="mimeAttachmentHeader"></fieldset>
<br>
<pre wrap="">_______________________________________________
Users mailing list
<a class="moz-txt-link-abbreviated" href="mailto:Users@lists.opensips.org">Users@lists.opensips.org</a>
<a class="moz-txt-link-freetext" href="http://lists.opensips.org/cgi-bin/mailman/listinfo/users">http://lists.opensips.org/cgi-bin/mailman/listinfo/users</a>
</pre>
</blockquote>
<br>
</body>
</html>