All Products
Search
Document Center

Enterprise Distributed Application Service:Error code: HSF-0017

Last Updated:Feb 27, 2026

Symptoms

The High-speed Service Framework (HSF) application fails to start and throws the following exception:

java.lang.RuntimeException: [ThreadPool Manager] Thread pool allocated failed for service [com.taobao.hsf.jar.test.HelloWorldService:1.0.zhouli]: balance [600] require [800]

Cause

The size of the allocated thread pool is insufficient. By default, the global thread pool of an HSF application can contain a maximum of 600 threads. When a service requests more threads than the pool can provide, the ThreadPool Manager raises this error and blocks startup.

Solution

You can set the JVM parameter -Dhsf.server.max.poolsize=xxx to change the default global maximum number of threads in the thread pool. For more information, see Set JVM -D startup parameters.