# HG changeset patch # User Michael Schloh von Bennewitz # Date 1322588677 -3600 # Node ID 41738a0e98d14fc07ae69895c06093f6692ea4d0 # Parent 7ded4c613746cffca1fd1dbeb7bba0221430c757 Reduce private memory allocation after observing stable operation. diff -r 7ded4c613746 -r 41738a0e98d1 opensips/opensips.spec --- a/opensips/opensips.spec Fri Oct 07 16:40:25 2011 +0200 +++ b/opensips/opensips.spec Tue Nov 29 18:44:37 2011 +0100 @@ -37,7 +37,7 @@ Group: VoIP License: GPL Version: %{V_major}.%{V_minor} -Release: 20110200 +Release: 20111128 # package options %option with_cons yes @@ -205,7 +205,7 @@ -e 's;\(-DF_MALLOC\);#\1;' \ -e 's;#\(-DDBG_QM_MALLOC\);\1;' \ %endif - -e 's;\(#define PKG_MEM_POOL_SIZE\) \(1024\*1024\);\1 8*\2;' \ + -e 's;\(#define PKG_MEM_POOL_SIZE\) \(1024\*1024\);\1 4*\2;' \ Makefile.defs \ config.h %{l_shtool} subst \ @@ -257,7 +257,6 @@ scripts/osipsconsolerc \ scripts/opensipsctlrc %{l_shtool} subst \ - -e 's;=/var/run/\(opensips.pid\);=%{l_prefix}/var/opensips/\1;g' \ -e 's;/var/run/\(opensips.pid\);%{l_prefix}/var/opensips/\1;g' \ -e 's;\(my \$fifo_reply_path\) = "/tmp/";\1 = "%{l_prefix}/var/opensips/";' \ -e 's;\(my \$HISTORY_FILE\) = "/tmp/osipsconsole_history";\1 = "%{l_prefix}/var/opensips/osipsconsole_history";' \