Introduction / FirstSpirit Server configuration / Configuration files (FirstSpirit Server) / FirstSpirit Server (fs-server.conf) / Thread Pool

Area: Thread Pool

###########################
# Thread Pool.
###########################
# minimum number of concurrent threads, if left empty the value is
# set to #cores (= number of cores as delivered by
#"java.lang.Runtime.availableProcessors()")
ThreadPool.minSize=
# maximum number of concurrent threads, if left empty the value is
# set to (#cores * 8)
ThreadPool.maxSize=

FirstSpirit Server is scaled automatically to the number of available cores after installation or after a change in hardware. The number of available processors is determined using

Java.lang.Runtime.getRuntime().availableProcessors()

ThreadPool.minSize

Defines the minimum size of the limited thread pool (see figure on page ExecutionManager).

ThreadPool.maxSize

Defines the maximum size of the limited thread pool and thus the maximum number of tasks that can be run concurrently (see figure on page ExecutionManager). The more processors a server has, the higher the value that can be configured for ThreadPool.maxSize.
The value of the threads actually executed may be higher, since this limitation does not apply to high priority tasks (unlimited thread pool).

If no explicit values are specified for the parameters

  • ThreadPool.minSize
  • ThreadPool.maxSize

values that are dependent on the number of available processors are used automatically.

© 2005 - 2024 Crownpeak Technology GmbH | All rights reserved. | FirstSpirit 2024.10 | Data privacy