Module: kamailio
Branch: master
Commit: 4f3f4e5152e2e6cc7bb2bf4f97bbb2d21c6f91be
URL:
https://github.com/kamailio/kamailio/commit/4f3f4e5152e2e6cc7bb2bf4f97bbb2d…
Author: Daniel-Constantin Mierla <miconda(a)gmail.com>
Committer: Daniel-Constantin Mierla <miconda(a)gmail.com>
Date: 2022-02-07T09:08:47+01:00
core: set mem_summary to 12 by default
- more useful for troubleshoot on a quick look
- avoid long restart time for writing a lot of log messages with memory
status for each chunk
---
Modified: src/core/cfg_core.c
---
Diff:
https://github.com/kamailio/kamailio/commit/4f3f4e5152e2e6cc7bb2bf4f97bbb2d…
Patch:
https://github.com/kamailio/kamailio/commit/4f3f4e5152e2e6cc7bb2bf4f97bbb2d…
---
diff --git a/src/core/cfg_core.c b/src/core/cfg_core.c
index 44d98dfe25..51394a6977 100644
--- a/src/core/cfg_core.c
+++ b/src/core/cfg_core.c
@@ -110,7 +110,7 @@ struct cfg_group_core default_core_cfg = {
-1, /**< udp4_raw_ttl (auto detect by default) */
0, /*!< force_rport */
L_DBG+1, /*!< memlog */
- 3, /*!< mem_summary -flags: 0 off, 1 pkg_status, 2 shm_status,
+ 12, /*!< mem_summary -flags: 0 off, 1 pkg_status, 2 shm_status,
4 pkg_sums, 8 shm_sums, 16 short_status */
1, /*!< mem_safety - 0 disabled; 1 enabled */
1, /*!< mem_join - 1 enabled */