<html>
<head>
<meta content="text/html; charset=ISO-8859-1"
http-equiv="Content-Type">
</head>
<body bgcolor="#FFFFFF" text="#000000">
<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">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,<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 24.06.2014 21:34, Gary Nyquist wrote:<br>
</div>
<blockquote
cite="mid:trinity-db4bed69-2d76-4d91-8d7a-01f09da96999-1403634873444@3capp-mailcom-lxa10"
type="cite">
<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" href="INFO:core:send2child">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>
<br>
<fieldset class="mimeAttachmentHeader"></fieldset>
<br>
<pre wrap="">_______________________________________________
Users mailing list
<a class="moz-txt-link-abbreviated" href="mailto:Users@lists.opensips.org">Users@lists.opensips.org</a>
<a class="moz-txt-link-freetext" href="http://lists.opensips.org/cgi-bin/mailman/listinfo/users">http://lists.opensips.org/cgi-bin/mailman/listinfo/users</a>
</pre>
</blockquote>
<br>
</body>
</html>