How ice runtime consumes threads from thread pool in case difficulties? How many threads from what pool (client/server) it spends on every two-way synchronous connection made from client to server if Ice::ConnectTimeoutException occurs?
Digging through the documentation and forum didn't help me answer these questions. The story: there is a service (master) that makes two-way synchronous connections to other services (slaves) and in case slaves are get blocked master starts consuming threads from server pool.
for example configuration of pool is following
Ice.ThreadPool.Server.Size=2
Ice.ThreadPool.Server.SizeMax=10
Ice.ThreadPool.Server.SizeWarn=5
In case following exception occurs when processing 5 slaves all 10 threads are used, is it possible?
ConnectionI.cpp:148: Ice::ConnectTimeoutException: timeout while establishing a connection

Reply With Quote