<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
</head>
<body text="#000000" bgcolor="#FFFFFF">
<p>Hello,</p>
<p>you can see tcp write queued bytes with:</p>
<p>kamctl rpc core.tcp_info</p>
<p>If you have an older version, do kamcmd core.tcp_info</p>
<p>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:</p>
<p>netstat -altp</p>
<p>Cheers,<br>
Daniel<br>
</p>
<br>
<div class="moz-cite-prefix">On 22.04.18 18:47, Andrew Chen wrote:<br>
</div>
<blockquote type="cite"
cite="mid:CAEytwJ0zmkiXHa3r+N7Xjdg0+V0zfBEeET3B-qBVDWOPL-mfCA@mail.gmail.com">
<div dir="ltr">Hello,
<div><br>
</div>
<div>Can anyone provide any suggestions on how to log buffer
usage?</div>
</div>
<div class="gmail_extra"><br>
<div class="gmail_quote">On Tue, Apr 17, 2018 at 7:46 PM, Andrew
Chen <span dir="ltr"><<a href="mailto:achen@fuze.com"
target="_blank" moz-do-not-send="true">achen@fuze.com</a>></span>
wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0
.8ex;border-left:1px #ccc solid;padding-left:1ex">
<div dir="ltr">Thanks Alex for your response. I honestly
forgot about these parameters and will play with them a
bit.
<div><br>
</div>
<div>Is there anyway to log how much is written or stored
in the buffer?</div>
</div>
<div class="gmail_extra">
<div>
<div class="h5"><br>
<div class="gmail_quote">On Tue, Apr 17, 2018 at 7:35
PM, Alex Balashov <span dir="ltr"><<a
href="mailto:abalashov@evaristesys.com"
target="_blank" moz-do-not-send="true">abalashov@evaristesys.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>
Could it be that your send queue or other
parameters regulating outgoing<br>
flows are too low?<br>
<br>
Stuff like this:<br>
<br>
<a
href="https://www.kamailio.org/wiki/cookbooks/5.1.x/core#tcp_conn_wq_max"
rel="noreferrer" target="_blank"
moz-do-not-send="true">https://www.kamailio.org/wiki/<wbr>cookbooks/5.1.x/core#tcp_conn_<wbr>wq_max</a><br>
<a
href="https://www.kamailio.org/wiki/cookbooks/5.1.x/core#tcp_wq_max"
rel="noreferrer" target="_blank"
moz-do-not-send="true">https://www.kamailio.org/wiki/<wbr>cookbooks/5.1.x/core#tcp_wq_ma<wbr>x</a><br>
<br>
-- Alex<br>
<span><br>
On Tue, Apr 17, 2018 at 05:00:28PM -0700, Andrew
Chen wrote:<br>
<br>
> Hi Kamailio community,<br>
> <br>
> I need your urgent help regarding a
situation where the Kamailio TCP packet<br>
> delayed in relaying SIP packets. They
delay between the time Kamailio logs<br>
> the relay to the time it left the system
was ~20 seconds difference, which<br>
> is huge in SIP world.<br>
> <br>
> Any ideas, thoughts or suggestions on how I
can narrow down to the<br>
> problem? We have about 30 cases of this
today<br>
> <br>
> Thanks in advance.<br>
> <br>
> -- <br>
> Andy Chen<br>
> Sr. Telephony Lead Engineer<br>
</span>> achen@ <<a
href="mailto:achen@thinkingphones.com"
target="_blank" moz-do-not-send="true">achen@thinkingphones.com</a>><a
href="http://fuze.com" rel="noreferrer"
target="_blank" moz-do-not-send="true">fuze<wbr>.com</a><br>
> <br>
> -- <br>
> *Confidentiality Notice: The information
contained in this e-mail and any<br>
> <br>
> attachments may be confidential. If you are
not an intended recipient, you<br>
> <br>
> are hereby notified that any dissemination,
distribution or copying of this<br>
> <br>
> e-mail is strictly prohibited. If you have
received this e-mail in error,<br>
> <br>
> please notify the sender and permanently
delete the e-mail and any<br>
> <br>
> attachments immediately. You should not
retain, copy or use this e-mail or<br>
> <br>
> any attachment for any purpose, nor disclose
all or any part of the<br>
> <br>
> contents to any other person. Thank you.*<br>
<br>
> ______________________________<wbr>_________________<br>
> Kamailio (SER) - Users Mailing List<br>
> <a href="mailto:sr-users@lists.kamailio.org"
target="_blank" moz-do-not-send="true">sr-users@lists.kamailio.org</a><br>
> <a
href="https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users"
rel="noreferrer" target="_blank"
moz-do-not-send="true">https://lists.kamailio.org/cgi<wbr>-bin/mailman/listinfo/sr-users</a><br>
<span class="m_-3561836623982961662HOEnZb"><font
color="#888888"><br>
<br>
-- <br>
Alex Balashov | Principal | Evariste Systems
LLC<br>
<br>
Tel: +1-706-510-6800 / +1-800-250-5920
(toll-free) <br>
Web: <a href="http://www.evaristesys.com/"
rel="noreferrer" target="_blank"
moz-do-not-send="true">http://www.evaristesys.com/</a>,
<a href="http://www.csrpswitch.com/"
rel="noreferrer" target="_blank"
moz-do-not-send="true">http://www.csrpswitch.com/</a><br>
<br>
______________________________<wbr>_________________<br>
Kamailio (SER) - Users Mailing List<br>
<a href="mailto:sr-users@lists.kamailio.org"
target="_blank" moz-do-not-send="true">sr-users@lists.kamailio.org</a><br>
<a
href="https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users"
rel="noreferrer" target="_blank"
moz-do-not-send="true">https://lists.kamailio.org/cgi<wbr>-bin/mailman/listinfo/sr-users</a><br>
</font></span></blockquote>
</div>
<br>
<br clear="all">
<div><br>
</div>
-- <br>
</div>
</div>
<div class="m_-3561836623982961662gmail_signature"
data-smartmail="gmail_signature">
<div dir="ltr">
<div>
<div dir="ltr">
<div dir="ltr" style="font-size:12.8px">Andy Chen</div>
<div dir="ltr" style="font-size:12.8px">
<div>Sr. Telephony Lead Engineer</div>
<div>415 516 5535 (M)</div>
<div><a href="mailto:achen@thinkingphones.com"
target="_blank" moz-do-not-send="true">achen@</a><a
href="http://fuze.com" target="_blank"
moz-do-not-send="true">fuze.com</a></div>
<div><br>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</blockquote>
</div>
<br>
<br clear="all">
<div><br>
</div>
-- <br>
<div class="gmail_signature" data-smartmail="gmail_signature">
<div dir="ltr">
<div>
<div dir="ltr">
<div dir="ltr" style="font-size:12.8px">Andy Chen</div>
<div dir="ltr" style="font-size:12.8px">
<div>Sr. Telephony Lead Engineer</div>
<div>415 516 5535 (M)</div>
<div><a href="mailto:achen@thinkingphones.com"
target="_blank" moz-do-not-send="true">achen@</a><a
href="http://fuze.com" target="_blank"
moz-do-not-send="true">fuze.com</a></div>
<div><br>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
<br>
<span
style="color:rgb(51,51,51);font-family:Arial,sans-serif;font-size:14px;background-color:rgb(255,255,255)">*Confidentiality
Notice: The information contained in this e-mail and any</span><br
style="color:rgb(51,51,51);font-family:Arial,sans-serif;font-size:14px;background-color:rgb(255,255,255)">
<span
style="color:rgb(51,51,51);font-family:Arial,sans-serif;font-size:14px;background-color:rgb(255,255,255)">attachments
may be confidential. If you are not an intended recipient, you</span><br
style="color:rgb(51,51,51);font-family:Arial,sans-serif;font-size:14px;background-color:rgb(255,255,255)">
<span
style="color:rgb(51,51,51);font-family:Arial,sans-serif;font-size:14px;background-color:rgb(255,255,255)">are
hereby notified that any dissemination, distribution or copying
of this</span><br
style="color:rgb(51,51,51);font-family:Arial,sans-serif;font-size:14px;background-color:rgb(255,255,255)">
<span
style="color:rgb(51,51,51);font-family:Arial,sans-serif;font-size:14px;background-color:rgb(255,255,255)">e-mail
is strictly prohibited. If you have received this e-mail in
error,</span><br
style="color:rgb(51,51,51);font-family:Arial,sans-serif;font-size:14px;background-color:rgb(255,255,255)">
<span
style="color:rgb(51,51,51);font-family:Arial,sans-serif;font-size:14px;background-color:rgb(255,255,255)">please
notify the sender and permanently delete the e-mail and any</span><br
style="color:rgb(51,51,51);font-family:Arial,sans-serif;font-size:14px;background-color:rgb(255,255,255)">
<span
style="color:rgb(51,51,51);font-family:Arial,sans-serif;font-size:14px;background-color:rgb(255,255,255)">attachments
immediately. You should not retain, copy or use this e-mail or</span><br
style="color:rgb(51,51,51);font-family:Arial,sans-serif;font-size:14px;background-color:rgb(255,255,255)">
<span
style="color:rgb(51,51,51);font-family:Arial,sans-serif;font-size:14px;background-color:rgb(255,255,255)">any
attachment for any purpose, nor disclose all or any part of the</span><br
style="color:rgb(51,51,51);font-family:Arial,sans-serif;font-size:14px;background-color:rgb(255,255,255)">
<span
style="color:rgb(51,51,51);font-family:Arial,sans-serif;font-size:14px;background-color:rgb(255,255,255)">contents
to any other person. Thank you.*</span>
<br>
<fieldset class="mimeAttachmentHeader"></fieldset>
<br>
<pre wrap="">_______________________________________________
Kamailio (SER) - Users Mailing List
<a class="moz-txt-link-abbreviated" href="mailto:sr-users@lists.kamailio.org">sr-users@lists.kamailio.org</a>
<a class="moz-txt-link-freetext" href="https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users">https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users</a>
</pre>
</blockquote>
<br>
<pre class="moz-signature" cols="72">--
Daniel-Constantin Mierla
<a class="moz-txt-link-abbreviated" href="http://www.twitter.com/miconda">www.twitter.com/miconda</a> -- <a class="moz-txt-link-abbreviated" href="http://www.linkedin.com/in/miconda">www.linkedin.com/in/miconda</a>
Kamailio World Conference - May 14-16, 2018 - <a class="moz-txt-link-abbreviated" href="http://www.kamailioworld.com">www.kamailioworld.com</a></pre>
</body>
</html>