[OpenSIPS-Users] ERROR:stun:receive: failed to get resp buffer

Vlad Paiu vladpaiu at opensips.org
Mon Oct 31 12:32:37 CET 2011


Hello,

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 ).

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 :

Edit Makefile.defs, uncomment the line with
     -DDBG_QM_MALLOC \
and comment the line with
     -DF_MALLOC \

and then recompile OpenSIPS.
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.
Please return with the memory dump and we will try to help.

Regards,

Vlad Paiu
OpenSIPS Developer


On 10/31/2011 07:23 AM, ccppprogrammer wrote:
> Dear All!
>
> I get following errors. What is the best way to resolve it?
> Thanks in advance!
>
> Oct 31 09:20:59 /usr/sbin/opensips[23670]: WARNING:core:fm_malloc: Not 
> enough free memory, will atempt defragmenation
> Oct 31 09:20:59 /usr/sbin/opensips[23670]: ERROR:stun:receive: failed 
> to get resp buffer
> Oct 31 09:20:59 /usr/sbin/opensips[23670]: WARNING:core:fm_malloc: Not 
> enough free memory, will atempt defragmenation
> Oct 31 09:20:59 /usr/sbin/opensips[23670]: ERROR:stun:receive: failed 
> to get resp buffer
> Oct 31 09:20:59 /usr/sbin/opensips[23670]: WARNING:core:fm_malloc: Not 
> enough free memory, will atempt defragmenation
> Oct 31 09:20:59 /usr/sbin/opensips[23670]: ERROR:stun:receive: failed 
> to get resp buffer
> Oct 31 09:20:59 /usr/sbin/opensips[23670]: WARNING:core:fm_malloc: Not 
> enough free memory, will atempt defragmenation
> Oct 31 09:20:59 /usr/sbin/opensips[23670]: ERROR:stun:receive: failed 
> to get resp buffer
> Oct 31 09:20:59 /usr/sbin/opensips[23670]: WARNING:core:fm_malloc: Not 
> enough free memory, will atempt defragmenation
> Oct 31 09:20:59 /usr/sbin/opensips[23670]: ERROR:stun:receive: failed 
> to get resp buffer
> Oct 31 09:20:59 /usr/sbin/opensips[23670]: WARNING:core:fm_malloc: Not 
> enough free memory, will atempt defragmenation
> Oct 31 09:20:59 /usr/sbin/opensips[23670]: ERROR:stun:receive: failed 
> to get resp buffer
> Oct 31 09:20:59 /usr/sbin/opensips[23670]: WARNING:core:fm_malloc: Not 
> enough free memory, will atempt defragmenation
> Oct 31 09:20:59 /usr/sbin/opensips[23670]: ERROR:stun:receive: failed 
> to get resp buffer
> Oct 31 09:20:59 /usr/sbin/opensips[23670]: WARNING:core:fm_malloc: Not 
> enough free memory, will atempt defragmenation
> Oct 31 09:20:59 /usr/sbin/opensips[23670]: ERROR:stun:receive: failed 
> to get resp buffer
> Oct 31 09:20:59 /usr/sbin/opensips[23670]: WARNING:core:fm_malloc: Not 
> enough free memory, will atempt defragmenation
> Oct 31 09:20:59 /usr/sbin/opensips[23670]: ERROR:stun:receive: failed 
> to get resp buffer
> Oct 31 09:20:59 /usr/sbin/opensips[23670]: WARNING:core:fm_malloc: Not 
> enough free memory, will atempt defragmenation
> Oct 31 09:20:59 /usr/sbin/opensips[23670]: ERROR:stun:receive: failed 
> to get resp buffer
>
>
> _______________________________________________
> 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/20111031/0ba07269/attachment.htm>


More information about the Users mailing list