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

2012-08-10 Thread Ali Pey
I can't think of anything else.

Dear opensips team,

Hope you had a good flight-terminator :)
Can you take a look at this please?

Thanks,
Ali Pey


On Fri, Aug 10, 2012 at 12:05 PM, Diego Barberio <
diego.barbe...@redmondsoftware.com> wrote:

> 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-boun...@lists.opensips.org [mailto:
> users-boun...@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.barbe...@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-boun...@lists.opensips.org [mailto:
> users-boun...@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.barbe...@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@lists.opensips.org
> http://lists.opensips.org/cgi-bin/mailman/listinfo/users
>
>  
>
>
> ___
> Users mailing list
> Users@lists.opensips.org
> http://lists.opensips.org/cgi-bin/mailman/listinfo/users
>
> ** **
>
> ___
> Users mailing list
> Users@lists.opensips.org
> http://lists.opensips.org/cgi-bin/mailman/listinfo/users
>
>
___
Users mailing list
Users@lists.opensips.org
http://lists.opensips.org/cgi-bin/mailman/listinfo/users


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

2012-08-10 Thread Diego Barberio
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-boun...@lists.opensips.org
[mailto:users-boun...@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
 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-boun...@lists.opensips.org
[mailto:users-boun...@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
 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@lists.opensips.org
http://lists.opensips.org/cgi-bin/mailman/listinfo/users

 


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

 



okSent.pcap
Description: Binary data
___
Users mailing list
Users@lists.opensips.org
http://lists.opensips.org/cgi-bin/mailman/listinfo/users


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

2012-08-10 Thread Ali Pey
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.barbe...@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-boun...@lists.opensips.org [mailto:
> users-boun...@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.barbe...@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@lists.opensips.org
> http://lists.opensips.org/cgi-bin/mailman/listinfo/users
>
> ** **
>
> ___
> Users mailing list
> Users@lists.opensips.org
> http://lists.opensips.org/cgi-bin/mailman/listinfo/users
>
>
___
Users mailing list
Users@lists.opensips.org
http://lists.opensips.org/cgi-bin/mailman/listinfo/users


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

2012-08-10 Thread Diego Barberio
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-boun...@lists.opensips.org
[mailto:users-boun...@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
 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@lists.opensips.org
http://lists.opensips.org/cgi-bin/mailman/listinfo/users

 

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


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

2012-08-09 Thread Diego Barberio
Hi Aly,

 

Thanks for your quick response. I will try both suggestions and let you know
the result.

 

Thanks

Diego

 

From: users-boun...@lists.opensips.org
[mailto:users-boun...@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
 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@lists.opensips.org
http://lists.opensips.org/cgi-bin/mailman/listinfo/users

 

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


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

2012-08-09 Thread Ali Pey
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.barbe...@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@lists.opensips.org
> http://lists.opensips.org/cgi-bin/mailman/listinfo/users
>
>
___
Users mailing list
Users@lists.opensips.org
http://lists.opensips.org/cgi-bin/mailman/listinfo/users


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

2012-08-09 Thread Diego Barberio
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


okNotSent.pcap
Description: Binary data


opensips.cfg
Description: Binary data
___
Users mailing list
Users@lists.opensips.org
http://lists.opensips.org/cgi-bin/mailman/listinfo/users