How to get Ice.ThreadPool.Server

sinofoolsinofool Member Bochun BaiOrganization: sinofool.comProject: ✭✭
I recently found some WARN level logs about Ice.ThreadPool.Server in both IceBox and IceRegistry.
thread pool `Ice.ThreadPool.Server' is running low on threads

I found the log statement in src/Ice/ThreadPool.cpp, but there are no interface return _inUse variable.

How do I get the current ThreadPool running thread size?


  • benoitbenoit Rennes, FranceAdministrators, ZeroC Staff Benoit FoucherOrganization: ZeroC, Inc.Project: Ice ZeroC Staff

    You can't get this information programatically. You can however tune when the warnings show up with the Ice.ThreadPool.Server.SizeWarn property or increase the size of the thread pool if necessary with Ice.ThreadPool.Server.SizeMax.

  • sinofoolsinofool Member Bochun BaiOrganization: sinofool.comProject: ✭✭
    well, Thanks!

    This threadpool problem is not critical. Getting these runtime information and handling the events will help monitoring the whole system.

    Have a nice day!
Sign In or Register to comment.