[omniORB] Per thread for per connection?
Duncan Grisby
dgrisby@uk.research.att.com
Wed, 02 May 2001 17:19:12 +0100
On Wednesday 2 May, "GAO,YAN (HP-Singapore,ex3)" wrote:
> 1) Is this true that omni Corba use dedicated thread to each
> connection. ( Previously I think when method is called, the thread will be
> created to do it, After the end of method call, the thread will close)
Yes. See chapter 8 of the omniORB manual. Note that unused connections
(and their associated threads) are closed after a while, so you only
see lots of threads if there are lots of active clients.
> 2) Do you have thread pool support for example?
Not at present.
> 3) Any work around to resolve this issue?
You can quite probably increase the number of threads your OS will
permit the server process to have.
Cheers,
Duncan.
--
-- Duncan Grisby \ Research Engineer --
-- AT&T Laboratories Cambridge --
-- http://www.uk.research.att.com/~dpg1 --