<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
  <meta http-equiv="Content-Type" content="text/html;charset=ISO-8859-1">
  <title></title>
</head>
<body text="#000000" bgcolor="#ffffff">
If you are running RedHat 9 and Python 3.2.5 may be this could help you:<br>
<br>
<a class="moz-txt-link-freetext" href="http://www.python.org/download/download_linux.html">http://www.python.org/download/download_linux.html</a><br>
<br>
Regards<br>
<br>
Alberto Cruz<br>
<br>
Ricardo Martinez wrote:<br>
<blockquote type="cite"
 cite="midc396297b1f3295abd893e1f9dd49a40842377311@magenta.cl">
  <pre wrap="">Hello.
        Returning to this subject.  I upgraded to the new mediaproxy
version. 1.2.1, but i still have the same problem.  I detected a increasing
amount of RAM memory used by mediaproxy.  I don't know what's happening.  Is
this something maybe related to the way i tear dow the session, i'm still
confuse with so many IDLE session in my mediaproxy. Can this be the cause of
the increasing amount of RAM memory used?
Also, is there a way to debug the mediaproxy? or something that help me to
understand what's going on?

Any help would be appreciated.

Thanks

Ricardo.-


  </pre>
  <blockquote type="cite">
    <pre wrap="">-----Mensaje original-----
De: Java Rockx [<a class="moz-txt-link-freetext" href="mailto:javarockx@gmail.com">mailto:javarockx@gmail.com</a>]
Enviado el: Viernes, 11 de Marzo de 2005 15:23
Para: Ricardo Martinez
CC: <a class="moz-txt-link-abbreviated" href="mailto:serusers@lists.iptel.org">serusers@lists.iptel.org</a>
Asunto: Re: [Serusers] Mediaproxy consuming RAM resources.


I'm tearing down my sessions the same way you showed in your first
email. So AFAIK, that is OK.

Regards,
Paul


On Fri, 11 Mar 2005 16:15:38 -0400, Ricardo Martinez
<a class="moz-txt-link-rfc2396E" href="mailto:rmartinez@redvoiss.net">&lt;rmartinez@redvoiss.net&gt;</a> wrote:
    </pre>
    <blockquote type="cite">
      <pre wrap="">Paul,
        I was thinking the same, maybe that's the problem.
        What about the tear down of the sessions?

Thanks!

Regards,
Ricardo.-

      </pre>
      <blockquote type="cite">
        <pre wrap="">-----Mensaje original-----
De: Java Rockx [<a class="moz-txt-link-freetext" href="mailto:javarockx@gmail.com">mailto:javarockx@gmail.com</a>]
Enviado el: Viernes, 11 de Marzo de 2005 15:09
Para: Ricardo Martinez
CC: <a class="moz-txt-link-abbreviated" href="mailto:serusers@lists.iptel.org">serusers@lists.iptel.org</a>
Asunto: Re: [Serusers] Mediaproxy consuming RAM resources.


Ricardo,

I think the release notes on mediaproxy-1.2 say that some resource
leaks have been fixed.

Perhaps you can try version 1.2

Regards,
Paul

On Fri, 11 Mar 2005 16:01:59 -0400, Ricardo Martinez
<a class="moz-txt-link-rfc2396E" href="mailto:rmartinez@redvoiss.net">&lt;rmartinez@redvoiss.net&gt;</a> wrote:
        </pre>
        <blockquote type="cite">
          <pre wrap="">Hello list.
I was looking the process in my SER sip-proxy with the
          </pre>
        </blockquote>
        <pre wrap="">mediaproxy running.
        </pre>
        <blockquote type="cite">
          <pre wrap="">Every time i look, the percetage of used RAM is increasing.
          </pre>
        </blockquote>
        <pre wrap=""> It seems like
        </pre>
        <blockquote type="cite">
          <pre wrap="">for some reason mediaproxy is not releasing the resources
          </pre>
        </blockquote>
        <pre wrap="">used in RAM.  You
        </pre>
        <blockquote type="cite">
          <pre wrap="">can look this in the next lines :

  PID USER     PRI  NI  SIZE  RSS SHARE STAT %CPU %MEM
          </pre>
        </blockquote>
        <pre wrap="">TIME CPU COMMAND
        </pre>
        <blockquote type="cite">
          <pre wrap="">1952 root      15   0  284M 266M  1628 S     0.0      26.4
          </pre>
        </blockquote>
        <pre wrap="">19:22   0
        </pre>
        <blockquote type="cite">
          <pre wrap="">mediaproxy.py

Can someone tell me if this is a bug of mediaproxy or maybe a
missconfiguration in my ser.cfg?

I want to ask a question regarding to tear down sessions
          </pre>
        </blockquote>
        <pre wrap="">with mediaproxy
        </pre>
        <blockquote type="cite">
          <pre wrap="">also.  In my ser.cfg i have :
     if (loose_route()) {
                if (method=="BYE" || method=="CANCEL")  {
                        log(1, "NAT: BYE o CANCEL recibido
          </pre>
        </blockquote>
        <pre wrap="">--&gt; terminando la
        </pre>
        <blockquote type="cite">
          <pre wrap="">sesion de media\n");
                        end_media_session();
                        setflag(1);
                };
                t_relay();
                break;
        };

Is this ok?  I think in some cases (i'm still unable to
          </pre>
        </blockquote>
        <pre wrap="">determine which
        </pre>
        <blockquote type="cite">
          <pre wrap="">ones), SER does not tear down a mediaproxy session.  You
          </pre>
        </blockquote>
        <pre wrap="">can see for example
        </pre>
        <blockquote type="cite">
          <pre wrap="">this two session, both of them were ended, but it seems to
          </pre>
        </blockquote>
        <pre wrap="">be active even
        </pre>
        <blockquote type="cite">
          <pre wrap="">before that. (i ommited the source, via and destination
          </pre>
        </blockquote>
        <pre wrap="">IP's in the output
        </pre>
        <blockquote type="cite">
          <pre wrap="">of the session.py)

Status       Duration  Codec    Type   Traffic

          </pre>
        </blockquote>
        <pre wrap="">--------------------------------------------------------------
--------------
        </pre>
        <blockquote type="cite">
          <pre wrap="">---
hold (2430)    40'40"  G729     Audio  11.53k/29.58k/18.45k
inactive        0'02"  Unknown  Audio  0/0/0

Can someone tell me what's happening?
I'm runnig :
[root mediaproxy]# ./mediaproxy.py --version
mediaproxy.py 1.0

Thanks in advance.
Regards,

Ricardo M.

_______________________________________________
Serusers mailing list
<a class="moz-txt-link-abbreviated" href="mailto:serusers@lists.iptel.org">serusers@lists.iptel.org</a>
<a class="moz-txt-link-freetext" href="http://lists.iptel.org/mailman/listinfo/serusers">http://lists.iptel.org/mailman/listinfo/serusers</a>

          </pre>
        </blockquote>
      </blockquote>
    </blockquote>
  </blockquote>
  <pre wrap=""><!---->
_______________________________________________
Serusers mailing list
<a class="moz-txt-link-abbreviated" href="mailto:serusers@lists.iptel.org">serusers@lists.iptel.org</a>
<a class="moz-txt-link-freetext" href="http://lists.iptel.org/mailman/listinfo/serusers">http://lists.iptel.org/mailman/listinfo/serusers</a>


  </pre>
</blockquote>
</body>
</html>