[OpenSIPS-Users] Memory Leak
Ben Newlin
Ben.Newlin at genesys.com
Tue May 15 08:22:51 EDT 2018
Hi,
We have recently upgraded to OpenSIPs 2.3.3 and after deploying to our production environment we have found a significant memory leak. The leak is being reported by OpenSIPS’ statistics only; the used memory of the machine itself is not increasing.
I believe I have been able to reproduce the leak with locally testing with a relatively small number of transactions. These stats are from opensipsctl get_statistics command for the shmem group. You can see the used memory is increasing linearly with every set of transactions:
Load Total Size Used Size Real Used Size Max Used Size Free Size Fragments
Cold 134217728 2692232 2738472 2738480 131479256 521
4K Transactions 134217728 2849928 3334264 21373232 130883464 4529
8K Transactions 134217728 3026600 3609144 21676512 130608584 8537
12K Transactions 134217728 3208504 3884720 21944384 130333008 12537
16K Transactions 134217728 3392480 4160832 22144904 130056896 16537
This is from our SBC/LB instance, which does not use dialogs or topology_hiding. It is only transactionally aware.
I need assistance to gather further information to help debug this issue. Can you please advise what would be required?
I have looked over the guide [1], but I cannot use the make menuconfig option to set compile flags. Our build system is completely automated and I cannot pause it to take manual action prior to compile. Will the process described on that page for OpenSIPS 1.7 still work in 2.3.3? Can I manually edit the Makefile.defs as described? Once I have this enabled, what logs do you need?
Is there anything else that is required? I’m continuing to run tests to see if I can isolate a specific module that is causing the leak.
[1] - http://www.opensips.org/Documentation/TroubleShooting-OutOfMem
Thanks,
Ben Newlin
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.opensips.org/pipermail/users/attachments/20180515/cce6ee46/attachment.html>
More information about the Users
mailing list