<html><head></head><body><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" <bogdan@opensips.org><br/>
<b>To:</b> "OpenSIPS users mailling list" <users@lists.opensips.org>, gn62@gmx.us<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 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 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 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 class="moz-txt-link-abbreviated" href="Users@lists.opensips.org" target="_parent">Users@lists.opensips.org</a>
<a 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></body></html>