Hi All.
During loadtest of kamailio 5.0.1 with topos module I got memory leak in "udp receiver" process
After 1600 sip calls I got 10 Mbytes of free private memory. I set limit to 32 Mbytes
output of kamcmd corex.pkg_summary pid xxx command at begin test and before eom are in attached files.
If you need more info please let me know.
Thank you in advance. -- Best regards, Sergey Basov e-mail: sergey.v.basov@gmail.com
Hello,
thanks for the report and the logs -- I think I fixed it, apparently it was related to handling 100 replies. Can you try with latest 5.0 branch?
Cheers, Daniel
On 21.04.17 15:53, Sergey Basov wrote:
Mr constantin. i can't buy your book from asipto site with paypal. reply an email that say answer soon.
On Fri, Apr 21, 2017 at 7:00 PM, mohsen bay mohsen.b0101@gmail.com wrote:
Hi Daniel,
I recompiled kamailio from 5.0 branch
Seems now memory leak is slower but it is still exist...
Now I have free 12 MBytes of free mem after 2000 calls.
Dump in attach.
If you need more tests - I will do it.
Thank you. -- Best regards, Sergey Basov e-mail: sergey.v.basov@gmail.com
2017-04-21 18:02 GMT+03:00 Sergey Basov sergey.v.basov@gmail.com:
Hello,
it looks like the mysql result is not freed, I will have to check in the code.
Cheers, Daniel
On 21.04.17 21:24, Sergey Basov wrote:
Hello,
I just pushed another patch to master and 5.0 for this, let me know if the results are good now.
Cheers, Daniel
On 21.04.17 22:05, Daniel-Constantin Mierla wrote:
Hi, Daniel.
Thank you for your time and patches!
I just finished load test and after 25000 calls there is no memory leak now.
I have done backport of topos module to kamailio 4.4.5, test it and result is success. I does not very good in using github, so I attached source folder of topos module for kamailio 4.4.5 and patch fileagainst kamailio 4.4.5 source.
May be you or some one other developer will try to include this module to 4.4 source tree.
-- Best regards, Sergey Basov e-mail: sergey.v.basov@gmail.com
2017-04-21 23:20 GMT+03:00 Daniel-Constantin Mierla miconda@gmail.com:
Hello,
thanks for troubleshooting, testing and reporting the results, the feedback helped a lot to solve these issues.
I will look at the patch and see if should be pushed to 4.4 -- iirc, there were quite some changes in topos internals that may be too heavy for backporting.
Cheers, Daniel
On 24.04.17 10:57, Sergey Basov wrote:
Hi, Daniel.
I got it worked for kamailio 4.4.5, there are only changes in path for includes. All other is work for me. -- Best regards, Sergey Basov e-mail: sergey.v.basov@gmail.com
2017-04-24 14:37 GMT+03:00 Daniel-Constantin Mierla miconda@gmail.com: