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){
Module: kamailio
Branch: 5.1
Commit: 3733918a287af1f9aa323b0b4e454c2db409ac9a
URL: https://github.com/kamailio/kamailio/commit/3733918a287af1f9aa323b0b4e454c2…
Author: Daniel-Constantin Mierla <miconda(a)gmail.com>
Committer: Daniel-Constantin Mierla <miconda(a)gmail.com>
Date: 2018-10-19T08:27:14+02:00
utils/kamcmd: man page - note about the suto-conversion of number parameters
(cherry picked from commit c998a7cc2d265d6e3c0e10facc280866495d827e)
---
Modified: utils/kamcmd/kamcmd.8
---
Diff: https://github.com/kamailio/kamailio/commit/3733918a287af1f9aa323b0b4e454c2…
Patch: https://github.com/kamailio/kamailio/commit/3733918a287af1f9aa323b0b4e454c2…
---
diff --git a/utils/kamcmd/kamcmd.8 b/utils/kamcmd/kamcmd.8
index 017c814dfe..c2355243fd 100644
--- a/utils/kamcmd/kamcmd.8
+++ b/utils/kamcmd/kamcmd.8
@@ -22,6 +22,14 @@ It can be used to manage users, domains, aliases and other server options.
.B \-h
display a short usage description, including all available options.
+.SH NOTE
+.B kamcmd
+tries to convert number parameters to integer, to avoid it, prefix the number
+with
+.B 's:'
+, like
+.B 's:123456789'.
+
.SH AUTHORS
see