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

Bogdan-Andrei Iancu bogdan at opensips.org
Fri Aug 19 16:31:47 CEST 2011


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
>


-- 
Bogdan-Andrei Iancu
OpenSIPS eBootcamp - 19th of September 2011
OpenSIPS solutions and "know-how"




More information about the Users mailing list