Hi Diego,<div><br></div><div>I looked at your pcap file and I see that your second via has this:</div><div><a href="http://BC01.MBCSCR4.MSS.IMS.TIGO.COM.GT">BC01.MBCSCR4.MSS.IMS.TIGO.COM.GT</a></div><div><br></div><div>Is this a valid address? Maybe opensips can not resolve it so it ignores the via. Have you tried adding it to /etc/hosts. </div>
<div><br></div><div>Compare a good 200OK with one of these and see if there is any difference.</div><div><br></div><div>Regards,</div><div>Ali Pey<br><br><div class="gmail_quote">On Fri, Aug 10, 2012 at 9:20 AM, Diego Barberio <span dir="ltr"><<a href="mailto:diego.barberio@redmondsoftware.com" target="_blank">diego.barberio@redmondsoftware.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div lang="ES-AR" link="blue" vlink="purple"><div><p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d">Hi Ali,<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d"><u></u> <u></u></span></p><p class="MsoNormal"><span lang="EN-US" style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d">I removed set the debug flag to 0 and added the “–“ before the file path, and I sill have the same issue.<u></u><u></u></span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d">Is there any other thing I can try?<u></u><u></u></span></p><div class="im"><p class="MsoNormal">
<span lang="EN-US" style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d"><u></u> <u></u></span></p><p class="MsoNormal"><span lang="EN-US" style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d">Thanks<u></u><u></u></span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d">Diego<u></u><u></u></span></p><p class="MsoNormal"><span lang="EN-US" style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d"><u></u> <u></u></span></p>
<div style="border:none;border-top:solid #b5c4df 1.0pt;padding:3.0pt 0cm 0cm 0cm"><p class="MsoNormal"><b><span lang="EN-US" style="font-size:10.0pt;font-family:"Tahoma","sans-serif"">From:</span></b><span lang="EN-US" style="font-size:10.0pt;font-family:"Tahoma","sans-serif""> <a href="mailto:users-bounces@lists.opensips.org" target="_blank">users-bounces@lists.opensips.org</a> [mailto:<a href="mailto:users-bounces@lists.opensips.org" target="_blank">users-bounces@lists.opensips.org</a>] <b>On Behalf Of </b>Ali Pey<br>
<b>Sent:</b> jueves, 09 de agosto de 2012 03:30 p.m.<br><b>To:</b> OpenSIPS users mailling list<br><b>Subject:</b> Re: [OpenSIPS-Users] Opensips 1.6.4 doesn't send an OK response under high load<u></u><u></u></span></p>
</div><p class="MsoNormal"><u></u> <u></u></p></div><p class="MsoNormal">Hi Diego,<u></u><u></u></p><div><div class="h5"><div><p class="MsoNormal"><u></u> <u></u></p></div><div><p class="MsoNormal">Have you tried disabling the logging? That's usually the problem. Syslog slows down opensips.<u></u><u></u></p>
</div><div><p class="MsoNormal"><u></u> <u></u></p></div><div><p class="MsoNormal">Also in /etc/syslog.conf as '-' before the file path to make it asynchronous. <u></u><u></u></p></div><div><p class="MsoNormal"><u></u> <u></u></p>
</div><div><p class="MsoNormal">Regards,<u></u><u></u></p></div><div><p class="MsoNormal">Ali Pey<u></u><u></u></p></div><div><p class="MsoNormal" style="margin-bottom:12.0pt"><u></u> <u></u></p><div><p class="MsoNormal">
On Thu, Aug 9, 2012 at 2:19 PM, Diego Barberio <<a href="mailto:diego.barberio@redmondsoftware.com" target="_blank">diego.barberio@redmondsoftware.com</a>> wrote:<u></u><u></u></p><p class="MsoNormal" style="margin-bottom:12.0pt">
Hello,<br><br>I'm using opensips to forward incoming INVITEs to a set of 8 applications.<br>I'm using dispatcher module to achieve this.<br>During peak hour, opensips receives about 350 INVITEs per second, during<br>
this period about 30 OK responses per second my application sends correctly<br>aren't forwarded by opensips.<br><br>I've recompiled opensips so it can use more memory by modifing the config.h<br>file:<br><br>#define PKG_MEM_POOL_SIZE 10*1024*1024 /*!< Used only if PKG_MALLOC<br>
is defined*/<br>#define SHM_MEM_SIZE 320 /*!< Used if SH_MEM is<br>defined*/<br><br><br>The incoming INVITEs come from UDP and TCP.<br><br><br>For each of the OK responses that aren't forwarded this entry appears in the<br>
messages file:<br><br>usr/local/sbin/opensips[24554]: ERROR:core:forward_reply: no 2nd via found<br>in reply<br><br>According to my research on the web this message means that the OK only has<br>one Via header, however this is not the case and the capture attached (made<br>
on server which runs opensips) shows it.<br><br>I've also tried to increase the log level, but it made opensips to work slow<br>even in low traffic hours.<br><br><br>I run some test in my lab and opensips worked perfectly even under more than<br>
350 INVITES per second, this problem only occurs in production<br><br>I really don't know what else to do.<br>Could you help me to fix this issue or at least move on with the<br>investigation?<br><br>Thanks<br><span><span style="color:#888888">Diego</span></span><span style="color:#888888"><br>
</span><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><u></u><u></u></p>
</div><p class="MsoNormal"><u></u> <u></u></p></div></div></div></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>