Hi Diego,<div><br></div><div>Have you tried disabling the logging? That's usually the problem. Syslog slows down opensips.</div><div><br></div><div>Also in /etc/syslog.conf as '-' before the file path to make it asynchronous. </div>
<div><br></div><div>Regards,</div><div>Ali Pey</div><div><br><br><div class="gmail_quote">On Thu, Aug 9, 2012 at 2:19 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">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 class="HOEnZb"><font color="#888888">Diego<br>
</font></span><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>