We are observing shared memory leak in Kamailio. To debug this i tried to run Kamailio with valgrind using following command.
/usr/bin/valgrind.bin --tool=memcheck --error-limit=no --show-leak-kinds=all --verbose --track-origins=yes --log-file=vg.log --leak-check=full --leak-resolution=high --show-reachable=yes -v /usr/sbin/kamailio -P /var/run/kamailio/kamailio.pid -f /etc/kamailio/kamailio.cfg -m 4096 -M 512
But, Kamailio is not able to come up. Its throwing following error:
CRITICAL: <core> [main.c:1643]: main_loop(): Cannot fork
INFO: <core> [main.c:836]: sig_usr(): signal 15 received
Can be reproduced using above valgrind command.
2020-11-11T04:35:38.983365+00:00 sipphone1 /usr/sbin/kamailio[12690]: [12690] - DEBUG: db_redis [redis_table.c:208]: db_redis_print_all_tables(): description: 3
2020-11-11T04:35:38.983500+00:00 sipphone1 /usr/sbin/kamailio[12703]: [12703] - DEBUG: db_redis [redis_table.c:214]: db_redis_print_all_tables(): entry keys:
2020-11-11T04:35:38.983602+00:00 sipphone1 /usr/sbin/kamailio[12670]: [12670] - DEBUG: app_lua [app_lua_sr.c:2185]: lua_sr_kemi_register_libs(): exporting KSR.htable.sht_rm(...)
2020-11-11T04:35:38.983699+00:00 sipphone1 /usr/sbin/kamailio[12690]: [12690] - DEBUG: db_redis [redis_table.c:208]: db_redis_print_all_tables(): flags: 0
2020-11-11T04:35:38.983779+00:00 sipphone1 /usr/sbin/kamailio[12706]: [12706] - DEBUG: db_redis [redis_table.c:779]: db_redis_parse_schema(): found column name 'uri_scheme'
2020-11-11T04:35:38.983857+00:00 sipphone1 /usr/sbin/kamailio[12681]: [12681] - DEBUG: app_lua [app_lua_sr.c:2185]: lua_sr_kemi_register_libs(): exporting KSR.tm.t_drop_replies_all(...)
2020-11-11T04:35:38.983934+00:00 sipphone1 /usr/sbin/kamailio[12712]: [12712] - DEBUG: db_redis [redis_table.c:716]: db_redis_parse_schema(): reading schema full path '/usr/share/kamailio/db_redis/kamailio/dialplan'
2020-11-11T04:35:38.984011+00:00 sipphone1 /usr/sbin/kamailio[12670]: [12670] - DEBUG: app_lua [app_lua_sr.c:2185]: lua_sr_kemi_register_libs(): exporting KSR.htable.sht_rm_name_re(...)
2020-11-11T04:35:38.984138+00:00 sipphone1 /usr/sbin/kamailio[12681]: [12681] - DEBUG: app_lua [app_lua_sr.c:2185]: lua_sr_kemi_register_libs(): exporting KSR.tm.t_drop_replies(...)
2020-11-11T04:35:38.984215+00:00 sipphone1 /usr/sbin/kamailio[12706]: [12706] - DEBUG: db_redis [redis_table.c:779]: db_redis_parse_schema(): found column name 'transport'
2020-11-11T04:35:38.984289+00:00 sipphone1 /usr/sbin/kamailio[12670]: [12670] - DEBUG: app_lua [app_lua_sr.c:2185]: lua_sr_kemi_register_libs(): exporting KSR.htable.sht_rm_value_re(...)
2020-11-11T04:35:38.984366+00:00 sipphone1 /usr/sbin/kamailio[12712]: [12712] - DEBUG: db_redis [redis_table.c:392]: db_redis_create_table(): creating schema hash entry for table 'dialplan'
2020-11-11T04:35:38.984441+00:00 sipphone1 /usr/sbin/kamailio[12681]: [12681] - DEBUG: app_lua [app_lua_sr.c:2185]: lua_sr_kemi_register_libs(): exporting KSR.tm.t_use_uac_headers(...)
2020-11-11T04:35:38.984519+00:00 sipphone1 /usr/sbin/kamailio[12670]: [12670] - DEBUG: app_lua [app_lua_sr.c:2185]: lua_sr_kemi_register_libs(): exporting KSR.htable.sht_rm_name(...)
2020-11-11T04:35:38.984594+00:00 sipphone1 /usr/sbin/kamailio[12666]: [12666] - DEBUG: app_lua [app_lua_sr.c:2185]: lua_sr_kemi_register_libs(): exporting KSR.htable.sht_has_name(...)
2020-11-11T04:35:38.984723+00:00 sipphone1 /usr/sbin/kamailio[12681]: [12681] - DEBUG: app_lua [app_lua_sr.c:2185]: lua_sr_kemi_register_libs(): exporting KSR.tm.t_save_lumps(...)
2020-11-11T04:35:38.984800+00:00 sipphone1 /usr/sbin/kamailio[12670]: [12670] - DEBUG: app_lua [app_lua_sr.c:2185]: lua_sr_kemi_register_libs(): exporting KSR.htable.sht_rm_value(...)
2020-11-11T04:35:38.984979+00:00 sipphone1 /usr/sbin/kamailio[12666]: [12666] - DEBUG: app_lua [app_lua_sr.c:2185]: lua_sr_kemi_register_libs(): exporting KSR.htable.sht_has_str_value(...)
2020-11-11T04:35:38.985079+00:00 sipphone1 /usr/sbin/kamailio[12681]: [12681] - DEBUG: app_lua [app_lua_sr.c:2185]: lua_sr_kemi_register_libs(): exporting KSR.tm.t_is_expired(...)
2020-11-11T04:35:38.985157+00:00 sipphone1 /usr/sbin/kamailio[12670]: [12670] - DEBUG: app_lua [app_lua_sr.c:2185]: lua_sr_kemi_register_libs(): exporting KSR.htable.sht_has_name(...)
2020-11-11T04:35:38.985232+00:00 sipphone1 /usr/sbin/kamailio[12689]: [12689] - DEBUG: db_redis [redis_table.c:203]: db_redis_print_all_tables(): schema:
2020-11-11T04:35:38.985310+00:00 sipphone1 /usr/sbin/kamailio[12686]: [12686] - DEBUG: db_redis [redis_table.c:200]: db_redis_print_all_tables(): table uid_domain_attrs
2020-11-11T04:35:38.985386+00:00 sipphone1 /usr/sbin/kamailio[12681]: [12681] - DEBUG: app_lua [app_lua_sr.c:2185]: lua_sr_kemi_register_libs(): exporting KSR.tm.t_check_status(...)
2020-11-11T04:35:38.985457+00:00 sipphone1 /usr/sbin/kamailio[12670]: [12670] - DEBUG: app_lua [app_lua_sr.c:2185]: lua_sr_kemi_register_libs(): exporting KSR.htable.sht_has_str_value(...)
2020-11-11T04:35:38.985530+00:00 sipphone1 /usr/sbin/kamailio[12711]: [12711] - DEBUG: db_redis [redis_table.c:779]: db_redis_parse_schema(): found column name 'domain'
2020-11-11T04:35:38.985624+00:00 sipphone1 /usr/sbin/kamailio[12681]: [12681] - DEBUG: app_lua [app_lua_sr.c:2185]: lua_sr_kemi_register_libs(): exporting KSR.tm.t_grep_status(...)
2020-11-11T04:35:38.985698+00:00 sipphone1 /usr/sbin/kamailio[12670]: [12670] - DEBUG: app_lua [app_lua_sr.c:2185]: lua_sr_kemi_register_libs(): exporting KSR.htable.sht_sets(...)
2020-11-11T04:35:38.985822+00:00 sipphone1 /usr/sbin/kamailio[12705]: [12705] - DEBUG: db_redis [redis_table.c:779]: db_redis_parse_schema(): found column name 'from_tag'
2020-11-11T04:35:38.985924+00:00 sipphone1 /usr/sbin/kamailio[12672]: [12672] - DEBUG: app_lua [app_lua_sr.c:2205]: lua_sr_kemi_register_libs(): initializing kemi sub-module: KSR.nat_traversal (nat_traversal) (3/17/297)
2020-11-11T04:35:38.986002+00:00 sipphone1 /usr/sbin/kamailio[12681]: [12681] - DEBUG: app_lua [app_lua_sr.c:2185]: lua_sr_kemi_register_libs(): exporting KSR.tm.t_is_retr_async_reply(...)
2020-11-11T04:35:38.986075+00:00 sipphone1 /usr/sbin/kamailio[12670]: [12670] - DEBUG: app_lua [app_lua_sr.c:2185]: lua_sr_kemi_register_libs(): exporting KSR.htable.sht_seti(...)
2020-11-11T04:35:38.986152+00:00 sipphone1 /usr/sbin/kamailio[12413]: [12413] - CRITICAL: <core> [main.c:1643]: main_loop(): Cannot fork
2020-11-11T04:35:38.986447+00:00 sipphone1 /usr/sbin/kamailio[12681]: [12681] - DEBUG: app_lua [app_lua_sr.c:2185]: lua_sr_kemi_register_libs(): exporting KSR.tm.t_any_replied(...)
2020-11-11T04:35:38.986532+00:00 sipphone1 /usr/sbin/kamailio[12670]: [12670] - DEBUG: app_lua [app_lua_sr.c:2185]: lua_sr_kemi_register_libs(): exporting KSR.htable.sht_setex(...)
2020-11-11T04:35:38.986608+00:00 sipphone1 /usr/sbin/kamailio[12672]: [12672] - DEBUG: app_lua [app_lua_sr.c:2185]: lua_sr_kemi_register_libs(): exporting KSR.acc.acc_log_request(...)
2020-11-11T04:35:38.986685+00:00 sipphone1 /usr/sbin/kamailio[12681]: [12681] - DEBUG: app_lua [app_lua_sr.c:2185]: lua_sr_kemi_register_libs(): exporting KSR.tm.t_any_timeout(...)
2020-11-11T04:35:38.986759+00:00 sipphone1 /usr/sbin/kamailio[12670]: [12670] - DEBUG: app_lua [app_lua_sr.c:2185]: lua_sr_kemi_register_libs(): exporting KSR.htable.sht_setxi(...)
2020-11-11T04:35:38.986837+00:00 sipphone1 /usr/sbin/kamailio[12681]: [12681] - DEBUG: app_lua [app_lua_sr.c:2185]: lua_sr_kemi_register_libs(): exporting KSR.tm.t_branch_replied(...)
2020-11-11T04:35:38.986915+00:00 sipphone1 /usr/sbin/kamailio[12713]: [12713] - DEBUG: db_redis [redis_table.c:716]: db_redis_parse_schema(): reading schema full path '/usr/share/kamailio/db_redis/kamailio/sca_subscriptions'
2020-11-11T04:35:38.986992+00:00 sipphone1 /usr/sbin/kamailio[12670]: [12670] - DEBUG: app_lua [app_lua_sr.c:2185]: lua_sr_kemi_register_libs(): exporting KSR.htable.sht_setxs(...)
2020-11-11T04:35:38.987067+00:00 sipphone1 /usr/sbin/kamailio[12681]: [12681] - DEBUG: app_lua [app_lua_sr.c:2185]: lua_sr_kemi_register_libs(): exporting KSR.tm.t_branch_timeout(...)
2020-11-11T04:35:38.987167+00:00 sipphone1 /usr/sbin/kamailio[12685]: [12685] - DEBUG: db_postgres [km_pg_con.c:115]: db_postgres_new_connection(): PQconnectdbParams(0x32950560)
2020-11-11T04:35:38.987243+00:00 sipphone1 /usr/sbin/kamailio[12681]: [12681] - DEBUG: app_lua [app_lua_sr.c:2185]: lua_sr_kemi_register_libs(): exporting KSR.tm.t_set_auto_inv_100(...)
2020-11-11T04:35:38.987516+00:00 sipphone1 /usr/sbin/kamailio[12681]: [12681] - DEBUG: app_lua [app_lua_sr.c:2185]: lua_sr_kemi_register_libs(): exporting KSR.tm.t_set_disable_6xx(...)
2020-11-11T04:35:38.988068+00:00 sipphone1 /usr/sbin/kamailio[12713]: [12713] - DEBUG: db_redis [redis_table.c:392]: db_redis_create_table(): creating schema hash entry for table 'sca_subscriptions'
2020-11-11T04:35:38.988153+00:00 sipphone1 /usr/sbin/kamailio[12706]: [12706] - DEBUG: db_redis [redis_table.c:779]: db_redis_parse_schema(): found column name 'strip'
2020-11-11T04:35:38.988235+00:00 sipphone1 /usr/sbin/kamailio[12689]: [12689] - DEBUG: db_redis [redis_table.c:208]: db_redis_print_all_tables(): dialog_value: 3
2020-11-11T04:35:38.988357+00:00 sipphone1 /usr/sbin/kamailio[12686]: [12686] - DEBUG: db_redis [redis_table.c:203]: db_redis_print_all_tables(): schema:
2020-11-11T04:35:38.988574+00:00 sipphone1 /usr/sbin/kamailio[12703]: [12703] - DEBUG: db_redis [redis_table.c:200]: db_redis_print_all_tables(): table carrier_name
2020-11-11T04:35:38.988852+00:00 sipphone1 /usr/sbin/kamailio[12672]: [12672] - DEBUG: app_lua [app_lua_sr.c:2185]: lua_sr_kemi_register_libs(): exporting KSR.acc.acc_db_request(...)
2020-11-11T04:35:38.988931+00:00 sipphone1 /usr/sbin/kamailio[12714]: [12714] - DEBUG: db_postgres [km_pg_con.c:86]: db_postgres_new_connection(): opening connection: postgres://xxxx:xxxx@127.0.0.1:6432/master_dbcfg_kamailio
2020-11-11T04:35:38.989318+00:00 sipphone1 /usr/sbin/kamailio[12703]: [12703] - DEBUG: db_redis [redis_table.c:203]: db_redis_print_all_tables(): schema:
2020-11-11T04:35:38.989478+00:00 sipphone1 /usr/sbin/kamailio[12706]: [12706] - DEBUG: db_redis [redis_table.c:779]: db_redis_parse_schema(): found column name 'prefix'
2020-11-11T04:35:38.989815+00:00 sipphone1 /usr/sbin/kamailio[12672]: [12672] - DEBUG: app_lua [app_lua_sr.c:2185]: lua_sr_kemi_register_libs(): exporting KSR.acc.acc_request(...)
2020-11-11T04:35:38.989926+00:00 sipphone1 /usr/sbin/kamailio[12705]: [12705] - DEBUG: db_redis [redis_table.c:779]: db_redis_parse_schema(): found column name 'to_uri'
2020-11-11T04:35:38.990291+00:00 sipphone1 /usr/sbin/kamailio[12666]: [12666] - DEBUG: app_lua [app_lua_sr.c:2185]: lua_sr_kemi_register_libs(): exporting KSR.htable.sht_sets(...)
2020-11-11T04:35:38.990653+00:00 sipphone1 /usr/sbin/kamailio[12666]: [12666] - DEBUG: app_lua [app_lua_sr.c:2185]: lua_sr_kemi_register_libs(): exporting KSR.htable.sht_seti(...)
2020-11-11T04:35:38.990964+00:00 sipphone1 /usr/sbin/kamailio[12666]: [12666] - DEBUG: app_lua [app_lua_sr.c:2185]: lua_sr_kemi_register_libs(): exporting KSR.htable.sht_setex(...)
2020-11-11T04:35:38.991204+00:00 sipphone1 /usr/sbin/kamailio[12705]: [12705] - DEBUG: db_redis [redis_table.c:779]: db_redis_parse_schema(): found column name 'to_tag'
2020-11-11T04:35:38.991344+00:00 sipphone1 /usr/sbin/kamailio[12703]: [12703] - DEBUG: db_redis [redis_table.c:208]: db_redis_print_all_tables(): carrier: 3
2020-11-11T04:35:38.991476+00:00 sipphone1 /usr/sbin/kamailio[12686]: [12686] - DEBUG: db_redis [redis_table.c:208]: db_redis_print_all_tables(): flags: 0
2020-11-11T04:35:38.991713+00:00 sipphone1 /usr/sbin/kamailio[12711]: [12711] - DEBUG: db_redis [redis_table.c:716]: db_redis_parse_schema(): reading schema full path '/usr/share/kamailio/db_redis/kamailio/uid_credentials'
2020-11-11T04:35:38.991799+00:00 sipphone1 /usr/sbin/kamailio[12702]: [12702] - DEBUG: db_redis [redis_table.c:716]: db_redis_parse_schema(): reading schema full path '/usr/share/kamailio/db_redis/kamailio/lcr_gw'
2020-11-11T04:35:38.992000+00:00 sipphone1 /usr/sbin/kamailio[12713]: [12713] - DEBUG: db_redis [redis_table.c:779]: db_redis_parse_schema(): found column name 'id'
2020-11-11T04:35:38.992165+00:00 sipphone1 /usr/sbin/kamailio[12696]: [12696] - DEBUG: db_redis [redis_table.c:208]: db_redis_print_all_tables(): id: 0
2020-11-11T04:35:38.992276+00:00 sipphone1 /usr/sbin/kamailio[12706]: [12706] - DEBUG: db_redis [redis_table.c:779]: db_redis_parse_schema(): found column name 'tag'
2020-11-11T04:35:38.992583+00:00 sipphone1 /usr/sbin/kamailio[12696]: [12696] - DEBUG: db_redis [redis_table.c:214]: db_redis_print_all_tables(): entry keys:
2020-11-11T04:35:38.992704+00:00 sipphone1 /usr/sbin/kamailio[12689]: [12689] - DEBUG: db_redis [redis_table.c:208]: db_redis_print_all_tables(): dialog_key: 3
2020-11-11T04:35:38.993144+00:00 sipphone1 /usr/sbin/kamailio[12688]: [12688] - DEBUG: db_redis [redis_table.c:203]: db_redis_print_all_tables(): schema:
2020-11-11T04:35:38.993312+00:00 sipphone1 /usr/sbin/kamailio[12713]: [12713] - DEBUG: db_redis [redis_table.c:779]: db_redis_parse_schema(): found column name 'subscriber'
2020-11-11T04:35:38.993576+00:00 sipphone1 /usr/sbin/kamailio[12688]: [12688] - DEBUG: db_redis [redis_table.c:208]: db_redis_print_all_tables(): description: 3
2020-11-11T04:35:38.993788+00:00 sipphone1 /usr/sbin/kamailio[12703]: [12703] - DEBUG: db_redis [redis_table.c:208]: db_redis_print_all_tables(): id: 0
2020-11-11T04:35:38.993958+00:00 sipphone1 /usr/sbin/kamailio[12688]: [12688] - DEBUG: db_redis [redis_table.c:208]: db_redis_print_all_tables(): domain: 3
2020-11-11T04:35:38.994323+00:00 sipphone1 /usr/sbin/kamailio[12688]: [12688] - DEBUG: db_redis [redis_table.c:208]: db_redis_print_all_tables(): groupid: 0
2020-11-11T04:35:38.994405+00:00 sipphone1 /usr/sbin/kamailio[12706]: [12706] - DEBUG: db_redis [redis_table.c:779]: db_redis_parse_schema(): found column name 'flags'
2020-11-11T04:35:38.994537+00:00 sipphone1 /usr/sbin/kamailio[12672]: [12672] - DEBUG: app_lua [app_lua_sr.c:2205]: lua_sr_kemi_register_libs(): initializing kemi sub-module: KSR.acc (acc) (3/18/301)
2020-11-11T04:35:38.994764+00:00 sipphone1 /usr/sbin/kamailio[12705]: [12705] - DEBUG: db_redis [redis_table.c:779]: db_redis_parse_schema(): found column name 'caller_cseq'
2020-11-11T04:35:38.994843+00:00 sipphone1 /usr/sbin/kamailio[12688]: [12688] - DEBUG: db_redis [redis_table.c:208]: db_redis_print_all_tables(): username: 3
2020-11-11T04:35:38.995121+00:00 sipphone1 /usr/sbin/kamailio[12687]: [12687] - DEBUG: db_redis [redis_table.c:208]: db_redis_print_all_tables(): gw_id: 0
2020-11-11T04:35:38.995206+00:00 sipphone1 /usr/sbin/kamailio[12688]: [12688] - DEBUG: db_redis [redis_table.c:208]: db_redis_print_all_tables(): id: 0
2020-11-11T04:35:38.995544+00:00 sipphone1 /usr/sbin/kamailio[12687]: [12687] - DEBUG: db_redis [redis_table.c:208]: db_redis_print_all_tables(): priority: 0
2020-11-11T04:35:38.995629+00:00 sipphone1 /usr/sbin/kamailio[12688]: [12688] - DEBUG: db_redis [redis_table.c:214]: db_redis_print_all_tables(): entry keys:
2020-11-11T04:35:38.995735+00:00 sipphone1 /usr/sbin/kamailio[12702]: [12702] - DEBUG: db_redis [redis_table.c:392]: db_redis_create_table(): creating schema hash entry for table 'lcr_gw'
2020-11-11T04:35:38.995826+00:00 sipphone1 /usr/sbin/kamailio[12689]: [12689] - DEBUG: db_redis [redis_table.c:208]: db_redis_print_all_tables(): hash_id: 0
2020-11-11T04:35:38.995922+00:00 sipphone1 /usr/sbin/kamailio[12706]: [12706] - DEBUG: db_redis [redis_table.c:779]: db_redis_parse_schema(): found column name 'defunct'
2020-11-11T04:35:38.996010+00:00 sipphone1 /usr/sbin/kamailio[12686]: [12686] - DEBUG: db_redis [redis_table.c:208]: db_redis_print_all_tables(): name: 3
2020-11-11T04:35:38.996102+00:00 sipphone1 /usr/sbin/kamailio[12688]: [12688] - DEBUG: db_redis [redis_table.c:200]: db_redis_print_all_tables(): table location_attrs
2020-11-11T04:35:38.996192+00:00 sipphone1 /usr/sbin/kamailio[12711]: [12711] - DEBUG: db_redis [redis_table.c:392]: db_redis_create_table(): creating schema hash entry for table 'uid_credentials'
2020-11-11T04:35:38.996285+00:00 sipphone1 /usr/sbin/kamailio[12713]: [12713] - DEBUG: db_redis [redis_table.c:779]: db_redis_parse_schema(): found column name 'aor'
2020-11-11T04:35:38.996422+00:00 sipphone1 /usr/sbin/kamailio[12702]: [12702] - DEBUG: db_redis [redis_table.c:779]: db_redis_parse_schema(): found column name 'id'
2020-11-11T04:35:38.996620+00:00 sipphone1 /usr/sbin/kamailio[12688]: [12688] - DEBUG: db_redis [redis_table.c:203]: db_redis_print_all_tables(): schema:
2020-11-11T04:35:38.996730+00:00 sipphone1 /usr/sbin/kamailio[12703]: [12703] - DEBUG: db_redis [redis_table.c:214]: db_redis_print_all_tables(): entry keys:
2020-11-11T04:35:38.997019+00:00 sipphone1 /usr/sbin/kamailio[12688]: [12688] - DEBUG: db_redis [redis_table.c:208]: db_redis_print_all_tables(): avalue: 3
2020-11-11T04:35:38.997173+00:00 sipphone1 /usr/sbin/kamailio[12672]: [12672] - DEBUG: app_lua [app_lua_sr.c:2185]: lua_sr_kemi_register_libs(): exporting KSR.dispatcher.ds_select(...)
2020-11-11T04:35:38.997469+00:00 sipphone1 /usr/sbin/kamailio[12688]: [12688] - DEBUG: db_redis [redis_table.c:208]: db_redis_print_all_tables(): domain: 3
2020-11-11T04:35:38.997819+00:00 sipphone1 /usr/sbin/kamailio[12688]: [12688] - DEBUG: db_redis [redis_table.c:208]: db_redis_print_all_tables(): aname: 3
2020-11-11T04:35:38.998080+00:00 sipphone1 /usr/sbin/kamailio[12703]: [12703] - DEBUG: db_redis [redis_table.c:200]: db_redis_print_all_tables(): table sip_trace
2020-11-11T04:35:38.998230+00:00 sipphone1 /usr/sbin/kamailio[12713]: [12713] - DEBUG: db_redis [redis_table.c:779]: db_redis_parse_schema(): found column name 'event'
2020-11-11T04:35:38.998312+00:00 sipphone1 /usr/sbin/kamailio[12688]: [12688] - DEBUG: db_redis [redis_table.c:208]: db_redis_print_all_tables(): last_modified: 0
2020-11-11T04:35:38.998393+00:00 sipphone1 /usr/sbin/kamailio[12666]: [12666] - DEBUG: app_lua [app_lua_sr.c:2185]: lua_sr_kemi_register_libs(): exporting KSR.htable.sht_setxi(...)
2020-11-11T04:35:38.998567+00:00 sipphone1 /usr/sbin/kamailio[12705]: [12705] - DEBUG: db_redis [redis_table.c:779]: db_redis_parse_schema(): found column name 'callee_cseq'
2020-11-11T04:35:38.998643+00:00 sipphone1 /usr/sbin/kamailio[12706]: [12706] - DEBUG: db_redis [redis_table.c:716]: db_redis_parse_schema(): reading schema full path '/usr/share/kamailio/db_redis/kamailio/active_watchers'
2020-11-11T04:35:38.998777+00:00 sipphone1 /usr/sbin/kamailio[12666]: [12666] - DEBUG: app_lua [app_lua_sr.c:2185]: lua_sr_kemi_register_libs(): exporting KSR.htable.sht_setxs(...)
2020-11-11T04:35:38.998856+00:00 sipphone1 /usr/sbin/kamailio[12689]: [12689] - DEBUG: db_redis [redis_table.c:208]: db_redis_print_all_tables(): hash_entry: 0
2020-11-11T04:35:38.998945+00:00 sipphone1 /usr/sbin/kamailio[12686]: [12686] - DEBUG: db_redis [redis_table.c:208]: db_redis_print_all_tables(): type: 0
2020-11-11T04:35:38.999034+00:00 sipphone1 /usr/sbin/kamailio[12706]: [12706] - DEBUG: db_redis [redis_table.c:392]: db_redis_create_table(): creating schema hash entry for table 'active_watchers'
2020-11-11T04:35:38.999230+00:00 sipphone1 /usr/sbin/kamailio[12672]: [12672] - DEBUG: app_lua [app_lua_sr.c:2185]: lua_sr_kemi_register_libs(): exporting KSR.dispatcher.ds_select_limit(...)
2020-11-11T04:35:38.999656+00:00 sipphone1 /usr/sbin/kamailio[12703]: [12703] - DEBUG: db_redis [redis_table.c:203]: db_redis_print_all_tables(): schema:
2020-11-11T04:35:39.000231+00:00 sipphone1 /usr/sbin/kamailio[12705]: [12705] - DEBUG: db_redis [redis_table.c:779]: db_redis_parse_schema(): found column name 'caller_route_set'
2020-11-11T04:35:39.000366+00:00 sipphone1 /usr/sbin/kamailio[12685]: [12685] - DEBUG: <core> [core/sr_module.c:618]: find_mod_export_record(): found export of <db_bind_api> in module db_postgres [/usr/lib/x86_64-linux-gnu/kamailio/modules/db_postgres.so]
2020-11-11T04:35:39.000515+00:00 sipphone1 /usr/sbin/kamailio[12713]: [12713] - DEBUG: db_redis [redis_table.c:779]: db_redis_parse_schema(): found column name 'expires'
2020-11-11T04:35:39.000620+00:00 sipphone1 /usr/sbin/kamailio[12712]: [12712] - DEBUG: db_redis [redis_table.c:779]: db_redis_parse_schema(): found column name 'id'
2020-11-11T04:35:39.000977+00:00 sipphone1 /usr/sbin/kamailio[12672]: [12672] - DEBUG: app_lua [app_lua_sr.c:2185]: lua_sr_kemi_register_libs(): exporting KSR.dispatcher.ds_select_domain(...)
2020-11-11T04:35:39.001141+00:00 sipphone1 /usr/sbin/kamailio[12712]: [12712] - DEBUG: db_redis [redis_table.c:779]: db_redis_parse_schema(): found column name 'dpid'
2020-11-11T04:35:39.001506+00:00 sipphone1 /usr/sbin/kamailio[12703]: [12703] - DEBUG: db_redis [redis_table.c:208]: db_redis_print_all_tables(): callid: 3
2020-11-11T04:35:39.001698+00:00 sipphone1 /usr/sbin/kamailio[12713]: [12713] - DEBUG: db_redis [redis_table.c:779]: db_redis_parse_schema(): found column name 'state'
2020-11-11T04:35:39.001882+00:00 sipphone1 /usr/sbin/kamailio[12689]: [12689] - DEBUG: db_redis [redis_table.c:208]: db_redis_print_all_tables(): id: 0
2020-11-11T04:35:39.001994+00:00 sipphone1 /usr/sbin/kamailio[12686]: [12686] - DEBUG: db_redis [redis_table.c:208]: db_redis_print_all_tables(): did: 3
2020-11-11T04:35:39.002234+00:00 sipphone1 /usr/sbin/kamailio[12706]: [12706] - DEBUG: db_redis [redis_table.c:779]: db_redis_parse_schema(): found column name 'id'
2020-11-11T04:35:39.002705+00:00 sipphone1 /usr/sbin/kamailio[12687]: [12687] - DEBUG: db_redis [redis_table.c:208]: db_redis_print_all_tables(): id: 0
2020-11-11T04:35:39.002787+00:00 sipphone1 /usr/sbin/kamailio[12685]: [12685] - DEBUG: <core> [db.c:210]: db_bind_mod(): using db bind api for db_postgres
2020-11-11T04:35:39.002999+00:00 sipphone1 /usr/sbin/kamailio[12672]: [12672] - DEBUG: app_lua [app_lua_sr.c:2185]: lua_sr_kemi_register_libs(): exporting KSR.dispatcher.ds_select_domain_limit(...)
2020-11-11T04:35:39.003078+00:00 sipphone1 /usr/sbin/kamailio[12687]: [12687] - DEBUG: db_redis [redis_table.c:214]: db_redis_print_all_tables(): entry keys:
2020-11-11T04:35:39.003274+00:00 sipphone1 /usr/sbin/kamailio[12696]: [12696] - DEBUG: db_redis [redis_table.c:200]: db_redis_print_all_tables(): table dialplan
2020-11-11T04:35:39.003670+00:00 sipphone1 /usr/sbin/kamailio[12711]: [12711] - DEBUG: db_redis [redis_table.c:779]: db_redis_parse_schema(): found column name 'id'
2020-11-11T04:35:39.003770+00:00 sipphone1 /usr/sbin/kamailio[12696]: [12696] - DEBUG: db_redis [redis_table.c:203]: db_redis_print_all_tables(): schema:
2020-11-11T04:35:39.005982+00:00 sipphone1 /usr/sbin/kamailio[12639]: [12639] - INFO: <core> [main.c:836]: sig_usr(): signal 15 received
2020-11-11T04:35:39.011025+00:00 sipphone1 /usr/sbin/kamailio[12656]: [12656] - INFO: <core> [main.c:836]: sig_usr(): signal 15 received
2020-11-11T04:35:39.016740+00:00 sipphone1 /usr/sbin/kamailio[12685]: [12685] - INFO: <core> [main.c:836]: sig_usr(): signal 15 received
2020-11-11T04:35:39.025310+00:00 sipphone1 /usr/sbin/kamailio[12651]: [12651] - INFO: <core> [main.c:836]: sig_usr(): signal 15 received
2020-11-11T04:35:39.027420+00:00 sipphone1 /usr/sbin/kamailio[12644]: [12644] - INFO: <core> [main.c:836]: sig_usr(): signal 15 received
2020-11-11T04:35:39.029832+00:00 sipphone1 /usr/sbin/kamailio[12655]: [12655] - INFO: <core> [main.c:836]: sig_usr(): signal 15 received
2020-11-11T04:35:39.035260+00:00 sipphone1 /usr/sbin/kamailio[12647]: [12647] - INFO: <core> [main.c:836]: sig_usr(): signal 15 received
2020-11-11T04:35:39.035931+00:00 sipphone1 /usr/sbin/kamailio[12714]: [12714] - INFO: <core> [main.c:836]: sig_usr(): signal 15 received
2020-11-11T04:35:39.047427+00:00 sipphone1 /usr/sbin/kamailio[12664]: [12664] - INFO: <core> [main.c:836]: sig_usr(): signal 15 received
2020-11-11T04:35:39.049303+00:00 sipphone1 /usr/sbin/kamailio[12646]: [12646] - INFO: <core> [main.c:836]: sig_usr(): signal 15 received
2020-11-11T04:35:39.051635+00:00 sipphone1 /usr/sbin/kamailio[12653]: [12653] - INFO: <core> [main.c:836]: sig_usr(): signal 15 received
2020-11-11T04:35:39.059066+00:00 sipphone1 /usr/sbin/kamailio[12640]: [12640] - INFO: <core> [main.c:836]: sig_usr(): signal 15 received
2020-11-11T04:35:39.067978+00:00 sipphone1 /usr/sbin/kamailio[12661]: [12661] - INFO: <core> [main.c:836]: sig_usr(): signal 15 received
2020-11-11T04:35:39.068361+00:00 sipphone1 /usr/sbin/kamailio[12657]: [12657] - INFO: <core> [main.c:836]: sig_usr(): signal 15 received
2020-11-11T04:35:39.072034+00:00 sipphone1 /usr/sbin/kamailio[12641]: [12641] - INFO: <core> [main.c:836]: sig_usr(): signal 15 received
2020-11-11T04:35:39.082389+00:00 sipphone1 /usr/sbin/kamailio[12642]: [12642] - INFO: <core> [main.c:836]: sig_usr(): signal 15 received
2020-11-11T04:35:39.085869+00:00 sipphone1 /usr/sbin/kamailio[12648]: [12648] - INFO: <core> [main.c:836]: sig_usr(): signal 15 received
Full startup debug log:
https://www.dropbox.com/s/h4m00dkwxqmrs6z/kam_startup_debug.log?dl=0
kamailio -v
version: kamailio 5.2.2 (x86_64/linux) 67f967-dirty
flags: STATS: Off, USE_TCP, USE_TLS, USE_SCTP, TLS_HOOKS, USE_RAW_SOCKS, DISABLE_NAGLE, USE_MCAST, DNS_IP_HACK, SHM_MEM, SHM_MMAP, PKG_MALLOC, Q_MALLOC, F_MALLOC, TLSF_MALLOC, DBG_SR_MEMORY, USE_FUTEX, FAST_LOCK-ADAPTIVE_WAIT, USE_DNS_CACHE, USE_DNS_FAILOVER, USE_NAPTR, USE_DST_BLACKLIST, HAVE_RESOLV_RES
ADAPTIVE_WAIT_LOOPS=1024, MAX_RECV_BUFFER_SIZE 262144 MAX_URI_SIZE 1024, BUF_SIZE 65535, DEFAULT PKG_SIZE 8MB
poll method support: poll, epoll_lt, epoll_et, sigio_rt, select.
id: 67f967 -dirty
compiled with gcc 5.4.0
Ubuntu 16.04
Linux sipphone1 4.4.0-1117-aws #131-Ubuntu SMP Tue Oct 6 20:45:33 UTC 2020 x86_64 x86_64 x86_64 GNU/Linux
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub, or unsubscribe.