I ran into a problem last year that took a month to solve. Basically what would happen is Asterisk 11.5/11.6 would start crashing when we did more than 40 concurrent calls for extended periods of time. We were using G729 across the board, call recordings and IVRs.
We tried swopping the servers, reinstalling PIAF, updating source etc. Nothing worked.
Then we enabled don't optimise and better backtraces and recompiled Asterisk.
Turns out the culprit is SQLite. We disabled both the SQLite modules and the problem has never come back again. I couldn't find anything that uses SQLite and have not noticed any adverse effects. I recommend disabling it in future builds as it caused us major frustration!
We tried swopping the servers, reinstalling PIAF, updating source etc. Nothing worked.
Then we enabled don't optimise and better backtraces and recompiled Asterisk.
Turns out the culprit is SQLite. We disabled both the SQLite modules and the problem has never come back again. I couldn't find anything that uses SQLite and have not noticed any adverse effects. I recommend disabling it in future builds as it caused us major frustration!