<html><head></head><body><div>Hi Serguei,</div><div><br></div><div>It's not a known issue, although the combination of bidirectional with thread pool mode is somewhat unusual. Bidirectional GIOP requires extra threads to manage the interactions on the bidirectional connections, so something is probably interacting badly.</div><div><br></div><div>Please can you get traces from the server with these tracing options:</div><div><br></div><div>  traceLevel 25</div><div>  traceInvocations 1</div><div>  traceInvocationReturns 1</div><div>  traceThreadId 1</div><div>  traceTime 1</div><div><br></div><div>That will give a lot of output, but it should make it possible to see what is going on.</div><div><br></div><div>Duncan.</div><div><br></div><div><br></div><div>On Fri, 2022-01-28 at 16:05 +0100, kolos via omniORB-list wrote:</div><blockquote type="cite" style="margin:0 0 0 .8ex; border-left:2px #729fcf solid;padding-left:1ex"><div>Hi guys,<br></div><div><br></div><div>Can anyone help me out please with the following problem. <br></div><div><br></div><div>We are using omniORB 4.2.5 on CentOS 7 Linux and we have recently tried to use bidir GIOP for some of our<br></div><div>services. Everything works fine for the servers that use thread-per-connection mode, but the applications which are<br></div><div>using thread-pool mode get stuck when the number of external connections reaches the number of threads in the <br></div><div>pool. There is a clear correlations between these numbers, which we verified by varying the number of threads in the <br></div><div>pool. The symptom is that when the number of external connections reaches the number of threads in the pool the <br></div><div>server starts accumulating connections in the CLOSE_WAIT state and an attempt to communicate with it resulted <br></div><div>in a timeout. After a while (a few tens of seconds) all connections in the CLOSE_WAIT state disappeared and the <br></div><div>server becomes responsive again. <br></div><div><br></div><div>Is this a known behaviour or otherwise where should I look at to investigate and possibly fix this problem?<br></div><div><br></div><div>Cheers,<br></div><div>Serguei<br></div><div>_______________________________________________<br></div><div>omniORB-list mailing list<br></div><div><a href="mailto:omniORB-list@omniorb-support.com">omniORB-list@omniorb-support.com</a><br></div><div><a href="https://www.omniorb-support.com/mailman/listinfo/omniorb-list">https://www.omniorb-support.com/mailman/listinfo/omniorb-list</a><br></div></blockquote><div><br></div><div><span><pre>-- <br></pre><pre> -- Duncan Grisby --
  -- duncan@grisby.org --
   -- http://www.grisby.org --

</pre></span></div></body></html>