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

ccppprogrammer ccppprogrammer at gmail.com
Tue Nov 1 09:17:50 CET 2011


Dear Vlad!

I increased PKG_MEM_POOL_SIZE to 1024*1024*20 and error disapear.

Thanks for your help!

On Mon, Oct 31, 2011 at 2:32 PM, Vlad Paiu <vladpaiu at opensips.org> wrote:

> **
> 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 listUsers at lists.opensips.orghttp://lists.opensips.org/cgi-bin/mailman/listinfo/users
>
>
> _______________________________________________
> 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/20111101/2f87e1cf/attachment.htm>


More information about the Users mailing list