Hi Michael,

You can do "opensipsctl fifo get_statistics tm:" and you have the "inuse_transaction" statistic :
http://www.opensips.org/html/docs/modules/1.11.x/tm.html#id296307

Regards,

Bogdan-Andrei Iancu
OpenSIPS Founder and Developer
http://www.opensips-solutions.com

On 14.05.2015 09:45, Mickael Marrache wrote:

I'm not sure there were no transactions in memory at shutdown.

How can I check this? I didn't find an MI command for that.

*From:*Bogdan-Andrei Iancu [mailto:[email protected]]
*Sent:* Wednesday, May 13, 2015 6:44 PM
*To:* OpenSIPS users mailling list; [email protected]
*Subject:* Re: [OpenSIPS-Users] Possible memory leak related to AVPs

Hi Mickael,

What means "a lot" :) ? I'm asking as if you have 100 transactions in memory (when doing shutdown) and you use ~10 AVPs per INVITE in script -> you have 1000 AVPs in mem.

When doing the shutdown, are any transaction in memory ? (with no active transactions in mem, there are no AVPs in mem).

Regards,

Bogdan-Andrei Iancu
OpenSIPS Founder and Developer
http://www.opensips-solutions.com

On 13.05.2015 17:53, Mickael Marrache wrote:

    Hi,

    We have a memory leak and are trying to find the cause.

    We compiled the call with memory debugging and at shutdown, we see
    a lot of allocated AVPs that are not released.

    opensips[27560]: 277067. N  address=0x2aae957a0330
    frag=0x2aae957a0300 size=24 used=1

    opensips[27560]: alloc'd from usr_avp.c: new_avp(119)

    opensips[27560]: start check=f0f0f0f0f0f0f0f0, end check=
    c0c0c0c0c0c0c0c0, abcdefedabcdefed

    Is it possible to have a memory leak related to AVPs? IIRC
    OpenSIPS handles it internally.

    Thanks,

    Mickael




    _______________________________________________

    Users mailing list

    [email protected]  <mailto:[email protected]>

    http://lists.opensips.org/cgi-bin/mailman/listinfo/users


_______________________________________________
Users mailing list
[email protected]
http://lists.opensips.org/cgi-bin/mailman/listinfo/users

Reply via email to