Perhaps the new mediaproxy-1.3 will fix this. I'm just graping for straws here.<br>
<br>
Regards,<br>
Paul<br><br><div><span class="gmail_quote">On Apr 11, 2005 4:55 PM, <b class="gmail_sendername">Ricardo Martinez</b> &lt;<a href="mailto:rmartinez@redvoiss.net">rmartinez@redvoiss.net</a>&gt; wrote:</span><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">Hello list.<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Regarding to this issue.&nbsp;&nbsp;These are the results for my &quot;production&quot;<br>machine after upgrade the Python from 2.3 to 2.4.1.<br><br>Since Friday the %MEM is 0.5, as the output of the &quot;top&quot; command indicate :<br><br>&nbsp;&nbsp;PID
USER&nbsp;&nbsp;&nbsp;&nbsp;
PRI&nbsp;&nbsp;NI&nbsp;&nbsp;SIZE&nbsp;&nbsp;RSS SHARE STAT %CPU
%MEM&nbsp;&nbsp; TIME CPU COMMAND<br> 6131
root&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;15&nbsp;&nbsp;
0&nbsp;&nbsp;5460 5460&nbsp;&nbsp;2492 S&nbsp;&nbsp;&nbsp;&nbsp;
9.9&nbsp;&nbsp;0.5 119:04&nbsp;&nbsp; 0<br>mediaproxy.py<br><br>So, it works!.&nbsp;&nbsp;For the record i'm using :<br><br>OS : Red Hat 9.0<br>Python : 2.4.1<br>SER: 0.8.14<br>mediaproxy : 1.2.1<br><br>Regards,<br>Ricardo Martinez.-<br><br>&gt; -----Mensaje original-----<br>&gt; De: Ricardo Martinez [mailto:<a href="mailto:rmartinez@redvoiss.net">rmartinez@redvoiss.net</a>]<br>&gt; Enviado el: Viernes, 08 de Abril de 2005 18:18<br>&gt; Para: 'Lucas Aimaretto'; <a href="mailto:serusers@lists.iptel.org">serusers@lists.iptel.org</a><br>&gt; Asunto: RE: [Serusers] Mediaproxy still consuming a lot of<br>&gt; RAM resources.<br>&gt;<br>&gt;<br>&gt; Regarding to this issue<br>&gt;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Well, thanks to Lucas, just to test i changed the<br>&gt; pyhton version in<br>&gt; my &quot;lab&quot; server from python2.3 to pyhton2.4.1.&nbsp;&nbsp;I made the<br>&gt; same test with<br>&gt; the rtpgenerator and &quot;voila&quot;.<br>&gt;<br>&gt;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Check it out :<br>&gt;<br>&gt;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Before 80 simultaneus calls :<br>&gt;<br>&gt;&nbsp;&nbsp;
PID USER&nbsp;&nbsp;&nbsp;&nbsp;
PRI&nbsp;&nbsp;NI&nbsp;&nbsp;SIZE&nbsp;&nbsp;RSS SHARE STAT %CPU
%MEM&nbsp;&nbsp; TIME COMMAND<br>&gt; 13915
root&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;15&nbsp;&nbsp;
0&nbsp;&nbsp;4628 4628&nbsp;&nbsp;2068 S&nbsp;&nbsp;&nbsp;&nbsp;
1.0&nbsp;&nbsp;0.9&nbsp;&nbsp; 0:00<br>&gt; mediaproxy.py<br>&gt;<br>&gt;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; During the test :<br>&gt;<br>&gt;&nbsp;&nbsp;
PID USER&nbsp;&nbsp;&nbsp;&nbsp;
PRI&nbsp;&nbsp;NI&nbsp;&nbsp;SIZE&nbsp;&nbsp;RSS SHARE STAT %CPU
%MEM&nbsp;&nbsp; TIME COMMAND<br>&gt; 13915
root&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;25&nbsp;&nbsp;
0&nbsp;&nbsp;4864 4864&nbsp;&nbsp;2068
R&nbsp;&nbsp;&nbsp;&nbsp;99.9&nbsp;&nbsp;0.9&nbsp;&nbsp; 0:31<br>&gt; mediaproxy.py<br>&gt;<br>&gt;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; After the test :<br>&gt;<br>&gt;&nbsp;&nbsp;
PID USER&nbsp;&nbsp;&nbsp;&nbsp;
PRI&nbsp;&nbsp;NI&nbsp;&nbsp;SIZE&nbsp;&nbsp;RSS SHARE STAT %CPU
%MEM&nbsp;&nbsp; TIME COMMAND<br>&gt;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;3356
root&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;15&nbsp;&nbsp;
0&nbsp;&nbsp;1600 1600&nbsp;&nbsp;1036 S&nbsp;&nbsp;&nbsp;&nbsp;
0.0&nbsp;&nbsp;0.3&nbsp;&nbsp; 0:00 bash<br>&gt; 13915
root&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;15&nbsp;&nbsp;
0&nbsp;&nbsp;4864 4864&nbsp;&nbsp;2068 S&nbsp;&nbsp;&nbsp;&nbsp;
0.0&nbsp;&nbsp;0.9&nbsp;&nbsp; 0:44<br>&gt; mediaproxy.py<br>&gt;<br>&gt; 0.9 % !!!!!<br>&gt;<br>&gt; I made the test a couples of times later and the %MEM used is<br>&gt; still 0.9%.<br>&gt; I guess that it was maybe a problem between the python2.3 and the<br>&gt; mediaproxy? Don't know...<br>&gt;<br>&gt; I'm going to change the python version in my production<br>&gt; machine. i'm going<br>&gt; to keep you inform about the results...<br>&gt;<br>&gt; Thanks to Lucas...again.<br>&gt;<br>&gt; Best Regards,<br>&gt;<br>&gt; Ricardo Martinez.-<br>&gt;<br>&gt; &gt; -----Mensaje original-----<br>&gt; &gt; De: Ricardo Martinez [mailto:<a href="mailto:rmartinez@redvoiss.net">rmartinez@redvoiss.net</a>]<br>&gt; &gt; Enviado el: Viernes, 08 de Abril de 2005 17:33<br>&gt; &gt; Para: 'Lucas Aimaretto'; <a href="mailto:serusers@iptel.org">serusers@lists.iptel.org</a><br>&gt; &gt; Asunto: RE: [Serusers] Mediaproxy still consuming a lot of<br>&gt; &gt; RAM resources.<br>&gt; &gt;<br>&gt; &gt;<br>&gt; &gt; For example now i have 14 simultaneus calls.<br>&gt; &gt;<br>&gt;
&gt;&nbsp;&nbsp; PID USER&nbsp;&nbsp;&nbsp;&nbsp;
PRI&nbsp;&nbsp;NI&nbsp;&nbsp;SIZE&nbsp;&nbsp;RSS SHARE STAT %CPU
%MEM&nbsp;&nbsp; TIME<br>&gt; &gt; CPU COMMAND<br>&gt; &gt; 11760
root&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;15&nbsp;&nbsp;&nbsp;&nbsp;
0&nbsp;&nbsp;601M&nbsp;&nbsp;518M&nbsp;&nbsp;2396&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
R&nbsp;&nbsp;&nbsp;&nbsp; 7.2<br>&gt;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;51.4<br>&gt; &gt; 69:10&nbsp;&nbsp; 0 mediaproxy.py<br>&gt; &gt;<br>&gt; &gt;<br>&gt; &gt; When the active calls are 0 again the CPU % reach 0.2%, but<br>&gt; &gt; the %MEM is<br>&gt; &gt; greater than 51.4%, and always increasing..<br>&gt; &gt; A couple of questions.<br>&gt; &gt; How you launch mediaproxy?.&nbsp;&nbsp;And in your last mail what are<br>&gt; the pyhton<br>&gt; &gt; proccess running.. i don't see the mediaproxy process running.<br>&gt; &gt; Thanks again.<br>&gt; &gt;<br>&gt; &gt; Ricardo.-<br>&gt; &gt;<br>&gt; &gt; &gt; -----Mensaje original-----<br>&gt; &gt; &gt; De: Lucas Aimaretto [mailto:<a href="mailto:lucas@cyneric.com">lucas@cyneric.com</a>]<br>&gt; &gt; &gt; Enviado el: Viernes, 08 de Abril de 2005 17:20<br>&gt; &gt; &gt; Para: 'Ricardo Martinez'; <a href="mailto:serusers@lists.iptel.org">serusers@iptel.org</a><br>&gt; &gt; &gt; Asunto: RE: [Serusers] Mediaproxy still consuming a lot of<br>&gt; &gt; &gt; RAM resources.<br>&gt; &gt; &gt;<br>&gt; &gt; &gt;<br>&gt; &gt; &gt; &gt; But when you check the use of RAM memory in your machine...<br>&gt; &gt; &gt; &gt; (maybe with the command &quot;top&quot; or the command &quot;free&quot;) don't<br>&gt; &gt; &gt; &gt; you notice a increasing amount of RAM used without being<br>&gt; &gt; &gt; &gt; released? As i mentioned i have this problem.. this is a<br>&gt; &gt; &gt; &gt; snippet of the output of the &quot;top&quot; command in my machine:<br>&gt; &gt; &gt; &gt;<br>&gt;
&gt; &gt; &gt;&nbsp;&nbsp;PID USER&nbsp;&nbsp;&nbsp;&nbsp;
PRI&nbsp;&nbsp;NI&nbsp;&nbsp;SIZE&nbsp;&nbsp;RSS SHARE STAT %CPU
%MEM&nbsp;&nbsp; TIME<br>&gt; &gt; &gt; &gt; CPU COMMAND<br>&gt; &gt;
&gt; &gt; 11760 root&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;15&nbsp;&nbsp;
0&nbsp;&nbsp;&nbsp;&nbsp;590M
516M&nbsp;&nbsp;2396&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;S&nbsp;&nbsp;&nbsp;&nbsp;
0.9<br>&gt; &gt; &gt;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;51.2<br>&gt; &gt; &gt; &gt; 68:15&nbsp;&nbsp; 0&nbsp;&nbsp; mediaproxy.py<br>&gt; &gt; &gt; &gt;<br>&gt; &gt; &gt; &gt; 51.2% of memory used?&nbsp;&nbsp;What version of pyhton are you using?,<br>&gt; &gt; &gt; &gt; what OS are you using?. Thanks!<br>&gt; &gt; &gt;<br>&gt; &gt; &gt; Hey!, how many calls where you proxying when you had that usage of<br>&gt; &gt; &gt; memmory ?<br>&gt; &gt; &gt;<br>&gt; &gt; &gt; Regards,<br>&gt; &gt; &gt;<br>&gt; &gt; &gt; Lucas<br>&gt; &gt; &gt;<br>&gt; &gt; &gt; --<br>&gt; &gt; &gt; No virus found in this outgoing message.<br>&gt; &gt; &gt; Checked by AVG Anti-Virus.<br>&gt; &gt; &gt; Version: 7.0.308 / Virus Database: 266.9.5 - Release Date:<br>&gt; &gt; 07/04/2005<br>&gt; &gt; &gt;<br>&gt; &gt; &gt;<br>&gt; &gt;<br>&gt; &gt; _______________________________________________<br>&gt; &gt; Serusers mailing list<br>&gt; &gt; <a href="mailto:serusers@lists.iptel.org">Serusers@iptel.org</a><br>&gt; &gt; <a href="http://lists.iptel.org/mailman/listinfo/serusers">http://lists.iptel.org/mailman/listinfo/serusers</a><br>&gt; &gt;<br>&gt;<br>&gt; _______________________________________________<br>&gt; Serusers mailing list<br>&gt; <a href="mailto:serusers@lists.iptel.org">Serusers@iptel.org</a><br>&gt; <a href="http://lists.iptel.org/mailman/listinfo/serusers">http://lists.iptel.org/mailman/listinfo/serusers</a><br>&gt;<br><br>_______________________________________________<br>Serusers mailing list<br><a href="mailto:serusers@lists.iptel.org">serusers@lists.iptel.org</a><br><a href="http://mail.iptel.org/mailman/listinfo/serusers">http://lists.iptel.org/mailman/listinfo/serusers</a><br></blockquote></div><br>