ivanuschak left a comment (kamailio/kamailio#4257)

Memory leak occurs, because `dispatcher` module sends ping requests (OPTIONS) 
within a dedicated kamailio process called `slow timer` and during this ping 
request processing the memory for AVP is allocated within this `slow timer` 
process.
But the AVP releasing procedure is called when kamailio receives reply on the 
OPTIONS (or timeout), and it's always done by kamailio processes called `udp 
receiver` or `tcp receiver`, but the AVP release is never called from `slow 
timer` process. This makes `slow timer` process continiously accumulating 
shared memory and never release it.

Possible fix for this memory leak is proposed in this PR - 
https://github.com/kamailio/kamailio/pull/4258
When kamailio is running with this fix applied then memory leaking is not 
observed.

-- 
Reply to this email directly or view it on GitHub:
https://github.com/kamailio/kamailio/issues/4257#issuecomment-2905750721
You are receiving this because you are subscribed to this thread.

Message ID: <kamailio/kamailio/issues/4257/2905750...@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!

Reply via email to