[SR-Users] PKG memory leak in 4.2.6
Julia Boudniatsky
juliabo at gmail.com
Wed Nov 11 07:17:12 CET 2015
Hello,
We are running Kamailio 4.2.6 ( db77ac) compiled with memory debugging.
The free PKG memory has decreased on ~6.5 M after two weeks.
Please see attached file with the log messages at kamailio shutdown.
Thank you in advance,
Julia.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.sip-router.org/pipermail/sr-users/attachments/20151111/8046d012/attachment.html>
-------------- next part --------------
Nov 10 17:48:09 KAMnet-JAF-01 /usr/local/sbin/kamailio[7498]: WARNING: <core> [main.c:611]: cleanup(): Memory still-in-use summary (pkg):
Nov 10 17:48:09 KAMnet-JAF-01 /usr/local/sbin/kamailio[7498]: WARNING: qm_sums: summarizing all alloc'ed. fragments:
Nov 10 17:48:09 KAMnet-JAF-01 /usr/local/sbin/kamailio[7498]: WARNING: qm_sums: count= 4 size= 448 bytes from pv: pv_xavp.c: pv_parse_xavp_name(531)
Nov 10 17:48:09 KAMnet-JAF-01 /usr/local/sbin/kamailio[7498]: WARNING: qm_sums: count= 4 size= 448 bytes from pv: pv_xavp.c: pv_parse_xavp_name(507)
Nov 10 17:48:09 KAMnet-JAF-01 /usr/local/sbin/kamailio[7498]: WARNING: qm_sums: count= 2 size= 464 bytes from <core>: parser/msg_parser.c: get_hdr_field(133)
Nov 10 17:48:09 KAMnet-JAF-01 /usr/local/sbin/kamailio[7498]: WARNING: qm_sums: count= 2 size= 128 bytes from <core>: parser/msg_parser.c: parse_headers(343)
Nov 10 17:48:09 KAMnet-JAF-01 /usr/local/sbin/kamailio[7498]: WARNING: qm_sums: count= 2 size= 32 bytes from <core>: select.c: register_select_table(465)
Nov 10 17:48:09 KAMnet-JAF-01 /usr/local/sbin/kamailio[7498]: WARNING: qm_sums: count= 1 size= 24 bytes from kex: mi_core.c: init_mi_uptime(74)
Nov 10 17:48:09 KAMnet-JAF-01 /usr/local/sbin/kamailio[7498]: WARNING: qm_sums: count= 1 size= 80 bytes from <core>: socket_info.c: fix_sock_str(438)
Nov 10 17:48:09 KAMnet-JAF-01 /usr/local/sbin/kamailio[7498]: WARNING: qm_sums: count= 1 size= 16 bytes from <core>: socket_info.c: fix_hostname(1378)
Nov 10 17:48:09 KAMnet-JAF-01 /usr/local/sbin/kamailio[7498]: WARNING: qm_sums: count= 1 size= 16 bytes from <core>: socket_info.c: fix_hostname(1360)
Nov 10 17:48:09 KAMnet-JAF-01 /usr/local/sbin/kamailio[7498]: WARNING: qm_sums: count= 2 size= 40 bytes from <core>: name_alias.h: add_alias(99)
Nov 10 17:48:09 KAMnet-JAF-01 /usr/local/sbin/kamailio[7498]: WARNING: qm_sums: count= 2 size= 64 bytes from <core>: name_alias.h: add_alias(97)
Nov 10 17:48:09 KAMnet-JAF-01 /usr/local/sbin/kamailio[7498]: WARNING: qm_sums: count= 1 size= 16 bytes from <core>: socket_info.c: fix_socket_list(1580)
Nov 10 17:48:09 KAMnet-JAF-01 /usr/local/sbin/kamailio[7498]: WARNING: qm_sums: count= 6 size= 248 bytes from pv: pv_trans.c: tr_parse_string(2103)
Nov 10 17:48:09 KAMnet-JAF-01 /usr/local/sbin/kamailio[7498]: WARNING: qm_sums: count= 9 size= 936 bytes from tmx: t_var.c: pv_parse_t_var_name(362)
Nov 10 17:48:09 KAMnet-JAF-01 /usr/local/sbin/kamailio[7498]: WARNING: qm_sums: count= 1 size= 96 bytes from textops: textops.c: fixup_regexpNL_none(2693)
Nov 10 17:48:09 KAMnet-JAF-01 /usr/local/sbin/kamailio[7498]: WARNING: qm_sums: count= 15 size= 992 bytes from <core>: sr_module.c: fix_param(1173)
Nov 10 17:48:09 KAMnet-JAF-01 /usr/local/sbin/kamailio[7498]: WARNING: qm_sums: count= 1 size= 32 bytes from pv: pv_trans.c: tr_parse_paramlist(2420)
Nov 10 17:48:09 KAMnet-JAF-01 /usr/local/sbin/kamailio[7498]: WARNING: qm_sums: count= 3 size= 96 bytes from pv: pv_trans.c: tr_parse_paramlist(2412)
Nov 10 17:48:09 KAMnet-JAF-01 /usr/local/sbin/kamailio[7498]: WARNING: qm_sums: count= 3 size= 96 bytes from textops: txt_var.c: tr_txt_parse_re(206)
Nov 10 17:48:09 KAMnet-JAF-01 /usr/local/sbin/kamailio[7498]: WARNING: qm_sums: count= 1 size= 24 bytes from avpops: avpops_parse.c: parse_intstr_value(309)
Nov 10 17:48:09 KAMnet-JAF-01 /usr/local/sbin/kamailio[7498]: WARNING: qm_sums: count= 1 size= 64 bytes from avpops: avpops.c: fixup_check_avp(677)
Nov 10 17:48:09 KAMnet-JAF-01 /usr/local/sbin/kamailio[7498]: WARNING: qm_sums: count= 1 size= 32 bytes from avpops: avpops_parse.c: parse_intstr_value(277)
Nov 10 17:48:09 KAMnet-JAF-01 /usr/local/sbin/kamailio[7498]: WARNING: qm_sums: count= 1 size= 32 bytes from avpops: avpops_parse.c: avpops_parse_pvar(64)
Nov 10 17:48:09 KAMnet-JAF-01 /usr/local/sbin/kamailio[7498]: WARNING: qm_sums: count= 13 size= 3144 bytes from <core>: re.c: subst_parser(302)
Nov 10 17:48:09 KAMnet-JAF-01 /usr/local/sbin/kamailio[7498]: WARNING: qm_sums: count= 13 size= 832 bytes from <core>: re.c: subst_parser(285)
Nov 10 17:48:09 KAMnet-JAF-01 /usr/local/sbin/kamailio[7498]: WARNING: qm_sums: count= 13 size= 456 bytes from <core>: re.c: subst_parser(312)
Nov 10 17:48:09 KAMnet-JAF-01 /usr/local/sbin/kamailio[7498]: WARNING: qm_sums: count= 9 size= 512 bytes from pv: pv_trans.c: tr_parse_string(2222)
Nov 10 17:48:09 KAMnet-JAF-01 /usr/local/sbin/kamailio[7498]: WARNING: qm_sums: count= 9 size= 288 bytes from pv: pv_trans.c: tr_parse_string(2038)
Nov 10 17:48:09 KAMnet-JAF-01 /usr/local/sbin/kamailio[7498]: WARNING: qm_sums: count= 9 size= 288 bytes from pv: pv_trans.c: tr_parse_string(2027)
Nov 10 17:48:09 KAMnet-JAF-01 /usr/local/sbin/kamailio[7498]: WARNING: qm_sums: count= 2 size= 64 bytes from <core>: pvapi.c: pv_parse_format(1022)
Nov 10 17:48:09 KAMnet-JAF-01 /usr/local/sbin/kamailio[7498]: WARNING: qm_sums: count= 12 size= 896 bytes from <core>: rvalue.c: fix_match_rve(3030)
Nov 10 17:48:09 KAMnet-JAF-01 /usr/local/sbin/kamailio[7498]: WARNING: qm_sums: count= 65 size= 4480 bytes from <core>: cfg.y: mk_case_stm(3709)
Nov 10 17:48:09 KAMnet-JAF-01 /usr/local/sbin/kamailio[7498]: WARNING: qm_sums: count= 15 size= 3056 bytes from <core>: switch.c: mk_match_cond_table(105)
Nov 10 17:48:09 KAMnet-JAF-01 /usr/local/sbin/kamailio[7498]: WARNING: qm_sums: count= 28 size= 2352 bytes from <core>: switch.c: fix_match(490)
Nov 10 17:48:09 KAMnet-JAF-01 /usr/local/sbin/kamailio[7498]: WARNING: qm_sums: count= 34 size= 1416 bytes from <core>: cfg.y: yyparse(2641)
Nov 10 17:48:09 KAMnet-JAF-01 /usr/local/sbin/kamailio[7498]: WARNING: qm_sums: count= 2 size= 256 bytes from dialplan: dialplan.c: dp_trans_fixup(395)
Nov 10 17:48:09 KAMnet-JAF-01 /usr/local/sbin/kamailio[7498]: WARNING: qm_sums: count= 5 size= 640 bytes from <core>: sr_module.c: fix_param(1234)
Nov 10 17:48:09 KAMnet-JAF-01 /usr/local/sbin/kamailio[7498]: WARNING: qm_sums: count= 33 size= 2744 bytes from <core>: mod_fix.c: fixup_regexp_null(219)
Nov 10 17:48:09 KAMnet-JAF-01 /usr/local/sbin/kamailio[7498]: WARNING: qm_sums: count= 4 size= 128 bytes from pv: pv_trans.c: tr_parse_string(2123)
Nov 10 17:48:09 KAMnet-JAF-01 /usr/local/sbin/kamailio[7498]: WARNING: qm_sums: count= 1 size= 32 bytes from pv: pv_trans.c: tr_parse_string(2163)
Nov 10 17:48:09 KAMnet-JAF-01 /usr/local/sbin/kamailio[7498]: WARNING: qm_sums: count= 58 size= 1856 bytes from pv: pv_trans.c: tr_parse_string(2073)
Nov 10 17:48:09 KAMnet-JAF-01 /usr/local/sbin/kamailio[7498]: WARNING: qm_sums: count= 65 size= 2472 bytes from pv: pv_trans.c: tr_parse_string(2063)
Nov 10 17:48:09 KAMnet-JAF-01 /usr/local/sbin/kamailio[7498]: WARNING: qm_sums: count= 110 size= 5432 bytes from <core>: pvapi.c: tr_new(1519)
Nov 10 17:48:09 KAMnet-JAF-01 /usr/local/sbin/kamailio[7498]: WARNING: qm_sums: count= 14 size= 256 bytes from statistics: statistics.c: fixup_stat(148)
Nov 10 17:48:09 KAMnet-JAF-01 /usr/local/sbin/kamailio[7498]: WARNING: qm_sums: count= 53 size= 2576 bytes from pv: pv_svar.c: add_var(54)
Nov 10 17:48:09 KAMnet-JAF-01 /usr/local/sbin/kamailio[7498]: WARNING: qm_sums: count= 79 size= 5160 bytes from textops: textops.c: hname_fixup(2223)
Nov 10 17:48:09 KAMnet-JAF-01 /usr/local/sbin/kamailio[7498]: WARNING: qm_sums: count= 133 size= 1504 bytes from xlog: xlog.c: xlog3_fixup_helper(442)
Nov 10 17:48:09 KAMnet-JAF-01 /usr/local/sbin/kamailio[7498]: WARNING: qm_sums: count= 60 size= 105360 bytes from <core>: rvalue.c: mk_rval_expr1(2623)
Nov 10 17:48:09 KAMnet-JAF-01 /usr/local/sbin/kamailio[7498]: WARNING: qm_sums: count= 1 size= 48 bytes from <core>: route_struct.c: mk_elem(106)
Nov 10 17:48:09 KAMnet-JAF-01 /usr/local/sbin/kamailio[7498]: WARNING: qm_sums: count= 30 size= 3152 bytes from <core>: mod_fix.c: fixup_pvar_all(276)
Nov 10 17:48:09 KAMnet-JAF-01 /usr/local/sbin/kamailio[7498]: WARNING: qm_sums: count= 418 size= 726424 bytes from <core>: rvalue.c: mk_rval_expr2(2681)
Nov 10 17:48:09 KAMnet-JAF-01 /usr/local/sbin/kamailio[7498]: WARNING: qm_sums: count= 777 size= 32840 bytes from <core>: cfg.y: yyparse(2691)
Nov 10 17:48:09 KAMnet-JAF-01 /usr/local/sbin/kamailio[7498]: WARNING: qm_sums: count= 393 size= 57808 bytes from <core>: pvapi.c: pv_cache_add(272)
Nov 10 17:48:09 KAMnet-JAF-01 /usr/local/sbin/kamailio[7498]: WARNING: qm_sums: count= 305 size= 20752 bytes from <core>: sr_module.c: fix_param(1139)
Nov 10 17:48:09 KAMnet-JAF-01 /usr/local/sbin/kamailio[7498]: WARNING: qm_sums: count= 1763 size= 3181960 bytes from <core>: rvalue.c: mk_rval_expr_v(2544)
Nov 10 17:48:09 KAMnet-JAF-01 /usr/local/sbin/kamailio[7498]: WARNING: qm_sums: count= 293 size= 30968 bytes from xlog: xlog.c: xlog_fixup_helper(384)
Nov 10 17:48:09 KAMnet-JAF-01 /usr/local/sbin/kamailio[7498]: WARNING: qm_sums: count= 2239 size= 531400 bytes from <core>: route_struct.c: mk_action(134)
Nov 10 17:48:09 KAMnet-JAF-01 /usr/local/sbin/kamailio[7498]: WARNING: qm_sums: count= 2078 size= 75192 bytes from <core>: pvapi.c: pv_parse_format(1037)
Nov 10 17:48:09 KAMnet-JAF-01 /usr/local/sbin/kamailio[7498]: WARNING: qm_sums: count= 53 size= 680 bytes from pv: pv_svar.c: add_var(61)
Nov 10 17:48:09 KAMnet-JAF-01 /usr/local/sbin/kamailio[7498]: WARNING: qm_sums: count= 3 size= 96 bytes from rtimer: rtimer_mod.c: stm_e_param(341)
Nov 10 17:48:09 KAMnet-JAF-01 /usr/local/sbin/kamailio[7498]: WARNING: qm_sums: count= 3 size= 144 bytes from rtimer: rtimer_mod.c: stm_t_param(264)
Nov 10 17:48:09 KAMnet-JAF-01 /usr/local/sbin/kamailio[7498]: WARNING: qm_sums: count= 812 size= 44472 bytes from <core>: rvalue.c: rval_get_str(1264)
Nov 10 17:48:09 KAMnet-JAF-01 /usr/local/sbin/kamailio[7498]: WARNING: qm_sums: count= 29 size= 520 bytes from textops: textops.c: fixup_method(2294)
Nov 10 17:48:09 KAMnet-JAF-01 /usr/local/sbin/kamailio[7498]: WARNING: qm_sums: count= 24 size= 704 bytes from <core>: modparam.c: set_mod_param_regex(135)
Nov 10 17:48:09 KAMnet-JAF-01 /usr/local/sbin/kamailio[7498]: WARNING: qm_sums: count= 5 size= 96 bytes from <core>: modparam.c: set_mod_param_regex(124)
Nov 10 17:48:09 KAMnet-JAF-01 /usr/local/sbin/kamailio[7498]: WARNING: qm_sums: count= 27 size= 22624 bytes from <core>: sr_module.c: sr_cmd_exports_convert(247)
Nov 10 17:48:09 KAMnet-JAF-01 /usr/local/sbin/kamailio[7498]: WARNING: qm_sums: count= 3 size= 24 bytes from <core>: socket_info.c: new_sock_info(253)
Nov 10 17:48:09 KAMnet-JAF-01 /usr/local/sbin/kamailio[7498]: WARNING: qm_sums: count= 4 size= 1056 bytes from <core>: socket_info.c: new_sock_info(248)
Nov 10 17:48:09 KAMnet-JAF-01 /usr/local/sbin/kamailio[7498]: WARNING: qm_sums: count= 31 size= 1528 bytes from <core>: sr_module.c: load_module(511)
Nov 10 17:48:09 KAMnet-JAF-01 /usr/local/sbin/kamailio[7498]: WARNING: qm_sums: count= 1 size= 8 bytes from <core>: cfg.y: yyparse(1471)
Nov 10 17:48:09 KAMnet-JAF-01 /usr/local/sbin/kamailio[7498]: WARNING: qm_sums: count= 1 size= 8 bytes from <core>: cfg.y: yyparse(721)
Nov 10 17:48:09 KAMnet-JAF-01 /usr/local/sbin/kamailio[7498]: WARNING: qm_sums: count= 4653 size= 639416 bytes from <core>: cfg.lex: addstr(1403)
Nov 10 17:48:09 KAMnet-JAF-01 /usr/local/sbin/kamailio[7498]: WARNING: qm_sums: count= 42 size= 560 bytes from <core>: cfg.lex: pp_define(1764)
Nov 10 17:48:09 KAMnet-JAF-01 /usr/local/sbin/kamailio[7498]: WARNING: qm_sums: count= 1 size= 128 bytes from <core>: str_hash.h: str_hash_alloc(69)
Nov 10 17:48:09 KAMnet-JAF-01 /usr/local/sbin/kamailio[7498]: WARNING: qm_sums: count= 1 size= 8 bytes from <core>: route.c: init_rlist(181)
Nov 10 17:48:09 KAMnet-JAF-01 /usr/local/sbin/kamailio[7498]: WARNING: qm_sums: count= 497 size= 6008 bytes from <core>: rvalue.c: mk_rval_expr_v(2555)
Nov 10 17:48:09 KAMnet-JAF-01 /usr/local/sbin/kamailio[7498]: WARNING: qm_sums: count= 27 size= 472 bytes from statistics: statistics.c: fixup_stat(123)
Nov 10 17:48:09 KAMnet-JAF-01 /usr/local/sbin/kamailio[7498]: WARNING: qm_sums: count= 46 size= 2528 bytes from <core>: route.c: route_add(159)
Nov 10 17:48:09 KAMnet-JAF-01 /usr/local/sbin/kamailio[7498]: WARNING: qm_sums: count= 293 size= 4824 bytes from xlog: xlog.c: xdbg_fixup_helper(350)
Nov 10 17:48:09 KAMnet-JAF-01 /usr/local/sbin/kamailio[7498]: WARNING: qm_sums: -----------------------------
Nov 10 17:48:09 KAMnet-JAF-01 /usr/local/sbin/kamailio[7498]: WARNING: <core> [main.c:625]: cleanup(): Memory still-in-use summary (shm):
Nov 10 17:48:09 KAMnet-JAF-01 /usr/local/sbin/kamailio[7498]: WARNING: qm_sums: summarizing all alloc'ed. fragments:
Nov 10 17:48:09 KAMnet-JAF-01 /usr/local/sbin/kamailio[7498]: WARNING: qm_sums: count= 8 size= 2048 bytes from tmx: tmx_pretran.c: tmx_check_pretran(258)
Nov 10 17:48:09 KAMnet-JAF-01 /usr/local/sbin/kamailio[7498]: WARNING: qm_sums: count= 8 size= 1088 bytes from tmx: tmx_pretran.c: tmx_check_pretran(237)
Nov 10 17:48:09 KAMnet-JAF-01 /usr/local/sbin/kamailio[7498]: WARNING: qm_sums: count= 1 size= 256 bytes from tmx: tmx_pretran.c: tmx_init_pretran_table(84)
Nov 10 17:48:09 KAMnet-JAF-01 /usr/local/sbin/kamailio[7498]: WARNING: qm_sums: count= 1 size= 8 bytes from <core>: pt.c: init_pt(122)
Nov 10 17:48:09 KAMnet-JAF-01 /usr/local/sbin/kamailio[7498]: WARNING: qm_sums: count= 1 size= 8 bytes from <core>: pt.c: init_pt(117)
Nov 10 17:48:09 KAMnet-JAF-01 /usr/local/sbin/kamailio[7498]: WARNING: qm_sums: count= 2 size= 224 bytes from <core>: timer.c: register_timer(1026)
Nov 10 17:48:09 KAMnet-JAF-01 /usr/local/sbin/kamailio[7498]: WARNING: qm_sums: count= 1 size= 8 bytes from dialog: dlg_hash.c: init_dlg_table(278)
Nov 10 17:48:09 KAMnet-JAF-01 /usr/local/sbin/kamailio[7498]: WARNING: qm_sums: count= 1 size= 8 bytes from dialog: dlg_hash.c: init_dlg_table(290)
Nov 10 17:48:09 KAMnet-JAF-01 /usr/local/sbin/kamailio[7498]: WARNING: qm_sums: count= 1 size= 8 bytes from dialog: dlg_hash.c: init_dlg_table(283)
Nov 10 17:48:09 KAMnet-JAF-01 /usr/local/sbin/kamailio[7498]: WARNING: qm_sums: count= 1 size= 8 bytes from dispatcher: dispatcher.c: ds_parse_reply_codes(947)
Nov 10 17:48:09 KAMnet-JAF-01 /usr/local/sbin/kamailio[7498]: WARNING: qm_sums: count= 1 size= 8 bytes from dispatcher: dispatcher.c: mod_init(297)
Nov 10 17:48:09 KAMnet-JAF-01 /usr/local/sbin/kamailio[7498]: WARNING: qm_sums: count= 73 size= 1320 bytes from dialog: dlg_handlers.c: dlg_get_iuid_shm_clone(301)
Nov 10 17:48:09 KAMnet-JAF-01 /usr/local/sbin/kamailio[7498]: WARNING: qm_sums: count= 9 size= 784 bytes from pipelimit: pl_ht.c: pl_pipe_add(175)
Nov 10 17:48:09 KAMnet-JAF-01 /usr/local/sbin/kamailio[7498]: WARNING: qm_sums: count= 362 size= 29224 bytes from <core>: usr_avp.c: create_avp(187)
Nov 10 17:48:09 KAMnet-JAF-01 /usr/local/sbin/kamailio[7498]: WARNING: qm_sums: count= 874 size= 16024 bytes from dispatcher: dispatch.c: ds_set_attrs(211)
Nov 10 17:48:09 KAMnet-JAF-01 /usr/local/sbin/kamailio[7498]: WARNING: qm_sums: count= 1 size= 8 bytes from <core>: usr_avp.c: init_avps(102)
Nov 10 17:48:09 KAMnet-JAF-01 /usr/local/sbin/kamailio[7498]: WARNING: qm_sums: count= 1 size= 8 bytes from <core>: usr_avp.c: init_avps(101)
Nov 10 17:48:09 KAMnet-JAF-01 /usr/local/sbin/kamailio[7498]: WARNING: qm_sums: count= 1 size= 8 bytes from <core>: mem/shm_mem.c: shm_mem_init_mallocs(189)
Nov 10 17:48:09 KAMnet-JAF-01 /usr/local/sbin/kamailio[7498]: WARNING: qm_sums: -----------------------------
More information about the sr-users
mailing list