[omniORB] ORB::shutdown and connection timeout
Sandro Tolaini
tolaini@libero.it
Mon, 16 Jul 2001 10:12:21 +0200
While debugging an application, I noticed that, after an ORB::shutdown,
the ORB waits for the open connections to be closed after a timeout. I
think that the correct behaviour should be to close immediately idle
connections.
You can repeat this 'bug' by doing the following:
* Start a servant.
* Start a client that calls a method on the servant and then waits
indefinitely before exit.
* Call ORB::shutdown on the servant (like in the call_back example).
You will see that the servant waits about 2 minutes before exit. If you kill
the client while the server is shutting down, the server will close
immediately.
This behaviour is very annoying in large distributed systems, because you
can't do a quick global shutdown...
Cheers,
Sandro.