#592 HTTP_MI memory leak

1.8.x
closed-fixed
modules (454)
5
2012-11-29
2012-11-27
Digipigeon
No

There appears to be a memory leak in the http_mi module, Opensips 1.8.2.

When package memory is set to 4MB the memory leak becomes apparent after a few hours.

When the package memory is set to 64MB after a few days.

The HTTP Requests begin to fail with Error 500 and the log shows "ERROR:core:init_mi_tree: no more pkg mem".

This has only started to happen after switching from xmlrpc to mi_http.

Regards Jonathan

Discussion

  • Ovidiu Sas

    Ovidiu Sas - 2012-11-27

    Hello Jonathan,

    Do you run a particular set of commands?
    Can you post the HTTP requests that you are using?
    How many HTTP requests do you run per minute?

    Thanks,
    Ovidiu

     
  • Ovidiu Sas

    Ovidiu Sas - 2012-11-27

    Hello Jonathan,

    I committed a fix in trunk.
    Can you test it and let me know the results?

    Thanks,
    Ovidiu

     
  • Vladut-Stefan Paiu

    • assigned_to: nobody --> osas
     
  • Digipigeon

    Digipigeon - 2012-11-29

    I have tested the patched version vs the unpatched version for about 24 hours now.

    The patched version does not exhibit the original problem, however I will let this continue to run for a few more days and update you further.

    Regards Jonathan

     
  • Ovidiu Sas

    Ovidiu Sas - 2012-11-29
    • status: open --> closed-fixed
     
  • Ovidiu Sas

    Ovidiu Sas - 2012-11-29

    Fixed on Revision: 9459.
    Please re-open if still an issue.

    Regards,
    Ovidiu Sas

     

Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:





No, thanks