#604 MI_HTTP

modules (454)

There appears to be an issue where the http connection hangs, I have experienced the problem on the latest revision, 9561.

I believe that this change is reacently introduced as the previous version which was working fine was when ticket 3590411 was closed on 2012-11-27.


  • Ovidiu Sas

    Ovidiu Sas - 2013-01-16

    The fix for 3590411 could not introduce an http connection hang.
    Please provide more details about the hang:
    - which mi commands did you use?
    - how many simultaneous connections do you have?
    - do you connect via a browser or do you have a script that connects to opensips?
    - how often do you run mi commands over mi_http interface?


  • Digipigeon

    Digipigeon - 2013-01-16

    Hello Ovidiu,

    When the fix was applied to ticket 3590411 - Everything was working at this point, at some point after this there must have been an error introduced.

    Connections would have been less than 10 at this point in time.

    Command used: profile_get_values

    It was connected via script that has been stable and is still stable on non-upgraded versions, this runs through a curl type connection from php.

    We probably process 10,000 requests per node per day.

    Regards Jonathan

  • Ovidiu Sas

    Ovidiu Sas - 2013-01-16

    Hello Jonathan,

    The fix for the memory leak is this one:
    And this is the only one that was applied.
    You could reverse the fix and test the latest revision without the fix.

    Do you see any errors in the logs?
    When this is happening, does opensips recovers itself from it?
    How do you detect this hung?
    When the hung happens, it happens for all scripts (you mentioned that there are several scripts pooling the profiles)?
    How often (per script) do you pull the profile values?


  • Bogdan-Andrei Iancu

    • assigned_to: nobody --> osas
  • Ovidiu Sas

    Ovidiu Sas - 2013-04-20

    Any updates on this one?

  • Digipigeon

    Digipigeon - 2013-04-20

    Hello ovidiu,

    I have just revisited this, I moved from http since experiencing these issues. I have just re-enabled and there does not appear to be a problem any more.

    Thanks for your time.

    Kind Regards


  • Ovidiu Sas

    Ovidiu Sas - 2013-04-20
    • status: open --> closed-invalid

Log in to post a comment.