[OpenSIPS-Devel] [ opensips-Bugs-3513212 ] STUN hangs.
SourceForge.net
noreply at sourceforge.net
Fri Mar 30 13:49:09 CEST 2012
Bugs item #3513212, was opened at 2012-03-30 04:49
Message generated for change (Tracker Item Submitted) made by nikbyte
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=1086410&aid=3513212&group_id=232389
Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: core
Group: 1.7.x
Status: Open
Resolution: None
Priority: 5
Private: No
Submitted By: Nick Altmann (nikbyte)
Assigned to: Nobody/Anonymous (nobody)
Summary: STUN hangs.
Initial Comment:
opensips-1.7.2 SVN #8787
After about 12 hours of opensips uptime it uses more, than 90% of cpu and STUN doesn't work.
This messages in log:
opensips-2-0 WARNING:core:fm_malloc: Not enough free memory, will attempt defragmenation
I tried this patch:
diff -durN config.h config.h
--- config.h (revision 8837)
+++ config.h (working copy)
@@ -114,8 +114,8 @@
#define SRV_MAX_PREFIX_LEN SRV_TLS_PREFIX_LEN
-#define PKG_MEM_SIZE 2 /*!< Used only if PKG_MALLOC is defined*/
-#define SHM_MEM_SIZE 32 /*!< Used if SH_MEM is defined*/
+#define PKG_MEM_SIZE 128 /*!< Used only if PKG_MALLOC is defined*/
+#define SHM_MEM_SIZE 512 /*!< Used if SH_MEM is defined*/
#define TIMER_TICK 1 /*!< one second */
#define UTIMER_TICK 100*1000 /*!< 100 miliseconds*/
and also -m parameter. It doesn't help.
----------------------------------------------------------------------
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=1086410&aid=3513212&group_id=232389
More information about the Devel
mailing list