[sr-dev] git:master:e91bcf01: core: define to keep default shm memory pool size

Daniel-Constantin Mierla miconda at gmail.com
Mon Sep 14 10:23:10 CEST 2015


Module: kamailio
Branch: master
Commit: e91bcf01099fe97ecd09b49d7a441793ba67b5df
URL: https://github.com/kamailio/kamailio/commit/e91bcf01099fe97ecd09b49d7a441793ba67b5df

Author: Daniel-Constantin Mierla <miconda at gmail.com>
Committer: Daniel-Constantin Mierla <miconda at gmail.com>
Date: 2015-09-14T10:22:45+02:00

core: define to keep default shm memory pool size

---

Modified: config.h

---

Diff:  https://github.com/kamailio/kamailio/commit/e91bcf01099fe97ecd09b49d7a441793ba67b5df.diff
Patch: https://github.com/kamailio/kamailio/commit/e91bcf01099fe97ecd09b49d7a441793ba67b5df.patch

---

diff --git a/config.h b/config.h
index 2bde88d..4083099 100644
--- a/config.h
+++ b/config.h
@@ -142,7 +142,7 @@
 #define PKG_MEM_POOL_SIZE PKG_MEM_SIZE*1024*1024	/*!< used only if PKG_MALLOC is defined*/
 
 #define SHM_MEM_SIZE 64				/*!< used if SH_MEM is defined*/
-
+#define SHM_MEM_POOL_SIZE SHM_MEM_SIZE*1024*1024
 
 /* dimensioning buckets in q_malloc */
 /*! \brief size of the size2bucket table; everything beyond that asks for




More information about the sr-dev mailing list