[OpenSIPS-Users] Opensips 1.6.4 doesn't send an OK response under high load

Diego Barberio diego.barberio at redmondsoftware.com
Fri Aug 10 18:05:00 CEST 2012


Hi Ali,

 

Thanks again for rour feedbak.

Unfortunately that's not the case. I'm attaching an example with the same
Via that works perfectly.

 

Also, opensips works perfectly all day and only stops sending some OKs
during peak hour.

 

Do you have any other idea?

 

Thanks

Diego

 

From: users-bounces at lists.opensips.org
[mailto:users-bounces at lists.opensips.org] On Behalf Of Ali Pey
Sent: viernes, 10 de agosto de 2012 11:00 a.m.
To: OpenSIPS users mailling list
Subject: Re: [OpenSIPS-Users] Opensips 1.6.4 doesn't send an OK response
under high load

 

Hi Diego,

 

I looked at your pcap file and I see that your second via has this:

BC01.MBCSCR4.MSS.IMS.TIGO.COM.GT

 

Is this a valid address? Maybe opensips can not resolve it so it ignores the
via. Have you tried adding it to /etc/hosts. 

 

Compare a good 200OK with one of these and see if there is any difference.

 

Regards,

Ali Pey

On Fri, Aug 10, 2012 at 9:20 AM, Diego Barberio
<diego.barberio at redmondsoftware.com> wrote:

Hi Ali,

 

I removed set the debug flag to 0 and added the "-" before the file path,
and I sill have the same issue.

Is there any other thing I can try?

 

Thanks

Diego

 

From: users-bounces at lists.opensips.org
[mailto:users-bounces at lists.opensips.org] On Behalf Of Ali Pey
Sent: jueves, 09 de agosto de 2012 03:30 p.m.
To: OpenSIPS users mailling list
Subject: Re: [OpenSIPS-Users] Opensips 1.6.4 doesn't send an OK response
under high load

 

Hi Diego,

 

Have you tried disabling the logging? That's usually the problem. Syslog
slows down opensips.

 

Also in /etc/syslog.conf as '-' before the file path to make it
asynchronous. 

 

Regards,

Ali Pey

 

On Thu, Aug 9, 2012 at 2:19 PM, Diego Barberio
<diego.barberio at redmondsoftware.com> wrote:

Hello,

I'm using opensips to forward incoming INVITEs to a set of 8 applications.
I'm using dispatcher module to achieve this.
During peak hour, opensips receives about 350 INVITEs per second, during
this period about 30 OK responses per second my application sends correctly
aren't forwarded by opensips.

I've recompiled opensips so it can use more memory by modifing the config.h
file:

#define PKG_MEM_POOL_SIZE 10*1024*1024          /*!< Used only if PKG_MALLOC
is defined*/
#define SHM_MEM_SIZE 320                        /*!< Used if SH_MEM is
defined*/


The incoming INVITEs come from UDP and TCP.


For each of the OK responses that aren't forwarded this entry appears in the
messages file:

usr/local/sbin/opensips[24554]: ERROR:core:forward_reply: no 2nd via found
in reply

According to my research on the web this message means that the OK only has
one Via header, however this is not the case and the capture attached (made
on server which runs opensips) shows it.

I've also tried to increase the log level, but it made opensips to work slow
even in low traffic hours.


I run some test in my lab and opensips worked perfectly even under more than
350 INVITES per second, this problem only occurs in production

I really don't know what else to do.
Could you help me to fix this issue or at least move on with the
investigation?

Thanks
Diego

_______________________________________________
Users mailing list
Users at lists.opensips.org
http://lists.opensips.org/cgi-bin/mailman/listinfo/users

 


_______________________________________________
Users mailing list
Users at lists.opensips.org
http://lists.opensips.org/cgi-bin/mailman/listinfo/users

 

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.opensips.org/pipermail/users/attachments/20120810/c054a834/attachment-0001.htm>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: okSent.pcap
Type: application/octet-stream
Size: 4602 bytes
Desc: not available
URL: <http://lists.opensips.org/pipermail/users/attachments/20120810/c054a834/attachment-0001.obj>


More information about the Users mailing list