[sr-dev] Memory fragmentation

Daniel-Constantin Mierla miconda at gmail.com
Wed Aug 15 16:11:50 CEST 2012


Hello,

no, memory join was not enabled before. It was changed from a compile 
time option (define) to a global parameter.

Try with mem_join=1. I would like to see the results, as I couldn't 
really conduct extensive testing for it. If it looks good, we can even 
consider setting it 1 by default.

Cheers,
Daniel

On 8/15/12 4:07 PM, Paul Pankhurst wrote:
> We now seem to be experiencing problems with Kamailio running out of 
> memory after a period of time running our soak test. After dumping the 
> shared memory I can see that there is no memory leak, but the problem 
> is that memory is hugely fragmented with all the free blocks being 
> less that 10k in size, which is too small for the tcp buffer it is 
> trying to allocate memory for.
>
> We've noticed that there is a new kamailio runtime option mem_join 
> that by default is 0. Was the previous default dehaviour the 
> equivalent to this being set to 1?
>
> Thanks
>
> Paul
>
> _______________________________________________
> sr-dev mailing list
> sr-dev at lists.sip-router.org
> http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-dev


-- 
Daniel-Constantin Mierla - http://www.asipto.com
http://twitter.com/#!/miconda - http://www.linkedin.com/in/miconda
Kamailio Advanced Training, Seattle, USA, Sep 23-26, 2012 - http://asipto.com/u/katu
Kamailio Practical Workshop, Netherlands, Sep 10-12, 2012 - http://asipto.com/u/kpw




More information about the sr-dev mailing list