Re: Client connection threads are never released
shectman1 <[email protected]> Mon, 11 Feb 2013 15:47:34 -0800
| Newsgroups | gmane.comp.corba.jacorb.devel |
|---|---|
| Message-ID | <[email protected]> |
On 02/11/2013 03:38 PM, Stout, Eric A. wrote: > We have a mixed-platform, mixed-language, mixed-ORB system of about 1500 processes. A few Java JacORB processes are clients to all, or virtually all, of the processes in the system. I have set jacorb.connection.client.max_receptor_threads=2500, so the system starts up fine, and runs for a few days. But processes are occasionally stopped and restarted, causing the all-process clients to make new connections and consume more threads. Eventually, I end up with an error like: > > I don't know if it will help, but... we run jacorb clients against TAO corba servers. We also have a problem with the client side having problems when the server goes away. I have a jacorb client side interceptor, that when a connection fails, interprets the ior, and 1) Find the poa for this object (TAO specific kludge) 2) tell the (TAO) imr to activate the poa (start the server) 3) get the port number of the poa from the imr 4) replace the port number in the ior 5) throw a ForwardRequest with the new ior Its not the nicest code in the world, but it works. It should cause you to theoretically not lose threads, since reconnections are automatic. I have no idea how your constantly changing implname would complicate things, but I can't imagine it gonna make your life easy. -- Robert M. Shectman National Atmospheric Release Advisory Center (NARAC) Lawrence Livermore National Laboratory [email protected] (925)423-6714 _______________________________________________ jacorb-developer maillist - [email protected] https://lists.spline.inf.fu-berlin.de/mailman/listinfo/jacorb-developer