Memory Leak
I am using Asterisk 16.30 inside Freepbx, with commercial modules, purchased from Sangoma and Symphony. After a few hours my memory usage reaches 900 GB, no kidding, in a box with 1 TB of RAM. The question is: how can I determine what is causing the memory leak? Can somebody send me instructions to find out what module is killing my box? FreePBX is 100% updated.
Before I contact a vendor I need understand what module is responsible for this.
Alternatively, I would hire a consultant to login remotely via SSH and do the work. I am an businessman, not an engineer.
2 thoughts on - Memory Leak
There is some documentation on the wiki, here:
https://docs.asterisk.org/latest/Development/Debugging/Memory-Leak-Debugging/
The easiest way is recompile with MALLOC_DEBUG. You can then use “memory show summary” to narrow it down to a module, and “memory show allocations” to narrow it down to specific leaks.
NA
—
A memory leak can be challenging to diagnose, but there are several steps you can take to identify the cause within your Asterisk/FreePBX setup. Here’s a general approach to help you find the module or component responsible for the memory leak:
Monitor System Resources Identify Suspected Modules Enable Debugging and logging Stress Testing and Isolating Modules Update and Patch Modules Reach Out for support
1.
–
Tahir Almas Managing Partner ICT Innovations http://www.ictinnovations.com Leveraging open source in ICT