<html>
<head>
<meta content="text/html; charset=UTF-8" http-equiv="Content-Type">
</head>
<body bgcolor="#FFFFFF" text="#000000">
<div class="moz-cite-prefix"><tt>Hi,<br>
<br>
That bug log actually says OpenSIPS tries to remove a connection
marked as READ from a list for WRITEs :).. <br>
<br>
I will look into that. What exact version do you use (opensips
-V) ? also, can you reproduce this bug ?<br>
<br>
Thanks and regards,<br>
</tt>
<pre class="moz-signature" cols="72">Bogdan-Andrei Iancu
OpenSIPS Founder and Developer
<a class="moz-txt-link-freetext" href="http://www.opensips-solutions.com">http://www.opensips-solutions.com</a></pre>
On 25.06.2014 20:27, Gary Nyquist wrote:<br>
</div>
<blockquote
cite="mid:trinity-6cb85612-ef7c-4183-b260-7e5c5fe2bd57-1403717265347@3capp-mailcom-lxa14"
type="cite">
<div style="font-family: Verdana;font-size: 12.0px;">
<div>
<div>Thanks Bogdan for the detailed reply.</div>
<div> </div>
<div>I implemented your advice. </div>
<div>Those error messages are now gone.</div>
<div> </div>
<div>But seeing a new error now; not sure if it is related to
that...</div>
<div> </div>
<div>ERROR:core:io_watch_del: BUG - trying to del fd 36 with
flags 2 1</div>
<div> </div>
<div>Any advice?</div>
<div> </div>
<div>BR</div>
<div>-Gary</div>
<div>
<div name="quote" style="margin:10px 5px 5px 10px; padding:
10px 0 10px 10px; border-left:2px solid #C3D9E5;
word-wrap: break-word; -webkit-nbsp-mode: space;
-webkit-line-break: after-white-space;">
<div style="margin:0 0 10px 0;"><b>Sent:</b> Wednesday,
June 25, 2014 at 5:54 AM<br>
<b>From:</b> "Bogdan-Andrei Iancu"
<a class="moz-txt-link-rfc2396E" href="mailto:bogdan@opensips.org"><bogdan@opensips.org></a><br>
<b>To:</b> "OpenSIPS users mailling list"
<a class="moz-txt-link-rfc2396E" href="mailto:users@lists.opensips.org"><users@lists.opensips.org></a>, <a class="moz-txt-link-abbreviated" href="mailto:gn62@gmx.us">gn62@gmx.us</a><br>
<b>Subject:</b> Re: [OpenSIPS-Users] TCP Errors</div>
<div name="quoted-content">
<div style="background-color: rgb(255,255,255);">
<div class="moz-cite-prefix"><tt>Hi,<br>
<br>
Those messages say that OpenSIPS tried to open a
TCP connection to a party which does not respond
-> there was a timeout for connect in 10
seconds. Because of this blocking in connects,
there were not more opensips workers available to
handle other traffic.<br>
<br>
So what you need to do is :<br>
- minimize the impact of the blocking connect
- see my previous email on reducing the connect
timeout<br>
- you may configure OpenSIPS not to open new
TCP connect (but to reuse the existing ones, open
by clients). See tcp_no_new_conn_bflag<br>
<a moz-do-not-send="true"
class="moz-txt-link-freetext"
href="http://www.opensips.org/Documentation/Script-CoreParameters-1-11#toc96"
target="_blank">http://www.opensips.org/Documentation/Script-CoreParameters-1-11#toc96</a><br>
- try to understand the SIP patterns where
such TCP connect fails so you can avoid them at
script level.<br>
<br>
Regards,</tt>
<pre class="moz-signature">Bogdan-Andrei Iancu
OpenSIPS Founder and Developer
<a moz-do-not-send="true" class="moz-txt-link-freetext" href="http://www.opensips-solutions.com" target="_blank">http://www.opensips-solutions.com</a></pre>
On 24.06.2014 21:34, Gary Nyquist wrote:</div>
<blockquote>
<div style="font-family: Verdana;font-size: 12.0px;">
<div style="font-family: Verdana;font-size:
12.0px;">
<p style="margin: 0.0px;padding: 0.0px;"><span
style="font-family: Verdana;"><span
style="font-size: 12.0px;"><font
face="monospace" size="3"><span>Hi,</span></font></span></span></p>
<p style="margin: 0.0px;padding: 0.0px;"> </p>
<p style="margin: 0.0px;padding: 0.0px;"><span
style="font-family: Verdana;"><span
style="font-size: 12.0px;"><font
face="monospace" size="3"><span>The
following lines are repeating in the
log.</span></font></span></span></p>
<p style="margin: 0.0px;padding: 0.0px;"> </p>
<p style="margin: 0.0px;padding: 0.0px;">ERROR:core:tcp_blocking_connect:
timeout 10 s elapsed from 10 s<br>
ERROR:core:tcpconn_connect:
tcp_blocking_connect failed<br>
ERROR:core:tcp_send: connect failed<br>
ERROR:tm:msg_send: tcp_send failed</p>
<p style="margin: 0.0px;padding: 0.0px;"> </p>
<p style="margin: 0.0px;padding: 0.0px;"><a
moz-do-not-send="true"
class="moz-txt-link-freetext">INFO:core:send2child</a>:
no free tcp receiver, connection passed to the
least busy one</p>
<p style="margin: 0.0px;padding: 0.0px;"> </p>
<p style="margin: 0.0px;padding: 0.0px;"><span
style="font-family: Verdana;"><span
style="font-size: 12.0px;"><font
face="monospace" size="3"><span>Any
guess, what could be the reason?</span></font></span></span></p>
<p style="margin: 0.0px;padding: 0.0px;"><span
style="font-family: Verdana;"><span
style="font-size: 12.0px;"><font
face="monospace" size="3"><span> </span></font></span></span></p>
<p style="margin: 0.0px;padding: 0.0px;"><span
style="font-family: Verdana;"><span
style="font-size: 12.0px;"><font
face="monospace" size="3"><span>Best</span></font></span></span></p>
<p style="margin: 0.0px;padding: 0.0px;"><span
style="font-family: Verdana;"><span
style="font-size: 12.0px;"><font
face="monospace" size="3"><span>--Gary</span></font></span></span></p>
<div><span style="font-family: Verdana;"><span
style="font-size: 12.0px;"> </span></span></div>
</div>
</div>
<fieldset class="mimeAttachmentHeader"> </fieldset>
<pre>_______________________________________________
Users mailing list
<a moz-do-not-send="true" class="moz-txt-link-abbreviated" href="Users@lists.opensips.org" target="_parent">Users@lists.opensips.org</a>
<a moz-do-not-send="true" class="moz-txt-link-freetext" href="http://lists.opensips.org/cgi-bin/mailman/listinfo/users" target="_blank">http://lists.opensips.org/cgi-bin/mailman/listinfo/users</a><font face="Verdana, sans-serif, Arial, Trebuchet MS" size="3"><span style="font-style: normal; line-height: 20.796875px; white-space: normal;">
</span></font></pre>
</blockquote>
</div>
</div>
</div>
</div>
</div>
</div>
</blockquote>
<br>
</body>
</html>