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 - #4258
When kamailio is running with this fix applied then memory leaking is not observed.


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/4257/2905750721@github.com>