Hi Faisal,<div><br><div>Can you copy/paste the stats of &quot;ifconfig eth<i>N</i>&quot; on which traffic is terminating. I just wanted to see the error and dropped packets on physical interface. <br>Hardware and physical connectivity plays major role in packet losses.On<b> Asterisk server</b> Jitter options might help you but this is media-proxy, I assume from the interface you are viewing, the packets are shown as lost. So could it be heavy media traffic flowing through the interface and media proxy is unable to use much CPU processing power to process all the RTPs ?</div>
<div><br></div><div>Before troubleshooting the software application I suggest start digging the networking interfaces and tweak the eth<i>N and </i>related properties of kernel to maximize the throughput.</div><div><br></div>
<div>This would be just how I&#39;d go with this kind of problem.</div><div><br></div><div>Regards.</div><div>Sammy</div><div><br><br><div class="gmail_quote">On Tue, Feb 28, 2012 at 3:45 AM, Muhammad Danish Moosa <span dir="ltr">&lt;<a href="mailto:danishmoosa@gmail.com">danishmoosa@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">Helo Bogdan<br><br>only signalling packets can be lost on opensips?<br><br>But rtp streams are faster and frequent and have high impact on voice quality. He seems to ask packet losses on rtp packets. Even if the problem is identified what are the clues to solve the problem?<div class="HOEnZb">
<div class="h5"><br>
<br><br><div class="gmail_quote">On Tue, Feb 28, 2012 at 3:14 AM, Bogdan-Andrei Iancu <span dir="ltr">&lt;<a href="mailto:bogdan@opensips.org" target="_blank">bogdan@opensips.org</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">

<u></u>

  
    
  
  <div bgcolor="#ffffff" text="#000000">
    Hi Faisal,<br>
    <br>
    Let me comment a bit on the loss at software - packages can be
    discarded at TCP/IP stack level (by kernel) if no application is
    reading the data  (or no reading as fast as the data comes).<br>
    <br>
    You can check on this (if opensips is able to process all incoming
    traffic, without having the kernel to discard data because of full
    buffering on sockets) via some statistics from the NET class :<br>
            <a href="http://www.opensips.org/Resources/DocsCoreStats17#toc17" target="_blank">http://www.opensips.org/Resources/DocsCoreStats17#toc17</a><br>
    <br>
    An overall idea over the load in opensips (if you have idle
    processes or not) can be monitored via the LOAD stats:<br>
            <a href="http://www.opensips.org/Resources/DocsCoreStats17#toc14" target="_blank">http://www.opensips.org/Resources/DocsCoreStats17#toc14</a><br>
    <br>
    Regards,<br>
    Bogdan<div><div></div><div><br>
    <br>
    On 02/27/2012 04:02 PM, Faisal Rehman wrote:
    </div></div><blockquote type="cite"><div><div></div><div>
      <div style="font-size:10pt;font-family:tahoma,new york,times,serif">
        <div>
          <div style="color:rgb(69,69,69);font-family:Arial,Helvetica,sans-serif;font-size:12px">
            <div>
              <div style="color:rgb(0,0,0);font-family:tahoma,times,serif;font-size:10pt">
                <div>
                  <div style="font-size:10pt">
                    <div>Hi
                      Everyone,</div>
                    <div><br>
                    </div>
                    <div>I
                      am facing huge <span style="color:rgb(54,99,136);border-bottom:2px dotted rgb(54,99,136)"><span style="border-bottom:2px dotted rgb(54,99,136)">packet
                          loss</span></span> in my server, so I am here
                      to share with you some of the output of packets
                      losses that you can see in attached image.
                      Secondly I have few questions that I want to
                      discuss with:</div>
                    <div><br>
                    </div>
                    <div>1.
                      How can we reduce the packet loss to a minimum in
                      an asterisk server, I mean I just want to know
                      more detailed info about packet loss reduction.</div>
                    <div><span style="font-size:10pt">2. I am calculating
                        packet loss following that link </span><a rel="nofollow" href="http://www.linuxjournal.com/article/9398" style="color:rgb(35,71,134);outline-width:0px;font-size:10pt" target="_blank"><span>http://www.linuxjournal.com/article/9398</span></a> where
                      there is written that 20% loss is acceptable, but
                      if you see the attached image what will be your
                      conclusions about packet loss here?</div>
                    <div>3.
                      At last but not least I just want to know the
                      responsibilities of the software &amp; the
                      network, I mean how much software or network is
                      responsible for packet loss?</div>
                    <div>4.
                      What are the best possible ways to reduce the
                      packet loss to a minimum extent?</div>
                    <div><br>
                    </div>
                    <div> </div>
                    <div>Regards,<br>
                      <br>
                    </div>
                    <div>Faisal
                      Rehman</div>
                  </div>
                </div>
              </div>
            </div>
          </div>
          <br>
        </div>
      </div>
      </div></div><pre><fieldset></fieldset>
_______________________________________________
Users mailing list
<a href="mailto:Users@lists.opensips.org" target="_blank">Users@lists.opensips.org</a>
<a href="http://lists.opensips.org/cgi-bin/mailman/listinfo/users" target="_blank">http://lists.opensips.org/cgi-bin/mailman/listinfo/users</a>
</pre>
    </blockquote><font color="#888888">
    <br>
    <br>
    <pre cols="72">-- 
Bogdan-Andrei Iancu
OpenSIPS Founder and Developer
<a href="http://www.opensips-solutions.com" target="_blank">http://www.opensips-solutions.com</a></pre>
  </font></div>

<br>_______________________________________________<br>
Users mailing list<br>
<a href="mailto:Users@lists.opensips.org" target="_blank">Users@lists.opensips.org</a><br>
<a href="http://lists.opensips.org/cgi-bin/mailman/listinfo/users" target="_blank">http://lists.opensips.org/cgi-bin/mailman/listinfo/users</a><br>
<br></blockquote></div><br><br clear="all"><br>-- <br></div></div><div class="HOEnZb"><div class="h5">Muhammad Danish Moosa<br><br>&quot; The core of mans&#39; spirit comes from new experiences. &quot;___ Christopher McCandless<br>

</div></div><br>_______________________________________________<br>
Users mailing list<br>
<a href="mailto:Users@lists.opensips.org">Users@lists.opensips.org</a><br>
<a href="http://lists.opensips.org/cgi-bin/mailman/listinfo/users" target="_blank">http://lists.opensips.org/cgi-bin/mailman/listinfo/users</a><br>
<br></blockquote></div><br></div></div>