Dear Maintainer,
* What led up to the situation?
Executing asterisk in a system configured with around 250 VoIP phones using PJSIP, my 8 GB RAM's server rapidly (~ 2 days) rans out of memory.
The phones are configured for registring in 180 seconds, so I suspect the memory leak is due to the SIP registry process.
Another symptom that enhances my suspicion is that I see the memory allocated to the asterisk process to increase even without any calls being made.
* What exactly did you do (or not do) that was effective (or
ineffective)?
To workaround this issue I needed to restart every day the asterisk service in a cron job.
* What was the outcome of this action?
The server regains the memory lost.
Hi again, Adding some more info on this issue. Using FreePBX statistics dashboard, I've also noticed an increase on the network traffic and CPU usage. All of these drop drastically as soon I restart the Asterisk service. I've backported asterisk testing version (1:16.10.0~dfsg-1) to buster and, running this version on my production server I verified that this issue is fixed on it. Best regards, José Gonçalves
Hi, Any updates regarding this bug ? I'm currently building my own asterisk backport from testing sources in order to "fix" this issue on my server. If this bug is not to be fixed in buster, is there any chances in providing asterisk 16.15 packages in buster-backports ? Best regards, José Gonçalves
I also see this problem, unfortunately.
Forgot to Cc the bug ... Hi Chris, hrm, Jose reported this issue appearing with the stable release only (16.16.1 from his (back then) private backport fixing it), you tagged the bug as still found in 16.16.1, and I cannot see this issue at all. Unfortunately I don't know what to do with this bug. Bernhard
Hi, I'm currently using the asterisk build from buster-backports (16.16.1) and the leak does not happen on it. Best regards, José Gonçalves
Hi Bernhard, * Bernhard Schmidt <berni@debian.org> [210428 15:41]: I must say I'm also at a loss with this bug. The memory leak has "vanished" after restarting enough or something. :-( Chris
I confirm that this bug only happens with the buster release (16.2.1). I'm currently using the version from buster-backports (16.16.1) without any problem. Best regards, José Gonçalves