Version 1.4.22-r5 (current install) and seen in 1.4.21.1
We have been experiencing a steady increase in memory usage from asterisk over time; “memory show summary” shows that utils.c is using almost all of the memory.
And “memory show allocation” shows most of that is used by add_string_pool.
We have 195 sip peers, all using G711U with no transcending. We have no problems with CPU, just with mem.
195 sip peers [Monitored: 182 online, 13 offline Unmonitored: 0 online, 0 offline]
After about 2500 calls and 21 hours since the last restart of the process here is what we see…
Does anyone know for what reason this add_string_pool function is called? There is a perl script that runs before the Dial() function and then another perl script runs durring the h extension via DeadAGI. Maybe memory isnt being cleaned up after the scripts run? Is there anything in the dialplan that could cause this?
I am looking for any info or help possible. I really dont like the idea of running a cron job every night to restart the process.
Thanks,
J