Hello!
We are noticed that after asterisk upgraded from 18 to 20 version, memory leak was beginning. For about 1 month RAM decrease to less than 10% from 80-85%. Command in MALLOC_DEBUG “memory show summary” shows that some files allocate more and more memory and don’t release it, especially “bucket.c”:
After asterisk restart use of memory returns to 80-85%, but begin decrease again.
Asterisk version is 20.9.3.
Can anybody help me to diagnose and solve the problem, please?
Hello!
You are right, I mean available memory.
I see it in zabbix. Beneath is chart, where we see, that on the 18th version of the asterisk the available memory varies between 85-60%, but after upgrade to 20.9.3 available memory is constantly decreasing:
Hello!
asterisk gets incoming calls, records they through MixMonitor application, get (CURL) some variables from application and passes call control in Stasis, also sends results of calls to server after calls hangup. The number of simultaneous calls reaches 80 in maximum, an average - 40.
Server - VMware virtual machine:
RAM - 8GB;
CPU - 6 cores 2992.968 MHz;
OS - RHEL 8.9
Before upgrading to 20.9.3 version of asterisk was not any problems, available memory changes in the range of 85-60%, unused memory was being released.
The Asterisk gets incoming calls, records they through MixMonitor application, get (CURL) some variables from application and passes call control in Stasis, also sends results of calls to server after calls hangup. The number of simultaneous calls reaches 80 in maximum, an average - 40.
Server - VMware virtual machine:
RAM - 8GB;
CPU - 6 cores 2992.968 MHz;
OS - RHEL 8.9
Before upgrading to 20.9.3 version of asterisk was not any problems, available memory changes in the range of 85-60%, unused memory was being released.
Hi!
You right, David. I meant available memory of course.
I see it in Zabbix. There is a chart in the screenshot, where we can see the difference between values of available memory in percentage for 18 version and 20