<html>
  <head>
    <meta content="text/html; charset=windows-1252"
      http-equiv="Content-Type">
  </head>
  <body bgcolor="#FFFFFF" text="#000000">
    <div class="moz-cite-prefix">Do you *actually* experience memory
      starvation on your system, or are you pre-emptively restarting
      freeswitch?<br>
      <br>
      <pre class="moz-signature" cols="72">-- 
Yossi Neiman


</pre>
      On 03/27/2015 08:31 AM, Aqs Younas wrote:<br>
    </div>
    <blockquote
cite="mid:CAGVOjVW0PiaqpGy6ATY3q0WVsHHZTWtH9rhe4jUgavv7-wT71A@mail.gmail.com"
      type="cite">
      <div dir="ltr">
        <div>Thanks Brian for your quick reply.<br>
        </div>
        <div><br>
          We start getting high memory usage on our server, then we run
          top command to see  that is happening. Usually freeswitch is
          there eating most of our system ram, then we restart the
          affected freeswitch to release the memory.  <br>
          <br>
        </div>
        <div>We restart freeswitch to prevent our server for crashing
          due to memory starvation. <br>
        </div>
        <div>We are using freeswitch version.<br>
          <br>
          FreeSWITCH Version
          1.5.15b+git~20150224T205826Z~4909cdb7fb~64bit (git 4909cdb
          2015-02-24 20:58:26Z 64bit)<br>
          <br>
        </div>
      </div>
      <div class="gmail_extra"><br>
        <div class="gmail_quote">On 27 March 2015 at 18:06, Brian West <span
            dir="ltr">&lt;<a moz-do-not-send="true"
              href="mailto:brian@freeswitch.org" target="_blank">brian@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 dir="ltr">You sure you have to restart?  Does the
              process eat up all the ram and segfault due to resource
              starvation? Or stop working at all?
              <div><br>
              </div>
              <div><a moz-do-not-send="true"
href="https://freeswitch.org/confluence/display/FREESWITCH/Debugging#Debugging-CollectionInformationWithValgrind%28Linux/Unix%29"
                  target="_blank">https://freeswitch.org/confluence/display/FREESWITCH/Debugging#Debugging-CollectionInformationWithValgrind(Linux/Unix)</a><br>
              </div>
              <div><br>
              </div>
              <div>It may or may not be a leak based on your
                description, I do know mod_vlc does use some memory up,
                but it may just be memory pool swelling.</div>
              <div><br>
              </div>
              <div>Also what version of FreeSWITCH are you running
                exactly?</div>
            </div>
            <div class="gmail_extra"><br>
              <div class="gmail_quote">
                <div>
                  <div class="h5">On Fri, Mar 27, 2015 at 7:57 AM, Aqs
                    Younas <span dir="ltr">&lt;<a
                        moz-do-not-send="true"
                        href="mailto:aqsyounas@gmail.com"
                        target="_blank">aqsyounas@gmail.com</a>&gt;</span>
                    wrote:<br>
                  </div>
                </div>
                <blockquote class="gmail_quote" style="margin:0 0 0
                  .8ex;border-left:1px #ccc solid;padding-left:1ex">
                  <div>
                    <div class="h5">
                      <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>
                    </div>
                  </div>
_________________________________________________________________________<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>
              <br clear="all">
              <div><br>
              </div>
              -- <br>
              <div>
                <div dir="ltr">
                  <div>
                    <div dir="ltr">
                      <div>
                        <div dir="ltr">
                          <p><font face="courier new, monospace"><b><i><font
                                    size="4">Brian West</font></i></b><br>
                              <span style="font-size:x-small"><a
                                  moz-do-not-send="true"
                                  href="mailto:brian@freeswitch.org"
                                  target="_blank">brian@freeswitch.org</a></span></font></p>
                          <p><font face="courier new, monospace"
                              size="1"><img moz-do-not-send="true"
                                src="http://billing.freeswitch.org/templates/default/img/whmcslogo.png"><br>
                            </font></p>
                          <p><font face="courier new, monospace"><b><i>Twitter:
                                  @FreeSWITCH , @briankwest</i></b><br>
                              <a moz-do-not-send="true"
                                href="http://www.freeswitchbook.com"
                                target="_blank">http://www.freeswitchbook.com</a><br>
                              <a moz-do-not-send="true"
                                href="http://www.freeswitchcookbook.com"
                                target="_blank">http://www.freeswitchcookbook.com</a></font></p>
                          <p>ClueCon 2015 <a moz-do-not-send="true"
                              href="https://www.cluecon.com/call-for-speakers/"
                              target="_blank">Call for Speakers</a> | <a
                              moz-do-not-send="true"
                              href="https://freeswitch.com/cart.php?gid=1"
                              target="_blank">Register</a> TODAY!</p>
                          <p><font face="courier new, monospace"><b>T:</b><a
                                moz-do-not-send="true"
                                href="tel:%2B19184209001"
                                value="+19184209001" target="_blank">+19184209001</a>
                              | <b>F:</b><a moz-do-not-send="true"
                                href="tel:%2B19184209002"
                                value="+19184209002" target="_blank">+19184209002</a>
                              | <b>M:</b>+1918424WEST (9378)<br>
                              <b>iNUM:</b>+883 5100 1420 9001 | <b>ISN:</b>410*543
                              | <b>Skype:</b>briankwest</font></p>
                        </div>
                      </div>
                    </div>
                  </div>
                </div>
              </div>
            </div>
            <br>
_________________________________________________________________________<br>
            Professional FreeSWITCH Consulting Services:<br>
            <a moz-do-not-send="true"
              href="mailto:consulting@freeswitch.org">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">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>
      <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>