Dear Vlad!<div><br></div><div>I increased PKG_MEM_POOL_SIZE to 1024*1024*20 and error disapear.</div><div><br></div><div>Thanks for your help!</div><div><br></div><div><div class="gmail_quote">On Mon, Oct 31, 2011 at 2:32 PM, Vlad Paiu <span dir="ltr"><<a href="mailto:vladpaiu@opensips.org">vladpaiu@opensips.org</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;"><u></u>
<div bgcolor="#ffffff" text="#000000">
Hello,<br>
<br>
It seems you do not have any more PKG mem. Please try to increase
the PKG mem for each process ( if using latest OpenSIPS trunk, use
the -M parameter, if using older version, just edit the #define
PKG_MEM_SIZE line ).<br>
<br>
If this doesn't help, maybe you have encountered a memory leak.
First of all, please update to the latest OpenSIPS revision from the
svn branch you are using. If after this you still have problems,
please do the following :<br>
<br>
Edit Makefile.defs, uncomment the line with<br>
-DDBG_QM_MALLOC \<br>
and comment the line with<br>
-DF_MALLOC \<br>
<br>
and then recompile OpenSIPS.<br>
Also set memlog=1 and memdump=1 in your OpenSIPS cfg, and when the
memory get's filled up you can either shutdown the proxy or send a
SIGUSR1 signal to the attendant ( first OpenSIPS process ) to get a
memory dump.<br>
Please return with the memory dump and we will try to help.<br>
<br>
Regards,<br>
<pre cols="72">Vlad Paiu
OpenSIPS Developer</pre><div><div></div><div class="h5">
<br>
On 10/31/2011 07:23 AM, ccppprogrammer wrote:
</div></div><blockquote type="cite"><div><div></div><div class="h5">Dear All!
<div><br>
</div>
<div>I get following errors. What is the best way to resolve it?</div>
<div>Thanks in advance!</div>
<div><br>
</div>
<div>
<div>Oct 31 09:20:59 /usr/sbin/opensips[23670]:
WARNING:core:fm_malloc: Not enough free memory, will atempt
defragmenation</div>
<div>Oct 31 09:20:59 /usr/sbin/opensips[23670]:
ERROR:stun:receive: failed to get resp buffer</div>
<div>Oct 31 09:20:59 /usr/sbin/opensips[23670]:
WARNING:core:fm_malloc: Not enough free memory, will atempt
defragmenation</div>
<div>Oct 31 09:20:59 /usr/sbin/opensips[23670]:
ERROR:stun:receive: failed to get resp buffer</div>
<div>Oct 31 09:20:59 /usr/sbin/opensips[23670]:
WARNING:core:fm_malloc: Not enough free memory, will atempt
defragmenation</div>
<div>Oct 31 09:20:59 /usr/sbin/opensips[23670]:
ERROR:stun:receive: failed to get resp buffer</div>
<div>Oct 31 09:20:59 /usr/sbin/opensips[23670]:
WARNING:core:fm_malloc: Not enough free memory, will atempt
defragmenation</div>
<div>Oct 31 09:20:59 /usr/sbin/opensips[23670]:
ERROR:stun:receive: failed to get resp buffer</div>
<div>Oct 31 09:20:59 /usr/sbin/opensips[23670]:
WARNING:core:fm_malloc: Not enough free memory, will atempt
defragmenation</div>
<div>Oct 31 09:20:59 /usr/sbin/opensips[23670]:
ERROR:stun:receive: failed to get resp buffer</div>
<div>Oct 31 09:20:59 /usr/sbin/opensips[23670]:
WARNING:core:fm_malloc: Not enough free memory, will atempt
defragmenation</div>
<div>Oct 31 09:20:59 /usr/sbin/opensips[23670]:
ERROR:stun:receive: failed to get resp buffer</div>
<div>Oct 31 09:20:59 /usr/sbin/opensips[23670]:
WARNING:core:fm_malloc: Not enough free memory, will atempt
defragmenation</div>
<div>Oct 31 09:20:59 /usr/sbin/opensips[23670]:
ERROR:stun:receive: failed to get resp buffer</div>
<div>Oct 31 09:20:59 /usr/sbin/opensips[23670]:
WARNING:core:fm_malloc: Not enough free memory, will atempt
defragmenation</div>
<div>Oct 31 09:20:59 /usr/sbin/opensips[23670]:
ERROR:stun:receive: failed to get resp buffer</div>
<div>Oct 31 09:20:59 /usr/sbin/opensips[23670]:
WARNING:core:fm_malloc: Not enough free memory, will atempt
defragmenation</div>
<div>Oct 31 09:20:59 /usr/sbin/opensips[23670]:
ERROR:stun:receive: failed to get resp buffer</div>
<div>Oct 31 09:20:59 /usr/sbin/opensips[23670]:
WARNING:core:fm_malloc: Not enough free memory, will atempt
defragmenation</div>
<div>Oct 31 09:20:59 /usr/sbin/opensips[23670]:
ERROR:stun:receive: failed to get resp buffer</div>
</div>
</div></div><pre><fieldset></fieldset>
_______________________________________________
Users mailing list
<a href="mailto:Users@lists.opensips.org" target="_blank">Users@lists.opensips.org</a>
<a href="http://lists.opensips.org/cgi-bin/mailman/listinfo/users" target="_blank">http://lists.opensips.org/cgi-bin/mailman/listinfo/users</a>
</pre>
</blockquote>
</div>
<br>_______________________________________________<br>
Users mailing list<br>
<a href="mailto:Users@lists.opensips.org">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></div><br></div>