[OpenSIPS-Users] Not enough free memory, will atempt defragmenation

Dani Popa dani.popa at gmail.com
Fri Aug 19 18:28:22 CEST 2011


Hi Bogdan,

I did and solved compliling opensips with -DDBG_QM_MALLOC.

Thanks,
Dani


On 08/19/11 17:31, Bogdan-Andrei Iancu wrote:
> Hi Dani,
>
> You can not have comments in multi-line assignments....
>
> So, instead of
>
> DEFS+= $(extra_defs) \
> .
>          -DCHANGEABLE_DEBUG_LEVEL \
>          #-DF_MALLOC \
>          -DDBG_QM_MALLOC \
>          #-DDBG_F_MALLOC \
>
> you should do :
>
> DEFS+= $(extra_defs) \
> .
>          -DCHANGEABLE_DEBUG_LEVEL \
>          -DDBG_QM_MALLOC \
>          #-DF_MALLOC \
>          #-DDBG_F_MALLOC \
>
>
> BTW, once you compiled in the DBG support, set:
>     memlog=6
>     memdump=1
>
> in order to get only the memory dump without all runtime logs from mem 
> debugger.
>
> Regards,
> Bogdan
>
> On 08/19/2011 01:13 PM, Dani Popa wrote:
>> Hi,
>> True, i changed wrong the Makefiles.defs.
>>
>> I dont know if you need this:
>>
>> if i change Makefile.defs as:
>>
>> DEFS+= $(extra_defs) \
>> .
>> .
>> .
>> .
>>          -DCHANGEABLE_DEBUG_LEVEL \
>>          #-DF_MALLOC \
>>          -DDBG_QM_MALLOC \
>>          #-DDBG_F_MALLOC \
>>
>>
>> opensips will not be compiled with -DDBG_QM_MALLOC
>> I'll come back with goodies,
>>
>> Thanks,
>> Dani
>>
>> On 08/19/11 12:01, Vlad Paiu wrote:
>>> Hello,
>>>
>>> Thanks for the reply.
>>> Unfortunately, It seems that you have not compiled OpenSIPS with 
>>> -DDBG_QM_MALLOC, so please review my last email and see that I also 
>>> suggested editing Makefiles.defs and uncommenting that particular 
>>> line, while commenting -DF_MALLOC.
>>>
>>> If you succesfully do this, opensips -V should show something like :
>>>     ..... SHM_MEM, SHM_MMAP, PKG_MALLOC, DBG_QM_MALLOC .....
>>>
>>> Please do this and return with the logs at shutdown. Thank you.
>>>
>>>
>>> Regards,
>>>
>>
>> _______________________________________________
>> Users mailing list
>> Users at lists.opensips.org
>> http://lists.opensips.org/cgi-bin/mailman/listinfo/users
>>
>
>



More information about the Users mailing list