[Asterisk-Users] memory leak?

Mark Spencer markster at digium.com
Sat Aug 2 12:56:25 MST 2003


You can turn on Asterisk's internal malloc debugging in the Makefile.
That can help track down the problem.

Mark

On Fri, 1 Aug 2003, Roy Sigurd Karlsbakk wrote:

> hi all
>
> seems there's a memory leak in asterisk somewhere. probably in chan_mgcp. It
> seems like 2048kB is allocated but not released each time I lift the handset.
> This is, however, never released. So...
>
> oslpbx:~/debug/20030801112939# ps axfv|grep asterisk | tail -1
>  3206 pts/0    S      0:00      0   410 35601 6024  1.1              \_
> /usr/sbin/asterisk -gvvvvcp
> (lift handset)
> oslpbx:~/debug/20030801112939# ps axfv|grep asterisk | tail -1
>  3212 pts/0    S      0:00      2   410 37669 6072  1.1              \_
> /usr/sbin/asterisk -gvvvvcp
> (hangup)
> oslpbx:~/debug/20030801112939# ps axfv|grep asterisk | tail -1
>  3206 pts/0    S      0:00      0   410 37669 6076  1.1              \_
> /usr/sbin/asterisk -gvvvvcp
>
> I don't know the code in asterisk that well... I tried stracing it, but I
> couldn't find anything
>
> roy
> --
> Roy Sigurd Karlsbakk, Datavaktmester
> ProntoTV AS - http://www.pronto.tv/
> Tel: +47 2254 5070 (work)
>      +47 9801 3356 (mobile)
>
> Computers are like air conditioners.
> They stop working when you open Windows.
>
> _______________________________________________
> Asterisk-Users mailing list
> Asterisk-Users at lists.digium.com
> http://lists.digium.com/mailman/listinfo/asterisk-users
>




More information about the asterisk-users mailing list