Hello,
Thanks for the reply.
I just tried that again on the latest kamailio 5.8.3. The same memory leak symptom
happens. After handling 100 registrations, and after all the 100 registrations expires,
the Memory still-in-use summary (shm) report shows that there is memory leak related to
ipsec.
Sep 9 18:20:02 imstester04 /usr/local/sbin/kamailio[3146387]: WARNING: <core>
[main.c:644]: cleanup(): Memory still-in-use summary (shm):
Sep 9 18:20:02 imstester04 /usr/local/sbin/kamailio[3146387]: WARNING: qm_sums:
qm_sums(): summarizing all alloc'ed. fragments:
...
Sep 9 18:20:02 imstester04 /usr/local/sbin/kamailio[3146387]: WARNING: qm_sums:
qm_sums(): count= 100 size= 5520 bytes from ims_ipsec_pcscf: sec_agree.c:
parse_sec_agree(142)
Sep 9 18:20:02 imstester04 /usr/local/sbin/kamailio[3146387]: WARNING: qm_sums:
qm_sums(): count= 100 size= 1952 bytes from ims_ipsec_pcscf: sec_agree.c:
parse_sec_agree(149)
Sep 9 18:20:02 imstester04 /usr/local/sbin/kamailio[3146387]: WARNING: qm_sums:
qm_sums(): count= 100 size= 1600 bytes from ims_registrar_pcscf: sec_agree.c:
parse_sec_agree(139)
Sep 9 18:20:02 imstester04 /usr/local/sbin/kamailio[3146387]: WARNING: qm_sums:
qm_sums(): count= 100 size= 4816 bytes from ims_registrar_pcscf: sec_agree.c:
parse_sec_agree(132)
Sep 9 18:20:02 imstester04 /usr/local/sbin/kamailio[3146387]: WARNING: qm_sums:
qm_sums(): count= 200 size= 3664 bytes from ims_registrar_pcscf: sec_agree.c:
process_sec_agree_param(90)
Sep 9 18:20:02 imstester04 /usr/local/sbin/kamailio[3146387]: WARNING: qm_sums:
qm_sums(): count= 200 size= 3360 bytes from ims_registrar_pcscf: sec_agree.c:
process_sec_agree_param(84)
Sep 9 18:20:02 imstester04 /usr/local/sbin/kamailio[3146387]: WARNING: qm_sums:
qm_sums(): count= 200 size= 4192 bytes from ims_registrar_pcscf: sec_agree.c:
process_sec_agree_param(88)
Sep 9 18:20:02 imstester04 /usr/local/sbin/kamailio[3146387]: WARNING: qm_sums:
qm_sums(): count= 200 size= 3776 bytes from ims_registrar_pcscf: sec_agree.c:
process_sec_agree_param(86)
Sep 9 18:20:02 imstester04 /usr/local/sbin/kamailio[3146387]: WARNING: qm_sums:
qm_sums(): count= 200 size= 35952 bytes from ims_registrar_pcscf: sec_agree.c:
parse_sec_agree(148)
Any idea on that? Please advise.
Thank you.
Regards,
Hong