[Asterisk-Dev] Re: Memory Leak in Asterisk 1.0.0?

Steven Critchfield critch at basesys.com
Mon Dec 6 08:46:04 MST 2004


On Sun, 2004-12-05 at 14:23 -0500, Francois Lambert wrote:
> Basically, the memory using TOP keeps increasing and if we don't stop
> asterisk at the end of each day, it will eventually coredump most of the
> time in memory allocation or the quality of the voice will start
> degrading.

So you have had asterisk coredump? 

If you are basing the memory usage by the amount of memory free, you
need to take into account that the OS will try and cache any files that
it touches till RAM is full. The cached version of the files will be
discarded if more RAM is needed.

> On Sat, 2004-12-04 at 10:14 -0500, Francois Lambert wrote: 
> > Does anyone have experience any sign of memory leak with Asterisk
> 1.0.0.
> > I do use chan_agent (AgentLogin) and app_queue along with chan_iax2
> > quite intensively and I always finish the day with 125M of memory
> being
> > used.
> 
> As usual for this question, how are you measuring the memory usage? 
> 
> My main asterisk install has had asterisk running over 17 weeks yet
> memory usage for the whole of the machine is under 256 megs. We don't
> use any agents, just zap and iax channels, and AGI. That memory usage
> also includes a database that gets only a few queries a week. Granted I
> am pre 1.0, but I love to point out how stable pre 1.0 releases where.
-- 
Steven Critchfield <critch at basesys.com>




More information about the asterisk-dev mailing list