[asterisk-dev] Debugging memory use in Asterisk

Tzafrir Cohen tzafrir.cohen at xorcom.com
Fri May 15 10:13:40 CDT 2009


On Fri, May 15, 2009 at 01:31:41PM +0200, Benny Amorsen wrote:
> I have an Asterisk which uses a lot of memory:
>  8161 asterisk  20   0 5170m 604m 1248 S  0.3 60.3 386:39.32 asterisk
> 
> I would like to see what Asterisk actually uses the memory for. Is there
> a handy way to do that?
> 
> Asterisk version is 1.6.1.0.

Asterisk has memory broken by many modules . Maybe the offending module
can give a hint.

What is the output of:

  pmap `cat /var/run/asterisk/asterisk.pid ` | sort -n -k 2

-- 
               Tzafrir Cohen
icq#16849755              jabber:tzafrir.cohen at xorcom.com
+972-50-7952406           mailto:tzafrir.cohen at xorcom.com
http://www.xorcom.com  iax:guest at local.xorcom.com/tzafrir



More information about the asterisk-dev mailing list