Hello,

We have noticed the exact issue on our own systems (Kamailio 5.8.2 on Ubuntu 22.04.4 LTS). Every time we run

kamctl rpc tls.reload

the "shmem:used_size" output from the 'kamctl stats shmem' command increases by about 3.2MB.

This looks like a memory leak, so I tried to find which module could be increasing its memory use by running the following commands:

kamcmd mod.stats all shm
kamcmd pkg.stats
kamcmd mod.stats all pkg

but if there are any changes before and after the restart those are minimal and they do not amount to anything approximating 3.19 MB for every reload.

I have attached the before and after outputs of the above commands in case these help.

after_mod.stats_all_pkg.txt
after_mod.stats_all_shm.txt
after_pkg.stats.txt
after_stats_shmem.txt

before_mod.stats_all_pkg.txt
before_mod.stats_all_shm.txt
before_pkg.stats.txt
before_stats_shmem.txt


Reply to this email directly, view it on GitHub, or unsubscribe.
You are receiving this because you are subscribed to this thread.Message ID: <kamailio/kamailio/issues/3823/2628127814@github.com>