ZeroC

Archived

This forum has been archived. Please start a new discussion on GitHub.

How to get Ice.ThreadPool.Server

sinofool
sinofool
Hi,
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?

Comments

  • benoit
    benoit Rennes, France
    Hi,

    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.

    Cheers,
    Benoit.
  • sinofool
    sinofool
    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!