[OpenSIPS-Devel] [ opensips-Bugs-3601037 ] MI_HTTP

SourceForge.net noreply at sourceforge.net
Sat Apr 20 23:42:03 CEST 2013


Bugs item #3601037, was opened at 2013-01-15 15:02
Message generated for change (Comment added) made by digipigeon
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=1086410&aid=3601037&group_id=232389

Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: modules
Group: None
Status: Open
Resolution: None
Priority: 5
Private: No
Submitted By: Digipigeon (digipigeon)
Assigned to: Ovidiu Sas (osas)
Summary: MI_HTTP

Initial Comment:
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.

----------------------------------------------------------------------

>Comment By: Digipigeon (digipigeon)
Date: 2013-04-20 14:42

Message:
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

Jonathan

----------------------------------------------------------------------

Comment By: Ovidiu Sas (osas)
Date: 2013-04-19 20:45

Message:
Any updates on this one?

----------------------------------------------------------------------

Comment By: Ovidiu Sas (osas)
Date: 2013-01-15 16:47

Message:
Hello Jonathan,

The fix for the memory leak is this one:
http://opensips.svn.sourceforge.net/viewvc/opensips/branches/1.8/modules/mi_http/http_fnc.c?r1=9459&r2=9458&pathrev=9459
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?

-ovidiu

----------------------------------------------------------------------

Comment By: Digipigeon (digipigeon)
Date: 2013-01-15 16:35

Message:
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

----------------------------------------------------------------------

Comment By: Ovidiu Sas (osas)
Date: 2013-01-15 16:23

Message:
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?

Thanks,
Ovidiu

----------------------------------------------------------------------

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=1086410&aid=3601037&group_id=232389



More information about the Devel mailing list