<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta content="text/html; charset=ISO-8859-1"
http-equiv="Content-Type">
<title></title>
</head>
<body 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 class="moz-signature" cols="72">Vlad Paiu
OpenSIPS Developer</pre>
<br>
On 10/31/2011 07:23 AM, ccppprogrammer wrote:
<blockquote
cite="mid:CAGQRPm8nBtQPGp8N90fDvBNwLFLw2CmcQELQEha+146DzW_B=Q@mail.gmail.com"
type="cite">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>
<pre wrap="">
<fieldset class="mimeAttachmentHeader"></fieldset>
_______________________________________________
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>
</body>
</html>