[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[ecf-dev] ECF remote services leaking threads
- From: Bryan Hunt <bhunt@xxxxxxx>
- Date: Fri, 15 Oct 2010 09:53:52 -0500
- Delivered-to: email@example.com
I think ECF is leaking threads under certain conditions when it discovers a remote service. It appears that when a service is discovered, ECF creates an IRemoteServiceContainerAdapter:run thread, a RSRegistry Dispatcher thread, and three tcp threads: ping, rcv, and sndr. As you have seen, I'm seeing problems with zookeeper undiscovering / discovering services when there appear to be network / process delays. It is during this time that ECF creates and additional IRemoteServiceContainerAdapter:run thread, a RSRegistry Dispatcher thread, and three tcp threads. Since the zookeeper discovery continues to have issues, these threads keep being created. Here is a listing of the live threads on the client when I had two remote services running in separate JVMs. Notice the extra set of threads for the service running on port 30000.