[Kamailio-Users] memlog and mem_dbg : kamailio 3.0.0

Klaus Darilion klaus.mailinglists at pernau.at
Tue Jan 5 23:04:17 CET 2010


http://sip-router.org/wiki/cookbooks/core-cookbook/devel#memdbg

regards
klaus

On 05.01.2010 20:35, Ricardo Martinez wrote:
> Hello.
>
> I have a doubt about the memlog and memdbg log levels.
>
> I have in my configuration file the next lines :
>
> debug=2 # debug level (cmd line: -dddddddddd)
>
> fork=yes
>
> log_stderror=no # (cmd line: -E)
>
> log_facility=LOG_LOCAL0
>
> children=4
>
> port=5060
>
> memdbg=0
>
> memlog=0
>
> I was expecting not to see any memory debugs, instead I have this lines
> in the log file :
>
> Jan 5 16:20:14 - /usr/local/sbin/kamailio[16672]: WARNING: <core>
> [mem/q_malloc.c:406]: qm_malloc(0x826db60, 8) returns address 0x82f9408
> frag. 0x82f93f0 (size=8) on 1 -th hit
>
> Jan 5 16:20:14 - /usr/local/sbin/kamailio[16672]: WARNING: <core>
> [mem/q_malloc.c:428]: qm_free(0x826db60, 0x82f9408), called from
> nathelper: nathelper.c: nh_timer(3252)
>
> Jan 5 16:20:14 - /usr/local/sbin/kamailio[16672]: WARNING: <core>
> [mem/q_malloc.c:450]: qm_free: freeing frag. 0x82f93f0 alloc\'ed from
> nathelper: nathelper.c: nh_timer(3143)
>
> Is this ok?
>
> How can I remove such debug?
>
> Regards,
>
> Ricardo Martinez
>
>
>
> _______________________________________________
> Kamailio (OpenSER) - Users mailing list
> Users at lists.kamailio.org
> http://lists.kamailio.org/cgi-bin/mailman/listinfo/users
> http://lists.openser-project.org/cgi-bin/mailman/listinfo/users




More information about the sr-users mailing list