Threads never released
I am having an issue where threads never get released.
my domain.xml in my sun one 8.0 server has the following:
<thread-pools>
<thread-pool idle-thread-timeout-in-seconds="120" max-thread-pool-size="200" min-thread-pool-size="0" num-work-queues="1" thread-pool-id="thread-pool-1"/>
</thread-pools>
An iiop call is being made from a weblogic app server calling an EJB. Results are returned and all seems to work well however the thread used to execute this is never released. After 200 calls are made the sunone server then hangs. I can see through netstat that there are 200 connections ESTABLISHED. At first I was thinking this must be a client coding issue where connections are not being closed however even if I shutdown the weblogic server and see all the connections go away in netstat the sunone app server continues to hold these threads.
I also monitor the thread count with the following command in asadmin:
get -m "server.thread-pools.orb\.threadpool\.thread-pool-1.numberofbusythreads-count"
From this I can see the count continue to climb.
Even if there is a coding issue here with managing the connections properly I would think closing the client app server down causing all the connections to go away should be something that would cause these threads to free up.
If someone could please point me to possible tuning parms that I should look over I would be very grateful.
- Mike

