[Kamailio-Users] PKG memory issues

Daniel-Constantin Mierla miconda at gmail.com
Thu Apr 8 09:40:32 CEST 2010



On 4/7/10 11:37 PM, Iñaki Baz Castillo wrote:
> 2010/4/7 Daniel-Constantin Mierla<miconda at gmail.com>:
>    
>>> It's Kamailio 1.5.1-notls. Now I've compiled 1.5.4-notls and increased
>>> PKG memory to 16.
>>>        
>> if I spot it right on the svn commit log, there was a fix for a leak related
>> to dst_uri when changed from failure route, nothing else important.
>>      
> Would it affect when use LCR module 'next_gw()' funtion in
> failure_route? It creates a new branch internally
>
>
>    
>> Would be good if you can compile with memory debugging, let it run for a
>> while, then send a sigusr2 to a sip worker process to dump the pkg status --
>> that can reveal if it is a leak somewhere.
>>      
> Thanks. I cannot do it in the production server as it's very critical now :)
> But I'll do it in a mirror server generating traffic with SIPp.
>
> Just a question: I usually compile kamailio with "make deb", is it
> compiled with memory debugging? if not, would it be enabled by editing
> Makefile.vars (MEMDBG=1) and running "make deb"?
>    
yes, setting MEMDBG=1 will compile with memory debugging.

Cheers,
Daniel

-- 
Daniel-Constantin Mierla * http://www.asipto.com/ * 
http://twitter.com/miconda * 
http://www.linkedin.com/in/danielconstantinmierla



More information about the Users mailing list