[Asterisk-Users] memory leak?

Roy Sigurd Karlsbakk roy at karlsbakk.net
Fri Aug 1 02:36:24 MST 2003


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.




More information about the asterisk-users mailing list