<div dir="ltr"><div><div><div>Hi, Brian. <br><br></div>Its ok If vlc takes some ram, but freeswitch must release the ram when there are no calls.<br></div>Is there any command that can make freeswitch release the ram without restarting the freeswitch. <br><br></div>Like this linux command which makes linux release the cached ram.<br><div><div><div><br><div><div>free &amp;&amp; sync &amp;&amp; echo 3 &gt; /proc/sys/vm/drop_caches &amp;&amp; free1<br><br></div><div>Thanks<br></div><div><br></div></div></div></div></div></div><div class="gmail_extra"><br><div class="gmail_quote">On 27 March 2015 at 18:51, Aqs Younas <span dir="ltr">&lt;<a href="mailto:aqsyounas@gmail.com" target="_blank">aqsyounas@gmail.com</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div><div><div><div>Yes, we are using linux and looking at RSS value. <br><br></div>Our dialplan is mostly using mod_vlc for running streams.Just a call comes in and a radio stream is played with mod_vlc. I am not sure either mod_vlc or something else in freeswitch is eating up ram.<br><br></div>I just told our dialplan is mostly based on mod_vlc a portion on mod_curl. I have attached the top command results in above post, you can see freeswitch consuming more ram than any process. <br><br></div>One more thing, 6th freeswitch doesn&#39;t capture ram more than 1 gb, that one is not using mod_vlc or mod_curl. On other 5 freeswitch we are facing the issue.<br><br></div>6th one freeswitch dialplan just consist of. <br><br>&lt;extension name=&quot;garbage&quot;&gt;<br><div><div><div><div><div>      &lt;condition&gt;<br>        &lt;action application=&quot;answer&quot;/&gt;<br>        &lt;action application=&quot;playback&quot; data=&quot;/opt/garbage/Generic_VM.wav&quot;/&gt;<br>        &lt;action application=&quot;hangup&quot;/&gt;<br>      &lt;/condition&gt;<br>&lt;/extension&gt;<br><br><br></div><div>Thanks for your reply. <br></div></div></div></div></div></div><div class="HOEnZb"><div class="h5"><div class="gmail_extra"><br><div class="gmail_quote">On 27 March 2015 at 18:32, I put the Who? in Mishehu <span dir="ltr">&lt;<a href="mailto:mishehu@freeswitch.org" target="_blank">mishehu@freeswitch.org</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
  
    
  
  <div bgcolor="#FFFFFF" text="#000000">
    <div>Are you using linux?  If so, which
      memory value are you looking at (VSZ, RSS...) ?<br>
      <br>
      If you don&#39;t use mod_vlc, do you still see FreeSWITCH consuming
      this much RAM?  Usually FreeSWITCH builds up a memory pool and
      won&#39;t release that back to the system until after shutdown, but I
      don&#39;t normally see that go above about 1.2GB of RAM in any of the
      systems I work on (though they do not use mod_vlc).<span><font color="#888888"><br>
      <br>
      <pre cols="72">-- 
Yossi Neiman


</pre></font></span><div><div>
      On 03/27/2015 07:57 AM, Aqs Younas wrote:<br>
    </div></div></div>
    <blockquote type="cite"><div><div>
      <div dir="ltr">
        <div>
          <div>
            <div>
              <div>
                <div>Hi, users<br>
                  <br>
                </div>
                We are using 6 freeswitch instances, 5 freeswitch
                instances for playing streams with mod_vlc. After 3 to 4
                for days,  we see these (5) freeswitch taking more than
                3gb of momory and even though calls are not more than
                25. <br>
                <br>
              </div>
              Usually, some calls stay for more than 2 to 3 hours on
              some freeswitch.  Everytime we have to restart the
              freeswitch to release the captured memory.<br>
              <br>
            </div>
            But is believed, freeswitch must release the momory when
            there are no calls. But freeswitch still keeps captured
            memory.<br>
          </div>
          <div><br>
            I have attactted the top command result along with this
            email. <br>
          </div>
          Willing to perform any test if it helps tackle the problem. <br>
          <br>
        </div>
        Thanks for your help.<br>
        <br>
        <br>
      </div>
      <br>
      <fieldset></fieldset>
      <br>
      </div></div><span><pre>_________________________________________________________________________
Professional FreeSWITCH Consulting Services: 
<a href="mailto:consulting@freeswitch.org" target="_blank">consulting@freeswitch.org</a>
<a href="http://www.freeswitchsolutions.com" target="_blank">http://www.freeswitchsolutions.com</a>

Official FreeSWITCH Sites
<a href="http://www.freeswitch.org" target="_blank">http://www.freeswitch.org</a>
<a href="http://confluence.freeswitch.org" target="_blank">http://confluence.freeswitch.org</a>
<a href="http://www.cluecon.com" target="_blank">http://www.cluecon.com</a>

FreeSWITCH-users mailing list
<a href="mailto:FreeSWITCH-users@lists.freeswitch.org" target="_blank">FreeSWITCH-users@lists.freeswitch.org</a>
<a href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a>
UNSUBSCRIBE:<a href="http://lists.freeswitch.org/mailman/options/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/options/freeswitch-users</a>
<a href="http://www.freeswitch.org" target="_blank">http://www.freeswitch.org</a></pre>
    </span></blockquote>
    <br>
  </div>

<br>_________________________________________________________________________<br>
Professional FreeSWITCH Consulting Services:<br>
<a href="mailto:consulting@freeswitch.org" target="_blank">consulting@freeswitch.org</a><br>
<a href="http://www.freeswitchsolutions.com" target="_blank">http://www.freeswitchsolutions.com</a><br>
<br>
Official FreeSWITCH Sites<br>
<a href="http://www.freeswitch.org" target="_blank">http://www.freeswitch.org</a><br>
<a href="http://confluence.freeswitch.org" target="_blank">http://confluence.freeswitch.org</a><br>
<a href="http://www.cluecon.com" target="_blank">http://www.cluecon.com</a><br>
<br>
FreeSWITCH-users mailing list<br>
<a href="mailto:FreeSWITCH-users@lists.freeswitch.org" target="_blank">FreeSWITCH-users@lists.freeswitch.org</a><br>
<a href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a><br>
UNSUBSCRIBE:<a href="http://lists.freeswitch.org/mailman/options/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/options/freeswitch-users</a><br>
<a href="http://www.freeswitch.org" target="_blank">http://www.freeswitch.org</a><br></blockquote></div><br></div>
</div></div></blockquote></div><br></div>