Wednesday, October 3, 2007

[asterisk-users] How to get asterisk to take a dump?

I have an asterisk process that is consuming over 100mb (according to
"top"). "Show channels" says "167 active channels and 53 active calls."

It's an old install -- 1.2.7.1, but it has custom code that needs to be
updated before moving to a more recent release.

I'm assuming that 100mb is indicative of a memory leak (probably in my
code).

How can I get a dump (preferably without disrupting production) so I can
poke around in it (using gdb) and what's a good strategy for finding
memory leaks?

Thanks in advance,
------------------------------------------------------------------------
Steve Edwards sedwards@sedwards.com Voice: +1-760-468-3867 PST
Newline Fax: +1-760-731-3000

_______________________________________________
--Bandwidth and Colocation Provided by http://www.api-digital.com--

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:

http://lists.digium.com/mailman/listinfo/asterisk-users

No comments:

Post a Comment