|
|
|
|||||
|
Connection Monitor
Hello,
I would like your help in understanding nature of certain condition that I am facing. Preface : I have created a couple of java services within IceBox and have assigned individual ThreadPools to them. eg Code:
### # # NBasuService1 # ### IceBox.Service.NBasuService1=com.nb.serviceImpl.NBasuService1 NBasuService1.Endpoints=tcp -p 10010 NBasuService1.ThreadPool.Size=3 NBasuService1.ThreadPool.SizeMax=5 IceBox.UseSharedCommunicator.NBasuService1=1 ### # # NBasuService2 # ### IceBox.Service.NBasuService2=com.nb.serviceimpl.NBasuService2 NBasuService2.Endpoints=tcp -p 10011 NBasuService2.ThreadPool.Size=3 NBasuService2.ThreadPool.SizeMax=5 IceBox.UseSharedCommunicator.NBasuService2=1 #IceBox.ServiceManager.ThreadPool.Size=50 #IceBox.ServiceManager.ThreadPool.SizeMax=35 #IceBox.ServiceManager.ThreadPool.SizeMax=20 ### # Ice properties ### Ice.MessageSizeMax=4096 #Ice.ThreadPool.Server.Size=10 #Ice.ThreadPool.Server.SizeMax=50 #Ice.ThreadPool.Server.SizeWarn=5 #Ice.ThreadPool.Client.Size=20 #Ice.ThreadPool.Client.SizeMax=30 #Ice.ThreadPool.Client.SizeWarn=5 Ice.Default.CollocationOptimization=1 Ice.Warn.Connections=0 Ice.Warn.Dispatch=0 Ice.Trace.Network=0 Ice.Trace.Protocol=0 Ice.ACM.Client=60 Ice.MonitorConnections=120 ## Ice.StdOut=icebox.out Ice.StdErr=icebox.err Ice.Nohup=1 Ice.Logger.Timestamp=1 Ice.Override.Timeout=-1 Ice.Override.ConnectTimeout=-1 Code:
Ice.Warn.Connections=1 Ice.Trace.Network=0 Ice.Trace.Protocol=0 Ice.ACM.Client=60 Ice.RetryIntervals=0 1000 5000 Ice.Override.Timeout=-1 Ice.Override.ConnectTimeout=30000 Ice.StdErr=ice.err When I connect to the IceBox service via jconsole I see multiple Ice.ConnectionMonitor and Ice.ThreadPool.Client threads. The client calls I make are not too many. Also, after making the service calls I close the communicator. The threads do not seem to ever die but are increasing every so often. I have disabled the generic threadpool then why are the threads appearing. Also, I see multiple connection monitor threads. Shouldn't there be only one connection monitor thread? And, shouldn't the idle threads die? I am using Ice3.1 I would appreciate your input in this matter. |
|
|||||
|
Thanks for getting back to me and apologize for the delay in responding.
I moved to Ice3.2 and will attempt to replicate the issue I faced earlier. At the second glance I do however see an issue in my code. Thanks for your help. |
![]() |
| Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
| Thread Tools | |
| Display Modes | Rate This Thread |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| IceUtil Monitor problem | timberwolf | Help Center | 4 | 04-18-2006 12:13 AM |
| typedef for Monitor? | acbell | Comments | 1 | 10-12-2005 03:30 PM |
| what can Monitor::wait() throw? | andhow | Help Center | 4 | 02-21-2005 09:26 AM |
| Queue example and IceUtil::Monitor | RyanFogarty | Help Center | 6 | 12-08-2004 02:51 PM |
| using Monitor segfaults | timruijs | Help Center | 2 | 07-19-2004 11:37 AM |