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.
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
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
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
Any updates on this one?
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