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

Waldo Rubinstein waldo at trianet.net
Wed Nov 9 12:45:56 MST 2005


Furthermore, I noticed that at one point, I have 11 active channels  
in * in box B and I have 79 mpg123 processes running. It looks like  
after a call is off hold or hung up, the mpg123 process is not  
terminated. Does this make sense?

- Waldo

On Nov 9, 2005, at 1:10 PM, Waldo Rubinstein wrote:

> 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