[Asterisk-Users] Re: 1.2b2/mpg123 and memory usage

Waldo Rubinstein waldo at trianet.net
Wed Nov 9 11:10:16 MST 2005


Following up on my post from yesterday, I upgraded two machines to  
1.2rc1.

One of the uses mpg123 and the other one does not. The one that does  
not use mpg123 simply does not offer ANY MOH.

Calls come in through the box which does not use mpg123 (box A) and  
are forwarded to the other box (the one using mpg123) (box B) using  
IAX trunks and are then answered by SIP clients connected to this  
second box.

After 4 hours of testing, box A's memory usage has only increased by  
5 MB, while for box B, memory usage has increased by 1.2GB of RAM.

Could there be a memory leak by using mpg123? Could there be  
something else going on? Any advice?

Thanks,
Waldo

On Nov 8, 2005, at 4:18 PM, Waldo Rubinstein wrote:

> I don't know if there could be a memory leak or something in 1.2b2,  
> but I noticed that my box running 1.2b2 eats through memory like  
> crazy.
>
> I'm running 1.0.9 on a 1.5GB RAM machine. After 8 hours from a  
> clean reboot, the machine is using about 900MB of RAM.
>
> On a 1.2b2 with 2GB RAM, after the same period of time from a clean  
> reboot, the machine is using 2GB of RAM.
>
> Both these figures are reported from running the 'top' command.
>
> Also, the two machines serve the same purpose. They handle call  
> queues (about 1500 calls after 8 hours each call lasting about 8  
> minutes average) with MOH playing mp3 files with mpg123 from the  
> asterisk installation.
>
> Is this normal?
>
> Thanks,
> Waldo




More information about the asterisk-users mailing list