> 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,
I think, there's no way you can get a coredump without interrupting process.
However you can do "killall -5 asterisk". That would send a "Trace/Breakpoint"
signal to asterisk and it would crash immediately to core - so you can play
with it in gdb.
Regards,
Atis
--
Atis Lezdins
VoIP Developer,
IQ Labs Inc.
atis@iq-labs.net
Skype: atis.lezdins
Cell Phone: +371 28806004
Work phone: +1 800 7502835
_______________________________________________
--Bandwidth and Colocation Provided by http://www.api-digital.com--
asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
No comments:
Post a Comment