<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta content="text/html; charset=ISO-8859-1"
http-equiv="Content-Type">
</head>
<body bgcolor="#ffffff" text="#000000">
<tt>Hi Mariana,<br>
<br>
Because of the TCP conn reusage, between 2 SIP entities preserving
their IP and port, you will have only 1 TCP conn (per direction).
This will lead to a "tunneling" effect between 2 proxies - all
traffic will be pushed via a single connection.<br>
<br>
To avoid this, use multiple TCP interfaces (same ip but different
ports) between the 2 opensips - and when OS1 has to send to OS2 to
do dispatching over all interfaces of OS2 ; and vice versa. This
will create multiple connections between the 2 servers.<br>
<br>
I know it is not nice, but it solves the purpose - maybe in long
term we need some logical way to control the connection re-usage
(maybe depending on load/traffic - if too much, avoid reusing,
create a new conn).<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>
<br>
On 11/08/2012 01:52 PM, Mariana Arduini wrote:
<blockquote
cite="mid:CABHUZgDQXpoCWCTDrdthJZC0D8HMvGSGe4ffwObOporGErnhQQ@mail.gmail.com"
type="cite">Hello all,
<div><br>
</div>
<div>We are using 2 OpenSIPS servers and TCP between them:</div>
<div><br>
</div>
<div>tcp ---> OSIPS1 <--- tcp ---> OPSIPS2 <--- tcp</div>
<div><br>
</div>
<div>OSIPS2 has a bunch of children processes running, but we can
only see few of them actually being used. When we use SIPp
scripts instead of OPSIPS1 and set it to use 1 TCP connection
per call (parameter -t tn), then we can see more than just a few
OPSIPS2 children processes being used.</div>
<div><br>
</div>
<div>The problem is this is decreasing OSIPS2 performance, so we
need to have OSIPS1 using more than just 1 TCP connection. Is
this possible?</div>
<div><br>
</div>
<div>Thanks in advance for any help!</div>
<div>
Mariana.</div>
<pre wrap="">
<fieldset class="mimeAttachmentHeader"></fieldset>
_______________________________________________
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>
</body>
</html>