[asterisk-dev] Tracking down IAX2 memory leak in

Alex Villací­s Lasso a_villacis at palosanto.com
Tue Jun 28 18:57:39 CDT 2011

I am trying to track down the root cause of Asterisk bug #17339 (https://issues.asterisk.org/jira/browse/ASTERISK-17339). In asterisk 1.8.4 and later, if there are many IAX2 extensions registered (20 or more), Asterisk starts eating memory - starts at 60 
Mb, and goes up to 500 Mb after one day. I have found a clue in /proc/ASTERISK_PID/maps that suggests that this is a thread resource mismanagement - possibly stale thread stacks littered at the end of the process memory map. Could you please review my 
short analysis at the bug report and tell me if there is anything wrong with it?

More information about the asterisk-dev mailing list