[OpenSIPS-Users] disable_503_translation

Bogdan-Andrei Iancu bogdan at opensips.org
Tue Apr 28 09:01:19 EST 2020


Hi Callum,

Maybe a better approach will be try to identify the potential leak as 
described here -> 
https://opensips.org/Documentation/TroubleShooting-OutOfMem

Best regards,

Bogdan-Andrei Iancu

OpenSIPS Founder and Developer
   https://www.opensips-solutions.com

On 4/28/20 1:38 AM, Callum Guy wrote:
> Hi Bogdan,
>
> I'm still searching for my memory leak, just downgraded from 3.0.2 to
> 3.0.1 and should be able to confirm if that has made a difference in a
> day or two.
>
> During the hunt I've been reviewing the changelog commits - wondered
> if you could check params var created at the link below:
>
> https://github.com/OpenSIPS/opensips/blob/559921962c69575bcdc90c1f03102e6d5c56d776/modules/dialog/dlg_req_within.c#L489
>
> My understanding of memory management in C isn't great but it looks to
> be allocating without a free?
>
> Many thanks,
>
> Callum
>
>
> On Fri, 24 Apr 2020 at 17:16, Callum Guy <callum.guy at x-on.co.uk> wrote:
>> Thanks Bogdan, I realise it was a long shot! There are only minor differences between this and another system i am running so I'm going through eliminating the config differences.
>>
>> Version wise the stable one is 3.0.1 and the leaky one is 3.0.2
>>
>> Slow progress but I will get there eventually!
>>
>> On Fri, 24 Apr 2020, 16:50 Bogdan-Andrei Iancu, <bogdan at opensips.org> wrote:
>>> Hi Callum,
>>>
>>> I 99.9999999999999999999% that that setting cannot generate a leak :)
>>>
>>> Best regards,
>>>
>>> Bogdan-Andrei Iancu
>>>
>>> OpenSIPS Founder and Developer
>>>    https://www.opensips-solutions.com
>>>
>>> On 4/24/20 6:31 PM, Callum Guy wrote:
>>>
>>> Hi All,
>>>
>>> I've been hunting a minor memory leak in my config and wanted to check in with the devs in case it is related to ues of the parameter:
>>>
>>> disable_503_translation=yes
>>>
>>> Here is the implementation link to save you a few seconds:
>>>
>>> https://github.com/OpenSIPS/opensips/blob/7dd1151341b8229cd30e335b246e56938551f6bd/msg_translator.c#L2425
>>>
>>> Is there any chance that this is failing to free the tiny amount it's allocating on each use?
>>>
>>> All the best,
>>>
>>> Callum
>>>
>>>
>>> 0333 332 0000  |  x-on.co.uk  |          |  Coronavirus
>>>
>>> THE ITSPA AWARDS 2020 AND Best ITSP - Mid Market, Best Software and Best Vertical Solution are trade marks of the Internet Telephony Services Providers' Association, used under licence.
>>>
>>> X-on is a trading name of Storacall Technology Ltd a limited company registered in England and Wales.
>>> Registered Office : Avaland House, 110 London Road, Apsley, Hemel Hempstead, Herts, HP3 9SD. Company Registration No. 2578478.
>>> The information in this e-mail is confidential and for use by the addressee(s) only. If you are not the intended recipient, please notify X-on immediately on +44(0)333 332 0000 and delete the
>>> message from your computer. If you are not a named addressee you must not use, disclose, disseminate, distribute, copy, print or reply to this email. Views or opinions expressed by an individual
>>> within this email may not necessarily reflect the views of X-on or its associated companies. Although X-on routinely screens for viruses, addressees should scan this email and any attachments
>>> for viruses. X-on makes no representation or warranty as to the absence of viruses in this email or any attachments.
>>>
>>>
>>> _______________________________________________
>>> Users mailing list
>>> Users at lists.opensips.org
>>> http://lists.opensips.org/cgi-bin/mailman/listinfo/users
>>>
>>>




More information about the Users mailing list