I can't think of anything else. <div><br></div><div>Dear opensips team,</div><div><br></div><div>Hope you had a good flight-terminator :) </div><div>Can you take a look at this please?</div><div><br></div><div>Thanks,</div>
<div>Ali Pey</div><div><br></div><div><br><div class="gmail_quote">On Fri, Aug 10, 2012 at 12:05 PM, 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 lang="EN-US" style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d">Hi Ali,<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><p class="MsoNormal"><span lang="EN-US" style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d">Thanks again for rour feedbak.<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">Unfortunately that’s not the case. I’m attaching an example with the same Via that works perfectly.<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><p class="MsoNormal"><span lang="EN-US" style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d">Also, opensips works perfectly all day and only stops sending some OKs during peak hour.<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><p class="MsoNormal"><span lang="EN-US" style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d">Do you have any other idea?<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><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> viernes, 10 de agosto de 2012 11:00 a.m.</span></p><div><div class="h5"><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></div>
</div><p></p></div><div><div class="h5"><p class="MsoNormal"><u></u> <u></u></p><p class="MsoNormal">Hi Diego,<u></u><u></u></p><div><p class="MsoNormal"><u></u> <u></u></p></div><div><p class="MsoNormal">I looked at your pcap file and I see that your second via has this:<u></u><u></u></p>
</div><div><p class="MsoNormal"><a href="http://BC01.MBCSCR4.MSS.IMS.TIGO.COM.GT" target="_blank">BC01.MBCSCR4.MSS.IMS.TIGO.COM.GT</a><u></u><u></u></p></div><div><p class="MsoNormal"><u></u> <u></u></p></div><div><p class="MsoNormal">
Is this a valid address? Maybe opensips can not resolve it so it ignores the via. Have you tried adding it to /etc/hosts. <u></u><u></u></p></div><div><p class="MsoNormal"><u></u> <u></u></p></div><div><p class="MsoNormal">
Compare a good 200OK with one of these and see if there is any difference.<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" style="margin-bottom:12.0pt">
Ali Pey<u></u><u></u></p><div><p class="MsoNormal">On Fri, Aug 10, 2012 at 9:20 AM, Diego Barberio <<a href="mailto:diego.barberio@redmondsoftware.com" target="_blank">diego.barberio@redmondsoftware.com</a>> wrote:<u></u><u></u></p>
<div><div><p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d">Hi Ali,</span><u></u><u></u></p><p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d"> </span><u></u><u></u></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.</span><u></u><u></u></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?</span><u></u><u></u></p><div><p class="MsoNormal"><span lang="EN-US" style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d"> </span><u></u><u></u></p>
<p class="MsoNormal"><span lang="EN-US" style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d">Thanks</span><u></u><u></u></p><p class="MsoNormal"><span lang="EN-US" style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d">Diego</span><u></u><u></u></p>
<p class="MsoNormal"><span lang="EN-US" style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d"> </span><u></u><u></u></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</span><u></u><u></u></p>
</div><p class="MsoNormal"> <u></u><u></u></p></div><p class="MsoNormal">Hi Diego,<u></u><u></u></p><div><div><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 style="color:#888888">Diego<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><p class="MsoNormal" style="margin-bottom:12.0pt"><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>