[asterisk-dev] Debugging memory use in Asterisk
Benny Amorsen
benny+usenet at amorsen.dk
Mon May 18 07:41:45 CDT 2009
Tzafrir Cohen <tzafrir.cohen at xorcom.com> writes:
> 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
I had to restart the Asterisk which suffered from the problem, and the
problem isn't happening right now.
It may have been caused by the fact that I had a lot of lines in
sip.conf like this (because of a bug in a provisioning system):
register => 4520147920:password@/4520147920
That is, the ip address or host name was missing. It's a bit of a random
guess, but the problem hasn't appeared again.
Anyway, thanks to everyone for the hints for how to debug this! If it
happens again, I'll be sure to try them.
/Benny
More information about the asterisk-dev
mailing list