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

Dani Popa dani.popa at gmail.com
Tue Aug 23 18:02:48 CEST 2011


Hi,

I think now the logs should be fine and you can find them at: 
http://92.55.132.13/loca7.log_v1.tar.gz


root at test:/var/log# opensips -V
version: opensips 1.6.4-2-tls (i386/linux)
flags: STATS: Off, USE_IPV6, USE_TCP, USE_TLS, USE_SCTP, DISABLE_NAGLE, 
USE_MCAST, SHM_MEM, SHM_MMAP, PKG_MALLOC, DBG_QM_MALLOC, 
FAST_LOCK-ADAPTIVE_WAIT
ADAPTIVE_WAIT_LOOPS=1024, MAX_RECV_BUFFER_SIZE 262144, MAX_LISTEN 16, 
MAX_URI_SIZE 1024, BUF_SIZE 65535
poll method support: poll, epoll_lt, epoll_et, sigio_rt, select.
svnrevision: 2:8256M
@(#) $Id: main.c 7530 2010-12-13 19:07:53Z bogdan_iancu $
main.c compiled on 05:48:37 Aug 19 2011 with gcc 4.5.2


Thanks,
Dani Popa

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