[OpenSER-Devel] Memory Leak?

Andrew O. Zhukov gnugk at telegroup.com.ua
Fri Jul 18 15:05:20 CEST 2008


Daniel-Constantin Mierla пишет:
> 
> 
> On 07/18/08 15:17, Dan Pascu wrote:
>> It's more likely that this is not a memory leak, but a memory 
>> fragmentation issue. If you happen to run a fifo command like ul_dump 
>> with a lot of active contacts, it'll allocate a lot of small fragments 
>> and the memory gets fragmented. Later even after the memory is freed, 
>> it will not be able to allocate a 500+ byte memory block because the 
>> memory is too fragmented and memory allocation will fail even when 90% 
>> of the pkg_memory is free.
>>   
> Could be fragmentation, but that has to happen due to operations in that 
> process. What is done via fifo affects only the memory of fifo listener 
> process. In SIP workers process can be due to lot of SIP messages 
> processing -- parsing, script variables, db operations,...
> 
> Compile with memory debug and see the log dump, that will give more hints:
> http://www.openser.org/dokuwiki/doku.php/troubleshooting:memory
> 
Let me know if you need something else, like a sip_trace table 
extractions, openser.ini, etc..



More information about the Devel mailing list