Module: kamailio
Branch: 5.1
Commit: df62658bb3af88b69c4dc4d019b4814967f9f8e3
URL:
https://github.com/kamailio/kamailio/commit/df62658bb3af88b69c4dc4d019b4814…
Author: Daniel-Constantin Mierla <miconda(a)gmail.com>
Committer: Daniel-Constantin Mierla <miconda(a)gmail.com>
Date: 2018-10-19T08:28:55+02:00
core: info log at startup with number of precesses, pkg and shm sizes
- useful to see if needed to troubleshoot by analyzing log messages
(cherry picked from commit f057e844ba407333ad8d876daa1f6ee49bd41c86)
---
Modified: src/main.c
---
Diff:
https://github.com/kamailio/kamailio/commit/df62658bb3af88b69c4dc4d019b4814…
Patch:
https://github.com/kamailio/kamailio/commit/df62658bb3af88b69c4dc4d019b4814…
---
diff --git a/src/main.c b/src/main.c
index ee8239801f..dd33b89a75 100644
--- a/src/main.c
+++ b/src/main.c
@@ -2608,8 +2608,8 @@ int main(int argc, char** argv)
* function being called before this point may rely on the
* number of processes !
*/
- LM_DBG("Expect (at least) %d kamailio processes in your process list\n",
- get_max_procs());
+ LM_INFO("processes (at least): %d - shm size: %lu - pkg size: %lu\n",
+ get_max_procs(), shm_mem_size, pkg_mem_size);
#if defined USE_DNS_CACHE && defined USE_DNS_CACHE_STATS
if (init_dns_cache_stats(get_max_procs())<0){