[OpenSIPS-Users] Memory leak bug or expected behavior with acc_extra?

James Sharp james at fivecats.org
Mon Mar 10 15:08:03 UTC 2025


I had been having some big issues with Opensips chewing its way through 
shared memory to the point of it running out and requiring a restart.

In my config script, I used to have some do_accounting() to write CDRs 
to a mysql table along with some $acc_extra variables for additional CDR 
data.  I had commented out the do_accounting() lines but didn't bother 
with the $acc_extras.   Turns out that was my smoking gun.  After I 
commented out the $acc_extra lines, my shared memory graphs went 
straight flat instead of slowly headed down.

Is this a memory leak bug or an expected behavior with the ACC system? 
I'm running Opensips 3.3 in a docker container.



More information about the Users mailing list