It's an existing connection.  Our clients/servers sends many UPDATE/OPTION to update the state of the meeting on both ends and sometimes these messages don't get a response and affects user experience.

On Tue, Apr 24, 2018 at 10:51 AM, Daniel-Constantin Mierla <miconda@gmail.com> wrote:

Another aspect -- are the connections to be used for transmission already open? If it is a new connection, it can be also the fact that the other side is not accepting the new one very fast.

Cheers,
Daniel


On 24.04.18 19:46, Andrew Chen wrote:
Thanks Daniel.

On Tue, Apr 24, 2018 at 10:45 AM, Daniel-Constantin Mierla <miconda@gmail.com> wrote:

Hello,

you can see tcp write queued bytes with:

kamctl rpc core.tcp_info

If you have an older version, do kamcmd core.tcp_info

It may be also the OS queues that are busy, if the other side is not not reading fast, look at netstat output for Send-Queue in:

netstat -altp

Cheers,
Daniel


On 22.04.18 18:47, Andrew Chen wrote:
Hello,

Can anyone provide any suggestions on how to log buffer usage?

On Tue, Apr 17, 2018 at 7:46 PM, Andrew Chen <achen@fuze.com> wrote:
Thanks Alex for your response.  I honestly forgot about these parameters and will play with them a bit.

Is there anyway to log how much is written or stored in the buffer?

On Tue, Apr 17, 2018 at 7:35 PM, Alex Balashov <abalashov@evaristesys.com> wrote:
Hello,

Could it be that your send queue or other parameters regulating outgoing
flows are too low?

Stuff like this:

https://www.kamailio.org/wiki/cookbooks/5.1.x/core#tcp_conn_wq_max
https://www.kamailio.org/wiki/cookbooks/5.1.x/core#tcp_wq_max

-- Alex

On Tue, Apr 17, 2018 at 05:00:28PM -0700, Andrew Chen wrote:

> Hi Kamailio community,
>
> I need your urgent help regarding a situation where the Kamailio TCP packet
> delayed in relaying SIP packets.  They delay between the time Kamailio logs
> the relay to the time it left the system was ~20 seconds difference, which
> is huge in SIP world.
>
> Any ideas, thoughts or suggestions on how I can narrow down to the
> problem?  We have about 30 cases of this today
>
> Thanks in advance.
>
> --
> Andy Chen
> Sr. Telephony Lead Engineer
> achen@ <achen@thinkingphones.com>fuze.com
>
> --
> *Confidentiality Notice: The information contained in this e-mail and any
>
> attachments may be confidential. If you are not an intended recipient, you
>
> are hereby notified that any dissemination, distribution or copying of this
>
> e-mail is strictly prohibited. If you have received this e-mail in error,
>
> please notify the sender and permanently delete the e-mail and any
>
> attachments immediately. You should not retain, copy or use this e-mail or
>
> any attachment for any purpose, nor disclose all or any part of the
>
> contents to any other person. Thank you.*

> _______________________________________________
> Kamailio (SER) - Users Mailing List
> sr-users@lists.kamailio.org
> https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users


--
Alex Balashov | Principal | Evariste Systems LLC

Tel: +1-706-510-6800 / +1-800-250-5920 (toll-free)
Web: http://www.evaristesys.com/, http://www.csrpswitch.com/

_______________________________________________
Kamailio (SER) - Users Mailing List
sr-users@lists.kamailio.org
https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users



--
Andy Chen
Sr. Telephony Lead Engineer
415 516 5535 (M)




--
Andy Chen
Sr. Telephony Lead Engineer
415 516 5535 (M)


*Confidentiality Notice: The information contained in this e-mail and any
attachments may be confidential. If you are not an intended recipient, you
are hereby notified that any dissemination, distribution or copying of this
e-mail is strictly prohibited. If you have received this e-mail in error,
please notify the sender and permanently delete the e-mail and any
attachments immediately. You should not retain, copy or use this e-mail or
any attachment for any purpose, nor disclose all or any part of the
contents to any other person. Thank you.*

_______________________________________________
Kamailio (SER) - Users Mailing List
sr-users@lists.kamailio.org
https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users

-- 
Daniel-Constantin Mierla
www.twitter.com/miconda -- www.linkedin.com/in/miconda
Kamailio World Conference - May 14-16, 2018 - www.kamailioworld.com



--
Andy Chen
Sr. Telephony Lead Engineer
415 516 5535 (M)


*Confidentiality Notice: The information contained in this e-mail and any
attachments may be confidential. If you are not an intended recipient, you
are hereby notified that any dissemination, distribution or copying of this
e-mail is strictly prohibited. If you have received this e-mail in error,
please notify the sender and permanently delete the e-mail and any
attachments immediately. You should not retain, copy or use this e-mail or
any attachment for any purpose, nor disclose all or any part of the
contents to any other person. Thank you.*

-- 
Daniel-Constantin Mierla
www.twitter.com/miconda -- www.linkedin.com/in/miconda
Kamailio World Conference - May 14-16, 2018 - www.kamailioworld.com



--
Andy Chen
Sr. Telephony Lead Engineer
415 516 5535 (M)


*Confidentiality Notice: The information contained in this e-mail and any
attachments may be confidential. If you are not an intended recipient, you
are hereby notified that any dissemination, distribution or copying of this
e-mail is strictly prohibited. If you have received this e-mail in error,
please notify the sender and permanently delete the e-mail and any
attachments immediately. You should not retain, copy or use this e-mail or
any attachment for any purpose, nor disclose all or any part of the
contents to any other person. Thank you.*