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](https://github.com/user-attachments/files/18623471/after_mod.stats_all_pkg.txt)
[after_mod.stats_all_shm.txt](https://github.com/user-attachments/files/18623474/after_mod.stats_all_shm.txt)
[after_pkg.stats.txt](https://github.com/user-attachments/files/18623472/after_pkg.stats.txt)
[after_stats_shmem.txt](https://github.com/user-attachments/files/18623473/after_stats_shmem.txt)
[before_mod.stats_all_pkg.txt](https://github.com/user-attachments/files/18623482/before_mod.stats_all_pkg.txt)
[before_mod.stats_all_shm.txt](https://github.com/user-attachments/files/18623481/before_mod.stats_all_shm.txt)
[before_pkg.stats.txt](https://github.com/user-attachments/files/18623484/before_pkg.stats.txt)
[before_stats_shmem.txt](https://github.com/user-attachments/files/18623483/before_stats_shmem.txt)
--
Reply to this email directly or view it on GitHub:
https://github.com/kamailio/kamailio/issues/3823#issuecomment-2628127814
You are receiving this because you are subscribed to this thread.
Message ID: <kamailio/kamailio/issues/3823/2628127...@github.com>
_______________________________________________
Kamailio - Development Mailing List -- sr-dev@lists.kamailio.org
To unsubscribe send an email to sr-dev-le...@lists.kamailio.org
Important: keep the mailing list in the recipients, do not reply only to the
sender!