[OpenSIPS-Users] Possible memory leak related to AVPs

Bogdan-Andrei Iancu bogdan at opensips.org
Wed May 13 17:44:15 CEST 2015


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
> Users at lists.opensips.org
> http://lists.opensips.org/cgi-bin/mailman/listinfo/users

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.opensips.org/pipermail/users/attachments/20150513/ebeea181/attachment.htm>


More information about the Users mailing list