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@lists.opensips.org
http://lists.opensips.org/cgi-bin/mailman/listinfo/users
_______________________________________________
Users mailing list
Users@lists.opensips.org
http://lists.opensips.org/cgi-bin/mailman/listinfo/users

Reply via email to