<html>
<head>
<meta content="text/html; charset=windows-1252"
http-equiv="Content-Type">
</head>
<body bgcolor="#FFFFFF" text="#000000">
About the "drop_caches" thing, you should *not* do that unless you
really understand what you are doing!<br>
<br>
It's a common misconception that it might increase performance or
"free" memory. In reality you would probably see a performance drop
and free memory that is already available for reuse... It's only
useful if you are doing kernel benchmarking or debugging.<br>
<br>
François.<br>
<br>
<br>
<div class="moz-cite-prefix">On 03/27/2015 03:06 PM, Aqs Younas
wrote:<br>
</div>
<blockquote
cite="mid:CAGVOjVWhEoj9E=rL8YVF1MV4a2mf0ZAkeY2PmOnsKN9fHgfQaA@mail.gmail.com"
type="cite">
<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 && sync && echo 3 >
/proc/sys/vm/drop_caches && 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"><<a moz-do-not-send="true"
href="mailto:aqsyounas@gmail.com" target="_blank">aqsyounas@gmail.com</a>></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'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>
<extension name="garbage"><br>
<div>
<div>
<div>
<div>
<div> <condition><br>
<action application="answer"/><br>
<action application="playback"
data="/opt/garbage/Generic_VM.wav"/><br>
<action application="hangup"/><br>
</condition><br>
</extension><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"><<a
moz-do-not-send="true"
href="mailto:mishehu@freeswitch.org"
target="_blank">mishehu@freeswitch.org</a>></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't use mod_vlc, do you still see
FreeSWITCH consuming this much RAM? Usually
FreeSWITCH builds up a memory pool and won't
release that back to the system until after
shutdown, but I don'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 moz-do-not-send="true" href="mailto:consulting@freeswitch.org" target="_blank">consulting@freeswitch.org</a>
<a moz-do-not-send="true" href="http://www.freeswitchsolutions.com" target="_blank">http://www.freeswitchsolutions.com</a>
Official FreeSWITCH Sites
<a moz-do-not-send="true" href="http://www.freeswitch.org" target="_blank">http://www.freeswitch.org</a>
<a moz-do-not-send="true" href="http://confluence.freeswitch.org" target="_blank">http://confluence.freeswitch.org</a>
<a moz-do-not-send="true" href="http://www.cluecon.com" target="_blank">http://www.cluecon.com</a>
FreeSWITCH-users mailing list
<a moz-do-not-send="true" href="mailto:FreeSWITCH-users@lists.freeswitch.org" target="_blank">FreeSWITCH-users@lists.freeswitch.org</a>
<a moz-do-not-send="true" href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a>
UNSUBSCRIBE:<a moz-do-not-send="true" href="http://lists.freeswitch.org/mailman/options/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/options/freeswitch-users</a>
<a moz-do-not-send="true" 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 moz-do-not-send="true"
href="mailto:consulting@freeswitch.org"
target="_blank">consulting@freeswitch.org</a><br>
<a moz-do-not-send="true"
href="http://www.freeswitchsolutions.com"
target="_blank">http://www.freeswitchsolutions.com</a><br>
<br>
Official FreeSWITCH Sites<br>
<a moz-do-not-send="true"
href="http://www.freeswitch.org" target="_blank">http://www.freeswitch.org</a><br>
<a moz-do-not-send="true"
href="http://confluence.freeswitch.org"
target="_blank">http://confluence.freeswitch.org</a><br>
<a moz-do-not-send="true"
href="http://www.cluecon.com" target="_blank">http://www.cluecon.com</a><br>
<br>
FreeSWITCH-users mailing list<br>
<a moz-do-not-send="true"
href="mailto:FreeSWITCH-users@lists.freeswitch.org"
target="_blank">FreeSWITCH-users@lists.freeswitch.org</a><br>
<a moz-do-not-send="true"
href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users"
target="_blank">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a><br>
UNSUBSCRIBE:<a moz-do-not-send="true"
href="http://lists.freeswitch.org/mailman/options/freeswitch-users"
target="_blank">http://lists.freeswitch.org/mailman/options/freeswitch-users</a><br>
<a moz-do-not-send="true"
href="http://www.freeswitch.org" target="_blank">http://www.freeswitch.org</a><br>
</blockquote>
</div>
<br>
</div>
</div>
</div>
</blockquote>
</div>
<br>
</div>
<br>
<fieldset class="mimeAttachmentHeader"></fieldset>
<br>
<pre wrap="">_________________________________________________________________________
Professional FreeSWITCH Consulting Services:
<a class="moz-txt-link-abbreviated" href="mailto:consulting@freeswitch.org">consulting@freeswitch.org</a>
<a class="moz-txt-link-freetext" href="http://www.freeswitchsolutions.com">http://www.freeswitchsolutions.com</a>
Official FreeSWITCH Sites
<a class="moz-txt-link-freetext" href="http://www.freeswitch.org">http://www.freeswitch.org</a>
<a class="moz-txt-link-freetext" href="http://confluence.freeswitch.org">http://confluence.freeswitch.org</a>
<a class="moz-txt-link-freetext" href="http://www.cluecon.com">http://www.cluecon.com</a>
FreeSWITCH-users mailing list
<a class="moz-txt-link-abbreviated" href="mailto:FreeSWITCH-users@lists.freeswitch.org">FreeSWITCH-users@lists.freeswitch.org</a>
<a class="moz-txt-link-freetext" href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a>
UNSUBSCRIBE:<a class="moz-txt-link-freetext" href="http://lists.freeswitch.org/mailman/options/freeswitch-users">http://lists.freeswitch.org/mailman/options/freeswitch-users</a>
<a class="moz-txt-link-freetext" href="http://www.freeswitch.org">http://www.freeswitch.org</a></pre>
</blockquote>
<br>
</body>
</html>