[omniORB] [omniORB 4.1.0] -ORBoneCallPerConnection 0 does not
work?
Duncan Grisby
duncan at grisby.org
Tue Feb 10 17:35:59 GMT 2009
On Thursday 5 February, Michael Kilburn wrote:
> I have a CORBA server that talks to NamingService (in a function that is
> invoked by client). I have noticed that for each simultaneously executed
> client my server opens TCP connection to name_server. It turned to be a
> headache, because (as it was discovered after few days of investigations) our
> very old nameserv (ORBacus) locks up when number of connections reaches 512
> (some synchronization issue, I guess). I.e. short burst of activity on my
> server was killing nameserv.
>
> I have tried to use -ORBoneCallPerConnection 0 option to ensure that server
> multiplexes requests to nameserv on the same connection. But tests showed that
> it does not work -- each new call to my server that reslts in request to
> namingservice is creating new TCP connection. I have also compiled omniNames
> -- result is the same.
>
> What I am doing wrong? Should I set any other option(s)?
You need to also set -ORBmaxGIOPConnectionPerServer to 1, otherwise
omniORB will prefer to open multiple connections to a server rather than
multiplexing calls.
Cheers,
Duncan.
--
-- Duncan Grisby --
-- duncan at grisby.org --
-- http://www.grisby.org --
More information about the omniORB-list
mailing list