[Serusers] Mediaproxy still consuming a lot of RAM resources.

Ricardo Martinez rmartinez at redvoiss.net
Thu Apr 7 19:06:43 CEST 2005


Hello Again.
	A few weeks ago i posted about my mediaproxy consuming RAM resources
without releasing it.  I upgraded to mediaproxy version 1.2.1 and even i
modified my mediaproxy configuration (in ser.cfg) with some recommendation
from Paul (Java Rockx).  All these efforts were useless, my mediaproxy is
still consuming RAM and not releasing it.  I made a simple test..  Without
SER running i used the rtpgenerator (in the utils directory of mediaproxy)
to load the mediaproxy, and this is what i found.
At the beggining of my test the "free" command show me this :: 

Every 1s: free
Thu Apr  7 13:50:05 2005

             total       used       free     shared    buffers     cached
Mem:        514196     429208      84988          0      73672     217444
-/+ buffers/cache:     138092     376104
Swap:      1044216          0    1044216

84 M free.

I run the rtp proxy for about 80 simmultaneus calls.

When i finish the rtp sessions i see the output of free command:
Every 1s: free
Thu Apr  7 13:53:43 2005

             total       used       free     shared    buffers     cached
Mem:        514196     437868      76328          0      74952     216288
-/+ buffers/cache:     146628     367568
Swap:      1044216          0    1044216

76 M free.

As you can see it seems that the mediaproxy is not releasing the RAM memory.
I see the command "top" and this is what i get : 

  PID USER     PRI  NI  SIZE  RSS SHARE STAT %CPU %MEM   TIME COMMAND
26972 root      15   0 12320  12M  2004 S     0.0  2.3   1:02 mediaproxy.py

The 2.3% is always increasing.

Can someone help me here?
Thanks!

Ricardo Martinez.-




More information about the sr-users mailing list