[omniORB] Reduce timeout delay?
David Morgenlender
dmorgen@alum.mit.edu
Wed, 21 Oct 1998 15:12:47 GMT
Sai-Lai,
>> Using omniORB 2.5, if my CORBA client attempts to invoke the CORBA
>> server, when it is not available, there's a long delay before an
>> exception is returned. Is there anyway to reduce this delay?
>
>The delay is the default tcp connect timeout of your platform. I suppose
>you are talking about the case when the server is actually switched off.=
In
>this case the timeout could run into tens of seconds depending on how =
many
>retries your tcp stack has been configured to do.
>
>If you prefer, you can change the connect code (tcpSocketMTfactory.cc) =
in
>the ORB to do a timeout. e.g. This code fragment is in use in
>2.6.0. Solaris has a habit of blocking for minutes by default when the
>remote machine is switched off.
Yes, I was talking about that timeout case. Thanks for the patch.
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D
Dave Morgenlender
e-mail: dmorgen@alum.mit.edu
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D