### Description
during our "4000 tls connections" performance test with kamailio, we found
there are too many shared blocks used by TLS module.
currently our 4000 tls connections will causes 643389 shared memory blocks(we
found in corex.shm_status),
### Troubleshooting
None
#### Reproduction
in our environment, kamailio use TLSF management type for shared memory. our
tls_client test tool will establish 4000 tls connections, and we can see 643389
shared memory blocks corex.shm_status. this will cause too many fragments and
hard to allocate big blocks any more(our shared memory total size is limited)
#### Debugging Data
currently we found shm_realloc will cause too many shm blocks and fragments.
and only shm_malloc and shm_free will not cause too many shm blocks and
fragments. could you please check if there is any solution to reduce this cost
#### Log Messages
Jan 19 02:11:10 online_gdms_ssh_mexico_city_20220607 sipproxy[7526]: INFO:
<core> [mem/tlsf_malloc.c:1238]: tlsf_sums(): count= 1 size= 56
bytes from tls: tls_init.c: crypto/bio/bss_mem.c(123)
Jan 19 02:11:10 online_gdms_ssh_mexico_city_20220607 sipproxy[7526]: INFO:
<core> [mem/tlsf_malloc.c:1238]: tlsf_sums(): count= 1 size= 56
bytes from tls: tls_init.c: crypto/bio/bss_mem.c(115)
Jan 19 02:11:10 online_gdms_ssh_mexico_city_20220607 sipproxy[7526]: INFO:
<core> [mem/tlsf_malloc.c:1238]: tlsf_sums(): count= 3 size= 168
bytes from tls: tls_init.c: crypto/bio/bf_buff.c(49)
Jan 19 02:11:10 online_gdms_ssh_mexico_city_20220607 sipproxy[7526]: INFO:
<core> [mem/tlsf_malloc.c:1238]: tlsf_sums(): count= 3 size= 12336
bytes from tls: tls_init.c: crypto/bio/bf_buff.c(60)
Jan 19 02:11:10 online_gdms_ssh_mexico_city_20220607 sipproxy[7526]: INFO:
<core> [mem/tlsf_malloc.c:1238]: tlsf_sums(): count= 1 size= 88
bytes from tls: tls_init.c: ssl/t1_enc.c(367)
Jan 19 02:11:10 online_gdms_ssh_mexico_city_20220607 sipproxy[7526]: INFO:
<core> [mem/tlsf_malloc.c:1238]: tlsf_sums(): count= 1 size= 288
bytes from tls: tls_init.c: crypto/buffer/buffer.c(135)
Jan 19 02:11:10 online_gdms_ssh_mexico_city_20220607 sipproxy[7526]: INFO:
<core> [mem/tlsf_malloc.c:1238]: tlsf_sums(): count= 3 size= 12304
bytes from tls: tls_init.c: crypto/bio/bf_buff.c(54)
Jan 19 02:11:10 online_gdms_ssh_mexico_city_20220607 sipproxy[7526]: INFO:
<core> [mem/tlsf_malloc.c:1238]: tlsf_sums(): count= 2 size= 8224
bytes from tls: sbufq.h: sbufq_add(84)
Jan 19 02:11:10 online_gdms_ssh_mexico_city_20220607 sipproxy[7526]: INFO:
<core> [mem/tlsf_malloc.c:1238]: tlsf_sums(): count= 200 size= 11744
bytes from tls: tls_init.c: ssl/statem/extensions.c(955)
Jan 19 02:11:10 online_gdms_ssh_mexico_city_20220607 sipproxy[7526]: INFO:
<core> [mem/tlsf_malloc.c:1238]: tlsf_sums(): count= 77 size= 7096
bytes from tls: tls_init.c: crypto/bn/bn_blind.c(36)
Jan 19 02:11:10 online_gdms_ssh_mexico_city_20220607 sipproxy[7526]: INFO:
<core> [mem/tlsf_malloc.c:1238]: tlsf_sums(): count= 2145 size= 326672
bytes from tls: tls_init.c: ssl/packet_local.h(429)
Jan 19 02:11:10 online_gdms_ssh_mexico_city_20220607 sipproxy[7526]: INFO:
<core> [mem/tlsf_malloc.c:1238]: tlsf_sums(): count= 2128 size= 124848
bytes from tls: tls_init.c: ssl/statem/extensions_clnt.c(1376)
Jan 19 02:11:10 online_gdms_ssh_mexico_city_20220607 sipproxy[7526]: INFO:
<core> [mem/tlsf_malloc.c:1238]: tlsf_sums(): count= 2129 size= 128536
bytes from tls: tls_ct_q.h: tls_ct_q_add(58)
Jan 19 02:11:10 online_gdms_ssh_mexico_city_20220607 sipproxy[7526]: INFO:
<core> [mem/tlsf_malloc.c:1238]: tlsf_sums(): count= 4150 size= 358776
bytes from tls: tls_init.c: crypto/ec/ec_kmeth.c(75)
Jan 19 02:11:10 online_gdms_ssh_mexico_city_20220607 sipproxy[7526]: INFO:
<core> [mem/tlsf_malloc.c:1238]: tlsf_sums(): count= 4274 size= 247896
bytes from tls: tls_server.c: tls_complete_init(228)
Jan 19 02:11:10 online_gdms_ssh_mexico_city_20220607 sipproxy[7526]: INFO:
<core> [mem/tlsf_malloc.c:1238]: tlsf_sums(): count= 1010 size= 673712
bytes from tls: tls_init.c: ssl/ssl_sess.c(110)
Jan 19 02:11:10 online_gdms_ssh_mexico_city_20220607 sipproxy[7526]: INFO:
<core> [mem/tlsf_malloc.c:1238]: tlsf_sums(): count= 4273 size= 965592
bytes from tls: tls_init.c: crypto/evp/digest.c(129)
Jan 19 02:11:10 online_gdms_ssh_mexico_city_20220607 sipproxy[7526]: INFO:
<core> [mem/tlsf_malloc.c:1238]: tlsf_sums(): count= 2128 size= 132560
bytes from tls: tls_init.c: ssl/statem/../packet_local.h(429)
Jan 19 02:11:10 online_gdms_ssh_mexico_city_20220607 sipproxy[7526]: INFO:
<core> [mem/tlsf_malloc.c:1238]: tlsf_sums(): count= 4274 size= 256272
bytes from tls: tls_init.c: ssl/ssl_lib.c(791)
Jan 19 02:11:10 online_gdms_ssh_mexico_city_20220607 sipproxy[7526]: INFO:
<core> [mem/tlsf_malloc.c:1238]: tlsf_sums(): count= 8 size= 480
bytes from tls: tls_init.c: crypto/bio/bio_meth.c(41)
Jan 19 02:11:10 online_gdms_ssh_mexico_city_20220607 sipproxy[7526]: INFO:
<core> [mem/tlsf_malloc.c:1238]: tlsf_sums(): count= 8 size= 824
bytes from tls: tls_init.c: crypto/bio/bio_meth.c(38)
Jan 19 02:11:10 online_gdms_ssh_mexico_city_20220607 sipproxy[7526]: INFO:
<core> [mem/tlsf_malloc.c:1238]: tlsf_sums(): count= 3264 size= 2182216
bytes from tls: tls_init.c: ssl/ssl_sess.c(72)
Jan 19 02:11:10 online_gdms_ssh_mexico_city_20220607 sipproxy[7526]: INFO:
<core> [mem/tlsf_malloc.c:1238]: tlsf_sums(): count= 1010 size= 227824
bytes from tls: tls_init.c: crypto/evp/digest.c(249)
Jan 19 02:11:10 online_gdms_ssh_mexico_city_20220607 sipproxy[7526]: INFO:
<core> [mem/tlsf_malloc.c:1238]: tlsf_sums(): count= 4274 size= 4500704
bytes from tls: tls_init.c: ssl/s3_lib.c(3296)
Jan 19 02:11:10 online_gdms_ssh_mexico_city_20220607 sipproxy[7526]: INFO:
<core> [mem/tlsf_malloc.c:1238]: tlsf_sums(): count= 2127 size= 347904
bytes from tls: tls_init.c: ssl/statem/statem_clnt.c(2648)
Jan 19 02:11:10 online_gdms_ssh_mexico_city_20220607 sipproxy[7526]: INFO:
<core> [mem/tlsf_malloc.c:1238]: tlsf_sums(): count= 1126 size= 68112
bytes from tls: tls_init.c: ssl/statem/../packet_local.h(429)
Jan 19 02:11:10 online_gdms_ssh_mexico_city_20220607 sipproxy[7526]: INFO:
<core> [mem/tlsf_malloc.c:1238]: tlsf_sums(): count= 4150 size= 708520
bytes from tls: tls_init.c: crypto/ec/ec_lib.c(33)
Jan 19 02:11:10 online_gdms_ssh_mexico_city_20220607 sipproxy[7526]: INFO:
<core> [mem/tlsf_malloc.c:1238]: tlsf_sums(): count= 4238 size= 556896
bytes from tls: tls_init.c: ssl/t1_lib.c(1784)
Jan 19 02:11:10 online_gdms_ssh_mexico_city_20220607 sipproxy[7526]: INFO:
<core> [mem/tlsf_malloc.c:1238]: tlsf_sums(): count= 4150 size= 257944
bytes from tls: tls_init.c: crypto/ec/ec_lib.c(217)
Jan 19 02:11:10 online_gdms_ssh_mexico_city_20220607 sipproxy[7526]: INFO:
<core> [mem/tlsf_malloc.c:1238]: tlsf_sums(): count= 4274 size= 2364440
bytes from tls: tls_init.c: ssl/ssl_cert.c(76)
Jan 19 02:11:10 online_gdms_ssh_mexico_city_20220607 sipproxy[7526]: INFO:
<core> [mem/tlsf_malloc.c:1238]: tlsf_sums(): count= 8545 size= 6346000
bytes from tls: tls_init.c: crypto/evp/evp_enc.c(128)
Jan 19 02:11:10 online_gdms_ssh_mexico_city_20220607 sipproxy[7526]: INFO:
<core> [mem/tlsf_malloc.c:1238]: tlsf_sums(): count= 10659 size= 1181416
bytes from tls: tls_init.c: crypto/bn/bn_mont.c(232)
Jan 19 02:11:10 online_gdms_ssh_mexico_city_20220607 sipproxy[7526]: INFO:
<core> [mem/tlsf_malloc.c:1238]: tlsf_sums(): count= 6375 size= 395192
bytes from tls: tls_init.c: ssl/t1_lib.c(1811)
Jan 19 02:11:10 online_gdms_ssh_mexico_city_20220607 sipproxy[7526]: INFO:
<core> [mem/tlsf_malloc.c:1238]: tlsf_sums(): count= 4278 size= 529760
bytes from tls: tls_init.c: crypto/bio/bio_lib.c(73)
Jan 19 02:11:10 online_gdms_ssh_mexico_city_20220607 sipproxy[7526]: INFO:
<core> [mem/tlsf_malloc.c:1238]: tlsf_sums(): count= 4274 size= 26840720
bytes from tls: tls_init.c: ssl/ssl_lib.c(691)
Jan 19 02:11:10 online_gdms_ssh_mexico_city_20220607 sipproxy[7526]: INFO:
<core> [mem/tlsf_malloc.c:1238]: tlsf_sums(): count= 4274 size= 71427088
bytes from tls: tls_init.c: ssl/record/ssl3_buffer.c(63)
Jan 19 02:11:10 online_gdms_ssh_mexico_city_20220607 sipproxy[7526]: INFO:
<core> [mem/tlsf_malloc.c:1238]: tlsf_sums(): count= 4787 size= 82144920
bytes from core: tcp_main.c: tcpconn_new(2223)
Jan 19 02:11:10 online_gdms_ssh_mexico_city_20220607 sipproxy[7526]: INFO:
<core> [mem/tlsf_malloc.c:1238]: tlsf_sums(): count= 4274 size= 70401328
bytes from tls: tls_init.c: ssl/record/ssl3_buffer.c(120)
Jan 19 02:11:10 online_gdms_ssh_mexico_city_20220607 sipproxy[7526]: INFO:
<core> [mem/tlsf_malloc.c:1238]: tlsf_sums(): count= 1 size= 8192
bytes from core: counters.c: counters_prefork_init(207)
Jan 19 02:11:10 online_gdms_ssh_mexico_city_20220607 sipproxy[7526]: INFO:
<core> [mem/tlsf_malloc.c:1238]: tlsf_sums(): count= 200 size= 12128
bytes from tls: tls_init.c: ssl/statem/../packet_local.h(452)
Jan 19 02:11:10 online_gdms_ssh_mexico_city_20220607 sipproxy[7526]: INFO:
<core> [mem/tlsf_malloc.c:1238]: tlsf_sums(): count= 8300 size= 504512
bytes from tls: tls_init.c: crypto/ec/ec_lib.c(662)
Jan 19 02:11:10 online_gdms_ssh_mexico_city_20220607 sipproxy[7526]: INFO:
<core> [mem/tlsf_malloc.c:1238]: tlsf_sums(): count= 4274 size= 258912
bytes from tls: tls_init.c: tls_bio.c(184)
Jan 19 02:11:10 online_gdms_ssh_mexico_city_20220607 sipproxy[7526]: INFO:
<core> [mem/tlsf_malloc.c:1238]: tlsf_sums(): count= 8545 size= 1460752
bytes from tls: tls_init.c: crypto/evp/evp_enc.c(42)
Jan 19 02:11:10 online_gdms_ssh_mexico_city_20220607 sipproxy[7526]: INFO:
<core> [mem/tlsf_malloc.c:1238]: tlsf_sums(): count= 11806 size= 713552
bytes from tls: tls_init.c: crypto/evp/digest.c(51)
Jan 19 02:11:10 online_gdms_ssh_mexico_city_20220607 sipproxy[7526]: INFO:
<core> [mem/tlsf_malloc.c:1238]: tlsf_sums(): count= 1824 size= 273608
bytes from tls: tls_init.c: crypto/bn/bn_lib.c(266)
Jan 19 02:11:10 online_gdms_ssh_mexico_city_20220607 sipproxy[7526]: INFO:
<core> [mem/tlsf_malloc.c:1238]: tlsf_sums(): count= 3861 size= 2856280
bytes from tls: tls_init.c: crypto/asn1/tasn_utl.c(147)
Jan 19 02:11:10 online_gdms_ssh_mexico_city_20220607 sipproxy[7526]: INFO:
<core> [mem/tlsf_malloc.c:1238]: tlsf_sums(): count= 4165 size= 752584
bytes from tls: tls_init.c: crypto/rsa/rsa_lib.c(52)
Jan 19 02:11:10 online_gdms_ssh_mexico_city_20220607 sipproxy[7526]: INFO:
<core> [mem/tlsf_malloc.c:1238]: tlsf_sums(): count= 7722 size= 2695432
bytes from tls: tls_init.c: crypto/asn1/a_bitstr.c(117)
Jan 19 02:11:10 online_gdms_ssh_mexico_city_20220607 sipproxy[7526]: INFO:
<core> [mem/tlsf_malloc.c:1238]: tlsf_sums(): count= 8765 size= 946408
bytes from tls: tls_init.c: crypto/x509/x_name.c(358)
Jan 19 02:11:10 online_gdms_ssh_mexico_city_20220607 sipproxy[7526]: INFO:
<core> [mem/tlsf_malloc.c:1238]: tlsf_sums(): count= 2483 size= 146280
bytes from tls: tls_init.c: crypto/asn1/tasn_new.c(97)
Jan 19 02:11:10 online_gdms_ssh_mexico_city_20220607 sipproxy[7526]: INFO:
<core> [mem/tlsf_malloc.c:1238]: tlsf_sums(): count= 8768 size= 1298752
bytes from tls: tls_init.c: crypto/buffer/buffer.c(97)
Jan 19 02:11:10 online_gdms_ssh_mexico_city_20220607 sipproxy[7526]: INFO:
<core> [mem/tlsf_malloc.c:1238]: tlsf_sums(): count= 11583 size= 697056
bytes from tls: tls_init.c: crypto/asn1/tasn_new.c(302)
Jan 19 02:11:10 online_gdms_ssh_mexico_city_20220607 sipproxy[7526]: INFO:
<core> [mem/tlsf_malloc.c:1238]: tlsf_sums(): count= 62814 size= 4067592
bytes from tls: tls_init.c: crypto/asn1/asn1_lib.c(284)
Jan 19 02:11:10 online_gdms_ssh_mexico_city_20220607 sipproxy[7526]: INFO:
<core> [mem/tlsf_malloc.c:1238]: tlsf_sums(): count= 53274 size= 3244208
bytes from tls: tls_init.c: crypto/asn1/asn1_lib.c(316)
Jan 19 02:11:10 online_gdms_ssh_mexico_city_20220607 sipproxy[7526]: INFO:
<core> [mem/tlsf_malloc.c:1238]: tlsf_sums(): count= 8769 size= 532480
bytes from tls: tls_init.c: crypto/buffer/buffer.c(35)
Jan 19 02:11:10 online_gdms_ssh_mexico_city_20220607 sipproxy[7526]: INFO:
<core> [mem/tlsf_malloc.c:1238]: tlsf_sums(): count= 8765 size= 524520
bytes from tls: tls_init.c: crypto/x509/x_name.c(92)
Jan 19 02:11:10 online_gdms_ssh_mexico_city_20220607 sipproxy[7526]: INFO:
<core> [mem/tlsf_malloc.c:1238]: tlsf_sums(): count= 57893 size= 4654312
bytes from tls: tls_init.c: crypto/asn1/tasn_new.c(122)
Jan 19 02:11:10 online_gdms_ssh_mexico_city_20220607 sipproxy[7526]: INFO:
<core> [mem/tlsf_malloc.c:1238]: tlsf_sums(): count= 64 size= 3600
bytes from tls: tls_init.c: ssl/t1_lib.c(353)
Jan 19 02:11:10 online_gdms_ssh_mexico_city_20220607 sipproxy[7526]: INFO:
<core> [mem/tlsf_malloc.c:1238]: tlsf_sums(): count= 4727 size= 1198104
bytes from tls: tls_init.c: crypto/stack/stack.c(198)
Jan 19 02:11:10 online_gdms_ssh_mexico_city_20220607 sipproxy[7526]: INFO:
<core> [mem/tlsf_malloc.c:1238]: tlsf_sums(): count= 8883 size= 701704
bytes from tls: tls_init.c: crypto/stack/stack.c(64)
Jan 19 02:11:10 online_gdms_ssh_mexico_city_20220607 sipproxy[7526]: INFO:
<core> [mem/tlsf_malloc.c:1238]: tlsf_sums(): count= 8883 size= 531576
bytes from tls: tls_init.c: crypto/stack/stack.c(49)
Jan 19 02:11:10 online_gdms_ssh_mexico_city_20220607 sipproxy[7526]: INFO:
<core> [mem/tlsf_malloc.c:1238]: tlsf_sums(): count= 8379 size= 652784
bytes from tls: tls_init.c: crypto/evp/p_lib.c(142)
Jan 19 02:11:10 online_gdms_ssh_mexico_city_20220607 sipproxy[7526]: INFO:
<core> [mem/tlsf_malloc.c:1238]: tlsf_sums(): count= 336 size= 22064
bytes from tls: tls_init.c: ssl/ssl_lib.c(3047)
Jan 19 02:11:10 online_gdms_ssh_mexico_city_20220607 sipproxy[7526]: INFO:
<core> [mem/tlsf_malloc.c:1238]: tlsf_sums(): count= 80895 size= 7144264
bytes from tls: tls_init.c: crypto/bn/bn_lib.c(268)
Jan 19 02:11:10 online_gdms_ssh_mexico_city_20220607 sipproxy[7526]: INFO:
<core> [mem/tlsf_malloc.c:1238]: tlsf_sums(): count= 61401 size= 3765680
bytes from tls: tls_init.c: crypto/bn/bn_lib.c(234)
Jan 19 02:11:10 online_gdms_ssh_mexico_city_20220607 sipproxy[7526]: INFO:
<core> [mem/tlsf_malloc.c:1238]: tlsf_sums(): count= 64 size= 9784
bytes from tls: tls_init.c: crypto/dh/dh_lib.c(44)
Jan 19 02:11:10 online_gdms_ssh_mexico_city_20220607 sipproxy[7526]: INFO:
<core> [mem/tlsf_malloc.c:1238]: tlsf_sums(): count= 336 size= 19320
bytes from tls: tls_init.c: crypto/ct/ct_log.c(94)
Jan 19 02:11:10 online_gdms_ssh_mexico_city_20220607 sipproxy[7526]: INFO:
<core> [mem/tlsf_malloc.c:1238]: tlsf_sums(): count= 4946 size= 571504
bytes from tls: tls_init.c: crypto/x509/x509_vpm.c(86)
Jan 19 02:11:10 online_gdms_ssh_mexico_city_20220607 sipproxy[7526]: INFO:
<core> [mem/tlsf_malloc.c:1238]: tlsf_sums(): count= 336 size= 51104
bytes from tls: tls_init.c: crypto/x509/x509_lu.c(162)
Jan 19 02:11:10 online_gdms_ssh_mexico_city_20220607 sipproxy[7526]: INFO:
<core> [mem/tlsf_malloc.c:1238]: tlsf_sums(): count= 336 size= 43760
bytes from tls: tls_init.c: crypto/lhash/lhash.c(59)
Jan 19 02:11:10 online_gdms_ssh_mexico_city_20220607 sipproxy[7526]: INFO:
<core> [mem/tlsf_malloc.c:1238]: tlsf_sums(): count= 336 size= 180752
bytes from tls: tls_init.c: ssl/ssl_cert.c(52)
Jan 19 02:11:10 online_gdms_ssh_mexico_city_20220607 sipproxy[7526]: INFO:
<core> [mem/tlsf_malloc.c:1238]: tlsf_sums(): count= 336 size= 344448
bytes from tls: tls_init.c: ssl/ssl_lib.c(2977)
Jan 19 02:11:10 online_gdms_ssh_mexico_city_20220607 sipproxy[7526]: INFO:
<core> [mem/tlsf_malloc.c:1238]: tlsf_sums(): count= 1 size= 56
bytes from tls: tls_init.c: crypto/ex_data.c(177)
Jan 19 02:11:10 online_gdms_ssh_mexico_city_20220607 sipproxy[7526]: INFO:
<core> [mem/tlsf_malloc.c:1238]: tlsf_sums(): count= 21 size= 2792
bytes from tls: tls_domain.c: fix_domain(1004)
Jan 19 02:11:10 online_gdms_ssh_mexico_city_20220607 sipproxy[7526]: INFO:
<core> [mem/tlsf_malloc.c:1238]: tlsf_sums(): count= 1 size= 3072
bytes from sl: sl_stats.c: init_sl_stats_child(125)
Jan 19 02:11:10 online_gdms_ssh_mexico_city_20220607 sipproxy[7526]: INFO:
<core> [mem/tlsf_malloc.c:1238]: tlsf_sums(): count= 1 size= 768
bytes from kex: pkg_stats.c: pkg_proc_stats_init(79)
Jan 19 02:11:10 online_gdms_ssh_mexico_city_20220607 sipproxy[7526]: INFO:
<core> [mem/tlsf_malloc.c:1238]: tlsf_sums(): count= 5 size= 280
bytes from core: cfg/cfg_struct.c: cfg_clone_str(130)
Jan 19 02:11:10 online_gdms_ssh_mexico_city_20220607 sipproxy[7526]: INFO:
<core> [mem/tlsf_malloc.c:1238]: tlsf_sums(): count= 1 size= 712
bytes from core: cfg/cfg_struct.c: cfg_shmize(217)
Jan 19 02:11:10 online_gdms_ssh_mexico_city_20220607 sipproxy[7526]: INFO:
<core> [mem/tlsf_malloc.c:1238]: tlsf_sums(): count= 1 size= 56
bytes from core: pt.c: init_pt(114)
Jan 19 02:11:10 online_gdms_ssh_mexico_city_20220607 sipproxy[7526]: INFO:
<core> [mem/tlsf_malloc.c:1238]: tlsf_sums(): count= 1 size= 56
bytes from core: pt.c: init_pt(109)
Jan 19 02:11:10 online_gdms_ssh_mexico_city_20220607 sipproxy[7526]: INFO:
<core> [mem/tlsf_malloc.c:1238]: tlsf_sums(): count= 1 size= 2240
bytes from core: pt.c: init_pt(108)
Jan 19 02:11:10 online_gdms_ssh_mexico_city_20220607 sipproxy[7526]: INFO:
<core> [mem/tlsf_malloc.c:1238]: tlsf_sums(): count= 1 size= 56
bytes from outbound: ob_mod.c: mod_init(104)
Jan 19 02:11:10 online_gdms_ssh_mexico_city_20220607 sipproxy[7526]: INFO:
<core> [mem/tlsf_malloc.c:1238]: tlsf_sums(): count= 1 size= 56
bytes from utils: conf.c: conf_init(549)
Jan 19 02:11:10 online_gdms_ssh_mexico_city_20220607 sipproxy[7526]: INFO:
<core> [mem/tlsf_malloc.c:1238]: tlsf_sums(): count= 1 size= 56
bytes from utils: utils.c: init_shmlock(160)
Jan 19 02:11:10 online_gdms_ssh_mexico_city_20220607 sipproxy[7526]: INFO:
<core> [mem/tlsf_malloc.c:1238]: tlsf_sums(): count= 61 size= 3416
bytes from core: cfg_parser.c: cfg_parse_str(906)
Jan 19 02:11:10 online_gdms_ssh_mexico_city_20220607 sipproxy[7526]: INFO:
<core> [mem/tlsf_malloc.c:1238]: tlsf_sums(): count= 21 size= 4568
bytes from tls: tls_domain.c: tls_new_domain(160)
Jan 19 02:11:10 online_gdms_ssh_mexico_city_20220607 sipproxy[7526]: INFO:
<core> [mem/tlsf_malloc.c:1238]: tlsf_sums(): count= 2 size= 112
bytes from tls: tls_domain.c: tls_new_cfg(1369)
Jan 19 02:11:10 online_gdms_ssh_mexico_city_20220607 sipproxy[7526]: INFO:
<core> [mem/tlsf_malloc.c:1238]: tlsf_sums(): count= 1 size= 56
bytes from tls: tls_ct_wrq.c: tls_ct_wq_init(49)
Jan 19 02:11:10 online_gdms_ssh_mexico_city_20220607 sipproxy[7526]: INFO:
<core> [mem/tlsf_malloc.c:1238]: tlsf_sums(): count= 1 size= 56
bytes from tls: tls_mod.c: mod_init(407)
Jan 19 02:11:10 online_gdms_ssh_mexico_city_20220607 sipproxy[7526]: INFO:
<core> [mem/tlsf_malloc.c:1238]: tlsf_sums(): count= 1 size= 56
bytes from tls: tls_mod.c: mod_init(391)
Jan 19 02:11:10 online_gdms_ssh_mexico_city_20220607 sipproxy[7526]: INFO:
<core> [mem/tlsf_malloc.c:1238]: tlsf_sums(): count= 1 size= 56
bytes from sl: sl_funcs.c: sl_startup(83)
Jan 19 02:11:10 online_gdms_ssh_mexico_city_20220607 sipproxy[7526]: INFO:
<core> [mem/tlsf_malloc.c:1238]: tlsf_sums(): count= 1 size= 56
bytes from sl: sl_stats.c: init_sl_stats(110)
Jan 19 02:11:10 online_gdms_ssh_mexico_city_20220607 sipproxy[7526]: INFO:
<core> [mem/tlsf_malloc.c:1238]: tlsf_sums(): count= 2 size= 112
bytes from core: cfg/cfg_ctx.c: cfg_register_ctx(47)
Jan 19 02:11:10 online_gdms_ssh_mexico_city_20220607 sipproxy[7526]: INFO:
<core> [mem/tlsf_malloc.c:1238]: tlsf_sums(): count= 1 size= 56
bytes from tls: tls_init.c: crypto/init.c(816)
Jan 19 02:11:10 online_gdms_ssh_mexico_city_20220607 sipproxy[7526]: INFO:
<core> [mem/tlsf_malloc.c:1238]: tlsf_sums(): count= 1 size= 56
bytes from tls: tls_init.c: crypto/init.c(66)
Jan 19 02:11:10 online_gdms_ssh_mexico_city_20220607 sipproxy[7526]: INFO:
<core> [mem/tlsf_malloc.c:1238]: tlsf_sums(): count= 10 size= 5872
bytes from tls: tls_init.c: crypto/err/err.c(745)
Jan 19 02:11:10 online_gdms_ssh_mexico_city_20220607 sipproxy[7526]: INFO:
<core> [mem/tlsf_malloc.c:1238]: tlsf_sums(): count= 1 size= 56
bytes from tls: tls_init.c: crypto/engine/eng_lib.c(128)
Jan 19 02:11:10 online_gdms_ssh_mexico_city_20220607 sipproxy[7526]: INFO:
<core> [mem/tlsf_malloc.c:1238]: tlsf_sums(): count= 2 size= 384
bytes from tls: tls_init.c: crypto/engine/eng_lib.c(34)
Jan 19 02:11:10 online_gdms_ssh_mexico_city_20220607 sipproxy[7526]: INFO:
<core> [mem/tlsf_malloc.c:1238]: tlsf_sums(): count= 17458 size= 1216568
bytes from tls: tls_init.c: crypto/stack/stack.c(180)
Jan 19 02:11:10 online_gdms_ssh_mexico_city_20220607 sipproxy[7526]: INFO:
<core> [mem/tlsf_malloc.c:1238]: tlsf_sums(): count= 5 size= 280
bytes from tls: tls_init.c: crypto/conf/conf_mod.c(244)
Jan 19 02:11:10 online_gdms_ssh_mexico_city_20220607 sipproxy[7526]: INFO:
<core> [mem/tlsf_malloc.c:1238]: tlsf_sums(): count= 5 size= 280
bytes from tls: tls_init.c: crypto/conf/conf_mod.c(238)
Jan 19 02:11:10 online_gdms_ssh_mexico_city_20220607 sipproxy[7526]: INFO:
<core> [mem/tlsf_malloc.c:1238]: tlsf_sums(): count= 25994 size= 1573320
bytes from tls: tls_init.c: crypto/stack/stack.c(209)
Jan 19 02:11:10 online_gdms_ssh_mexico_city_20220607 sipproxy[7526]: INFO:
<core> [mem/tlsf_malloc.c:1238]: tlsf_sums(): count= 2 size= 17408
bytes from tls: tls_init.c: crypto/lhash/lhash.c(225)
Jan 19 02:11:10 online_gdms_ssh_mexico_city_20220607 sipproxy[7526]: INFO:
<core> [mem/tlsf_malloc.c:1238]: tlsf_sums(): count= 234 size= 13104
bytes from tls: tls_init.c: crypto/objects/o_names.c(219)
Jan 19 02:11:10 online_gdms_ssh_mexico_city_20220607 sipproxy[7526]: INFO:
<core> [mem/tlsf_malloc.c:1238]: tlsf_sums(): count= 3400 size= 190432
bytes from tls: tls_init.c: crypto/lhash/lhash.c(109)
Jan 19 02:11:10 online_gdms_ssh_mexico_city_20220607 sipproxy[7526]: INFO:
<core> [mem/tlsf_malloc.c:1238]: tlsf_sums(): count= 338 size= 59696
bytes from tls: tls_init.c: crypto/lhash/lhash.c(51)
Jan 19 02:11:10 online_gdms_ssh_mexico_city_20220607 sipproxy[7526]: INFO:
<core> [mem/tlsf_malloc.c:1238]: tlsf_sums(): count= 1 size= 8192
bytes from core: tcp_main.c: init_tcp(6000)
Jan 19 02:11:10 online_gdms_ssh_mexico_city_20220607 sipproxy[7526]: INFO:
<core> [mem/tlsf_malloc.c:1238]: tlsf_sums(): count= 1 size= 32768
bytes from core: tcp_main.c: init_tcp(5994)
Jan 19 02:11:10 online_gdms_ssh_mexico_city_20220607 sipproxy[7526]: INFO:
<core> [mem/tlsf_malloc.c:1238]: tlsf_sums(): count= 1 size= 56
bytes from core: tcp_main.c: init_tcp(5985)
Jan 19 02:11:10 online_gdms_ssh_mexico_city_20220607 sipproxy[7526]: INFO:
<core> [mem/tlsf_malloc.c:1238]: tlsf_sums(): count= 1 size= 56
bytes from core: tcp_main.c: init_tcp(5978)
Jan 19 02:11:10 online_gdms_ssh_mexico_city_20220607 sipproxy[7526]: INFO:
<core> [mem/tlsf_malloc.c:1238]: tlsf_sums(): count= 1 size= 56
bytes from core: tcp_main.c: init_tcp(5971)
Jan 19 02:11:10 online_gdms_ssh_mexico_city_20220607 sipproxy[7526]: INFO:
<core> [mem/tlsf_malloc.c:1238]: tlsf_sums(): count= 1 size= 56
bytes from core: tcp_main.c: init_tcp(5965)
Jan 19 02:11:10 online_gdms_ssh_mexico_city_20220607 sipproxy[7526]: INFO:
<core> [mem/tlsf_malloc.c:1238]: tlsf_sums(): count= 1 size= 56
bytes from core: tcp_main.c: init_tcp(5953)
Jan 19 02:11:10 online_gdms_ssh_mexico_city_20220607 sipproxy[7526]: INFO:
<core> [mem/tlsf_malloc.c:1238]: tlsf_sums(): count= 1 size= 56
bytes from core: usr_avp.c: init_avps(90)
Jan 19 02:11:10 online_gdms_ssh_mexico_city_20220607 sipproxy[7526]: INFO:
<core> [mem/tlsf_malloc.c:1238]: tlsf_sums(): count= 1 size= 56
bytes from core: usr_avp.c: init_avps(89)
Jan 19 02:11:10 online_gdms_ssh_mexico_city_20220607 sipproxy[7526]: INFO:
<core> [mem/tlsf_malloc.c:1238]: tlsf_sums(): count= 1 size= 16384
bytes from core: dst_blacklist.c: init_dst_blacklist(437)
Jan 19 02:11:10 online_gdms_ssh_mexico_city_20220607 sipproxy[7526]: INFO:
<core> [mem/tlsf_malloc.c:1238]: tlsf_sums(): count= 1 size= 56
bytes from core: dst_blacklist.c: init_dst_blacklist(430)
Jan 19 02:11:10 online_gdms_ssh_mexico_city_20220607 sipproxy[7526]: INFO:
<core> [mem/tlsf_malloc.c:1238]: tlsf_sums(): count= 2 size= 112
bytes from core: timer.c: timer_alloc(514)
Jan 19 02:11:10 online_gdms_ssh_mexico_city_20220607 sipproxy[7526]: INFO:
<core> [mem/tlsf_malloc.c:1238]: tlsf_sums(): count= 1 size= 56
bytes from core: dns_cache.c: init_dns_cache(369)
Jan 19 02:11:10 online_gdms_ssh_mexico_city_20220607 sipproxy[7526]: INFO:
<core> [mem/tlsf_malloc.c:1238]: tlsf_sums(): count= 1 size= 16384
bytes from core: dns_cache.c: init_dns_cache(361)
Jan 19 02:11:10 online_gdms_ssh_mexico_city_20220607 sipproxy[7526]: INFO:
<core> [mem/tlsf_malloc.c:1238]: tlsf_sums(): count= 1 size= 56
bytes from core: dns_cache.c: init_dns_cache(354)
Jan 19 02:11:10 online_gdms_ssh_mexico_city_20220607 sipproxy[7526]: INFO:
<core> [mem/tlsf_malloc.c:1238]: tlsf_sums(): count= 1 size= 56
bytes from core: dns_cache.c: init_dns_cache(345)
Jan 19 02:11:10 online_gdms_ssh_mexico_city_20220607 sipproxy[7526]: INFO:
<core> [mem/tlsf_malloc.c:1238]: tlsf_sums(): count= 1 size= 56
bytes from core: timer.c: init_timer(283)
Jan 19 02:11:10 online_gdms_ssh_mexico_city_20220607 sipproxy[7526]: INFO:
<core> [mem/tlsf_malloc.c:1238]: tlsf_sums(): count= 1 size= 16384
bytes from core: timer.c: init_timer(282)
Jan 19 02:11:10 online_gdms_ssh_mexico_city_20220607 sipproxy[7526]: INFO:
<core> [mem/tlsf_malloc.c:1238]: tlsf_sums(): count= 1 size= 56
bytes from core: timer.c: init_timer(281)
Jan 19 02:11:10 online_gdms_ssh_mexico_city_20220607 sipproxy[7526]: INFO:
<core> [mem/tlsf_malloc.c:1238]: tlsf_sums(): count= 1 size= 56
bytes from core: timer.c: init_timer(280)
Jan 19 02:11:10 online_gdms_ssh_mexico_city_20220607 sipproxy[7526]: INFO:
<core> [mem/tlsf_malloc.c:1238]: tlsf_sums(): count= 1 size= 56
bytes from core: timer.c: init_timer(269)
Jan 19 02:11:10 online_gdms_ssh_mexico_city_20220607 sipproxy[7526]: INFO:
<core> [mem/tlsf_malloc.c:1238]: tlsf_sums(): count= 1 size= 56
bytes from core: timer.c: init_timer(237)
Jan 19 02:11:10 online_gdms_ssh_mexico_city_20220607 sipproxy[7526]: INFO:
<core> [mem/tlsf_malloc.c:1238]: tlsf_sums(): count= 1 size= 278544
bytes from core: timer.c: init_timer(220)
Jan 19 02:11:10 online_gdms_ssh_mexico_city_20220607 sipproxy[7526]: INFO:
<core> [mem/tlsf_malloc.c:1238]: tlsf_sums(): count= 1 size= 56
bytes from core: timer.c: init_timer(219)
Jan 19 02:11:10 online_gdms_ssh_mexico_city_20220607 sipproxy[7526]: INFO:
<core> [mem/tlsf_malloc.c:1238]: tlsf_sums(): count= 1 size= 56
bytes from core: timer.c: init_timer(206)
Jan 19 02:11:10 online_gdms_ssh_mexico_city_20220607 sipproxy[7526]: INFO:
<core> [mem/tlsf_malloc.c:1238]: tlsf_sums(): count= 1 size= 64
bytes from core: cfg/cfg_struct.c: cfg_child_cb_new(830)
Jan 19 02:11:10 online_gdms_ssh_mexico_city_20220607 sipproxy[7526]: INFO:
<core> [mem/tlsf_malloc.c:1238]: tlsf_sums(): count= 1 size= 56
bytes from core: cfg/cfg_struct.c: sr_cfg_init(361)
Jan 19 02:11:10 online_gdms_ssh_mexico_city_20220607 sipproxy[7526]: INFO:
<core> [mem/tlsf_malloc.c:1238]: tlsf_sums(): count= 1 size= 56
bytes from core: cfg/cfg_struct.c: sr_cfg_init(354)
Jan 19 02:11:10 online_gdms_ssh_mexico_city_20220607 sipproxy[7526]: INFO:
<core> [mem/tlsf_malloc.c:1238]: tlsf_sums(): count= 1 size= 56
bytes from core: cfg/cfg_struct.c: sr_cfg_init(347)
Jan 19 02:11:10 online_gdms_ssh_mexico_city_20220607 sipproxy[7526]: INFO:
<core> [mem/tlsf_malloc.c:1238]: tlsf_sums(): count= 1 size= 56
bytes from core: cfg/cfg_struct.c: sr_cfg_init(335)
Jan 19 02:11:10 online_gdms_ssh_mexico_city_20220607 sipproxy[7526]: INFO:
<core> [mem/tlsf_malloc.c:1238]: tlsf_sums(): count= 1 size= 56
bytes from core: cfg/cfg_struct.c: sr_cfg_init(323)
Jan 19 02:11:10 online_gdms_ssh_mexico_city_20220607 sipproxy[7526]: INFO:
<core> [mem/tlsf_malloc.c:1238]: tlsf_sums(): count= 38812 size= 2314968
bytes from tls: tls_init.c: crypto/threads_pthread.c(42)
#### SIP Traffic
None
### Possible Solutions
None
### Additional Information
[root@localhost ~]# /opt/kamailio/sbin/kamailio -V
version: kamailio 4.4.7 (x86_64/linux)
flags: STATS: Off, USE_TCP, USE_TLS, USE_SCTP, TLS_HOOKS, 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_LISTEN 16,
MAX_URI_SIZE 1024, BUF_SIZE 65535, DEFAULT PKG_SIZE 8MB
poll method support: poll, epoll_lt, epoll_et, sigio_rt, select.
id: unknown
compiled on 09:53:48 Aug 28 2024 with gcc 4.9.4
* **Operating System**:
[root@localhost ~]# uname -a
Linux localhost.localdomain 3.10.0-1160.el7.x86_64 #1 SMP Mon Oct 19 16:18:59
UTC 2020 x86_64 x86_64 x86_64 GNU/Linux
--
Reply to this email directly or view it on GitHub:
https://github.com/kamailio/kamailio/issues/3981
You are receiving this because you are subscribed to this thread.
Message ID: <kamailio/kamailio/issues/3...@github.com>
_______________________________________________
Kamailio (SER) - Development Mailing List
To unsubscribe send an email to sr-dev-le...@lists.kamailio.org